Evm code
evm_codeIs this address a contract, across 8 EVM chains (Ethereum, Base, Arbitrum, Optimism, Polygon, BNB Chain, Arc and Robinhood): code size, the implementation behind an EIP-1967 or ZeppelinOS proxy, and an EIP-7702 delegation. $0.001 per call over x402 (USDC on Arc, Base or Solana, or XNT on X1). Call once without payment for the terms, sign them with your own wallet, call again with payment.
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": "evm_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | ethereum (default), base, arbitrum, optimism, polygon, bnb, arc or robinhood | |
| address | Yes | address (0x...) | |
| payment | No | a signed x402 payment (the base64 payload you would put in PAYMENT-SIGNATURE). Pass it and the purchase completes inside this tool call. |