/abiFetch a verified contract's ABI and metadata by address, keylessly, from Sourcify. Returns the ABI plus a summarized list of function and event signatures, the contract name and compiler, and proxy detection (is_proxy + implementation address). Block explorers gate the ABI behind an API key; this does not. Chains: base, ethereum, arbitrum, optimism, polygon, bsc, avalanche. No API keys, no LLM, one x402 USDC micropayment per call.
{
"additionalProperties": false,
"properties": {
"address": {
"description": "Contract address (0x + 40 hex chars, required).",
"pattern": "^0x[a-fA-F0-9]{40}$",
"type": "string"
},
"chain": {
"description": "EVM chain (default base).",
"enum": [
"arbitrum",
"avalanche",
"base",
"bsc",
"ethereum",
"optimism",
"polygon"
],
"type": "string"
}
},
"required": [
"address"
],
"type": "object"
}{
"abi_entries": 16,
"address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"chain": "ethereum",
"compiler": "0.4.19+commit.c4cbbb05",
"events": [
"Transfer(address,address,uint256)"
],
"functions": [
"approve(address,uint256)",
"transfer(address,uint256)",
"withdraw(uint256)"
],
"is_proxy": false,
"match": "exact_match",
"name": "WETH9",
"source": "Sourcify",
"verified": true
}