Scan v1
Scan a token
Changed onReplaces /v0/token/scan. chain moves into the body.
post/v1/token/scan
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
}
}
]
}
]
},
"properties": {
"metadata": {
"entity_type": "token"
}
}
}Changes
- 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 - warning
removed the request property
- info
added the optional property
to the response with the status
- breaking
- 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
- warning