post https://api.0xscope.com/v2/kye/riskInteractive
Simulate the execution results of a transaction and reveal associated risks
Sample Request
curl --request POST \
--url https://api.0xscope.com/v2/kye/riskInteractive \
--header 'API-KEY: your api key' \
--header 'accept: */*' \
--header 'content-type: application/json' \
--data '
{
"chain": "ethereum",
"blockNumber": 18724453,
"transaction": {
"from": "0x8447e981341dd44F7a6CAF26e6452d3fb12d8592",
"to": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"data": "0x2e1a7d4d00000000000000000000000000000000000000000000000000793c81b6f5d000",
"value": "0",
"gasLimit": 36015
}
}
'
Sample Response
{
"code": 0,
"data": {
"simulationId": "ce87685c-5e62-49f2-bda8-7c55bc6ae1ef",
"success": true,
"gasUsed": 30404,
"blockNumber": 18724453,
"is_honeypot": false,
"kye_score": 1,
"activity": [
{
"action": "TRANSFER",
"token_address": "0x0000000000000000000000000000000000000000",
"is_fake_token": false,
"from": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"to": "0x8447e981341dd44f7a6caf26e6452d3fb12d8592",
"kye_score_of_to": 30,
"value": 0.034125
}
]
},
"uuid": 1732234437015916500
}