Contract ABI + Proxy Resolver
contract_abi3 free MCP calls per day (all tools together), then $0.0025 USDC via x402 or card credits (paid in-band: params._meta["x402/payment"]). Base or Ethereum contract address -> ABI and function list: Sourcify verification (exact/partial match), contract name, compiler, ABI, function selectors + signatures, event topics; proxies (EIP-1967, ZeppelinOS, others Sourcify detects) resolved to the implementation with its own ABI. Unverified contracts: selectors guessed from bytecode and named via the public OpenChain database. abi=false returns signatures only (smaller). When to use: Use contract-abi when an agent needs to call or decode a contract it has not seen before. Use wallet-profile for balances and account type, and token-risk to check an ERC-20 for dangerous privileges.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| abi | No | include full ABI JSON (default true) | |
| chain | No | default base | |
| address | Yes | contract address 0x... |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||