Analysis
Analyze and return the dependency network for a given contract address.
Start block
End block
Successful Response
Input validation error
Internal server error
GET /v1/analysis/{address}/dependencies HTTP/1.1
Host:
Accept: */*
{
"address": "text",
"from_block": 1,
"to_block": 1,
"n_nodes": 1,
"nodes": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"edges": [
{
"source": "text",
"target": "text",
"types": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
],
"dependency_depths": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"n_matching_transactions": 1
}Calculate and return the risk assessment for a given contract address.
Start block
End block
Successful Response
Input validation error
Internal server error
GET /v1/analysis/{address}/risk HTTP/1.1
Host:
Accept: */*
{
"root_address": "text",
"from_block": 1,
"to_block": 1,
"dependencies": [
{
"verified": true,
"risk_factors": {
"upgradeability": true,
"permissioned": true,
"repository": true,
"audits": true,
"scorecard": 1
},
"details": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"address": "text",
"dependency_depth": 1
}
],
"aggregated_risks": {
"verified": true,
"risk_factors": {
"upgradeability": true,
"permissioned": true,
"repository": true,
"audits": true,
"scorecard": 1
},
"details": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
}Simulate a transaction via Erigon trace_call, list all touched contracts (including DELEGATECALL), and report whether it's the first interaction by the sender and the verification status.
Request model for pre-sign transaction simulation.
EOA sender address
Target contract address
Calldata hex
0xWei value (hex)
0x0Gas limit (hex)
Gas price (hex)
maxFeePerGas (hex)
maxPriorityFeePerGas (hex)
Tx type, e.g., 0x2
Block tag or number
latestLimit first-time checks to N latest blocks (performance control)
100Lower bound block for first-time checks
Upper bound block for first-time checks
Successful Response
Input validation error
Internal server error
POST /v1/analysis/tx-risk HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 242
{
"from_addr": "text",
"to_addr": "text",
"data": "0x",
"value": "0x0",
"gas": "text",
"gasPrice": "text",
"maxFeePerGas": "text",
"maxPriorityFeePerGas": "text",
"tx_type": "text",
"block_tag": "latest",
"latest_offset": 100,
"from_block": "text",
"to_block": "text"
}{
"status": "OK",
"details": [
{
"address": "text",
"first_time": true,
"verification": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"depth": 1,
"types": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
]
}Analyze a confirmed transaction by hash, list all touched contracts (including DELEGATECALL), and report whether it's the first interaction by the sender and the verification status.
Lower bound block for first-time checks
Upper bound block for first-time checks
Limit first-time checks to N latest blocks
100Successful Response
Input validation error
Internal server error
GET /v1/analysis/tx-risk/{tx_hash} HTTP/1.1
Host:
Accept: */*
{
"status": "OK",
"details": [
{
"address": "text",
"first_time": true,
"verification": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"depth": 1,
"types": {
"ANY_ADDITIONAL_PROPERTY": 1
}
}
]
}Last updated