Scan a transaction
Changed onReplaces the per-chain /v0/{chain}/transaction/scan routes.
A transaction is an event, not an entity. proximity on a returned category describes the cited participant — carried in signals[].evidence — not the transaction itself.
Request and response payloads are discriminated on format. v1 supports the two exchange formats; further formats are added as new members of the union.
Request
- Base URLhttps://api.blockaid.io
- Auth
- API key in header X-API-Key
- or API key in header X-CLIENT-ID
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"chain": "ethereum"
}Response
Scan completed
Example response
{
"metadata": {
"details": {
"chain": "ethereum"
}
},
"risk": {
"profile": {
"id": "eup"
},
"negative_categories": [
{
"category": "rugpull",
"signals": [
{
"id": "dynamic_analysis.unsellable",
"evidence": {
"operator_address": "0xaabbff",
"prior_incidents": 7
}
}
]
}
],
"positive_categories": [
{
"category": "verified_entity",
"signals": [
{
"id": "dynamic_analysis.unsellable",
"evidence": {
"operator_address": "0xaabbff",
"prior_incidents": 7
}
}
]
}
]
}
}Changes
- breaking
added the new required request property
/ - breaking
added the new required request property
/ - breaking
removed the required property
///from the response with the status - breaking
removed the required property
///from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
from the response with the status - warning
removed the request property
/ - warning
removed the request property
/ - info
added the required property
///to the response with the status - info
added the required property
///to the response with the status
- breaking
- breaking
added the new required request property
/ - breaking
added the new required request property
/ - breaking
added the new required request property
/ - breaking
added the new required request property
/ - breaking
removed the required property
///from the response with the status - breaking
removed the required property
///from the response with the status - breaking
removed the required property
///from the response with the status - breaking
removed the required property
///from the response with the status - warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
added the new
approveenum value to the//response property for the response status - info
removed the
allowenum value from the//response property for the response status - info
added the required property
///to the response with the status - info
added the required property
///to the response with the status - info
added the required property
///to the response with the status - info
added the required property
///to the response with the status
- breaking