Skip to main content
POST
Confirm blocklist prefix matches

Overview

Given a list of 4-byte (8-hex-character) hash prefixes and the algorithm version, returns the full SHA-256 hashes of blocked expressions whose prefixes match, grouped by prefix. The browser extension uses this endpoint to resolve true positives after a local prefix hit.
Get the current algoVersion and the prefix artifacts from Get Blocklist Version before calling this endpoint.

Authorizations

X-API-KEY
string
header
required

Your API key. This is required by most endpoints to access our API programatically. Reach out to us at support@chainpatrol.io to get an API key for your use.

Body

application/json

Blocklist confirm request

algoVersion
integer
required
Required range: x > 0
prefixes
string[]
required
Required array length: 1 - 200 elements
Pattern: ^[0-9a-f]{8}$

Response

Successful response

Blocklist confirm response

fullHashes
object
required