EVM contract ABI, proxy info and signatures (6 chains)
contract_abiABI and metadata for an EVM contract on Base, Ethereum, Arbitrum, OP Mainnet, Polygon or Avalanche: Sourcify verification match, contract name, compiler, proxy type and implementations (implementation ABI merged), function, event and error signatures with selectors and topics, and read vs write function lists. Unverified contracts get a best-effort function list from bytecode selectors named via the Sourcify 4byte database. Sources: Sourcify, chain JSON-RPC via PublicNode. Price: $0.002 per successful call, paid in USDC with x402 v2; failed calls and calls that match nothing are not charged.
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": {
"chain": "<chain>",
"address": "<address>"
},
"name": "contract_abi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Chain by name, alias or chain id: base (8453), ethereum (1), arbitrum (42161), optimism (10), polygon (137), avalanche (43114). | |
| format | No | json (default) adds the JSON ABI (up to 500 KB); human returns only the signature lists and metadata. | |
| address | Yes | Contract address (0x + 40 hex characters, any letter case). |