check_eip7702_delegation
Inspect a single EVM externally owned account (EOA) via live eth_getCode RPC to detect active Pectra EIP-7702 delegation hijacks (0xef0100...23-byte designator). Read-only, non-destructive lookup on Ethereum, Base, Arbitrum, or Polygon (5 free calls/hour per IP or unlimited with X-API-Key). Returns JSON with address, network, delegated (boolean), delegate_contract (0x address or null), risk_score (0-100), and verdict (PASS, WARN, BLOCK). Use this tool for targeted single-address EOA code checks; use scan_evm_dust_and_hygiene for full 8-chain token balance and dust discovery.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"address": "<address>"
},
"name": "check_eip7702_delegation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | 42-character hexadecimal EVM wallet address (`0x` followed by 40 hex chars) to inspect for EIP-7702 bytecode delegation. | |
| network | No | Target EVM chain for live `eth_getCode` inspection (`base`, `ethereum`, `arbitrum`, or `polygon`). Defaults to `base`. | base |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | ||
| network | Yes | ||
| verdict | Yes | ||
| delegated | No | ||
| risk_score | No |