Contract ABI
Verified contract ABI and source metadata, with proxy resolution.
Verified smart-contract ABI (+ optional Solidity/Vyper source) for Ethereum, Base, Arbitrum, Optimism, Polygon and BNB Chain from the open Sourcify registry: compiler, deployment, read/write function and event signatures, and proxy resolution to the implementation ABI. Unverified contracts return 404 (not charged).
What agents use it for
- Decode calldata and events
- Let an agent read a contract's functions before calling it
- Resolve a proxy to its implementation ABI
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
chain | "ethereum" | "base" | "arbitrum" | "optimism" | "polygon" | "bsc" | yes | EVM chain |
address | string | yes | Contract address |
include_source | boolean · default false | no | Include verified source files (up to 600k characters) |
resolve_proxy | boolean · default true | no | Also return the implementation ABI of a proxy |
Call it
{
"name": "contract_abi",
"arguments": {
"chain": "base",
"address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"
}
}curl -i "https://api.ishob.com/v1/crypto/contract-abi?chain=base&address=0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"
Paid with x402: the first call returns HTTP 402 with the price; an x402 client (for example @x402/fetch or @x402/mcp) signs a USDC payment and retries. Calls that fail are not charged.
Connect the MCP server: setup for Claude, Cursor and other clients.