Gets a transaction and returns a full security assessment indicating whether or not the transaction is malicious, along with textual reasons explaining why it was flagged as such.
cURL
Bitcoin Malicious Transaction
curl --request POST \ --url https://api.blockaid.io/v0/transaction/scan \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{ "options": [ "validation" ], "data": { "chain": "bitcoin", "asset": { "symbol": "BTC" }, "to": "bc1qanrfutwqh854g74lqrygr55jkgf99em4lpfm80", "amount": 1 }, "metadata": { "account": { "account_id": "1" }, "connection": { "user_agent": "1", "ip_address": "1.1.1.1" } }}'
{ "risk_level": "low", "description": "<string>", "reason": "<string>", "labels": [] }
List of options to apply during the transaction scan
Show child attributes
Transaction data
Additional metadata about the request including account and connection information
Successful Response
An enumeration.
low
medium
high
severe
Was this page helpful?