{"uid":"cap_TxzzZMGLksFwTAZmtqtXo","slug":"x402node-contract-abi-fetcher-5f201ecb","name":"x402node Contract ABI Fetcher","description":"Fetch the verified ABI of a smart contract with function and event signatures across multiple EVM chains - required for agents to correctly encode contract calls, which LLMs cannot retrieve live. contract abi, get abi, contract interface, function signatures, abi fetch, contract methods Accepts payment on Base or Solana — either network works.","url":"https://api.x402node.dev/chain/contract-abi","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["address"],"properties":{"chain":{"type":"string","description":"ethereum, base (default), arbitrum, optimism, polygon, bsc"},"address":{"type":"string","description":"Contract address (required)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UbsFr7lQ4dKv3Reakl-tQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the verified ABI (function and event signatures) for a smart contract on a specified EVM chain, enabling correct contract call encoding.","exampleAgentPrompt":"Can you fetch the verified ABI for the contract at 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D on Ethereum mainnet so I can encode a call to its swap function?","exampleUseCases":null,"resultDescription":"Returns the verified ABI of the smart contract including all function signatures (name, inputs, outputs, state mutability) and event signatures, allowing the agent to correctly encode contract calls or decode transaction data on the specified EVM chain.","failureModes":["Contract address not verified or ABI not available — returns error with no ABI data","Unsupported chain identifier — returns error indicating the chain is not supported","Invalid contract address format — returns validation error","Contract exists but has no verified source code — ABI cannot be returned","Network or upstream provider timeout — returns 5xx error"],"whenToPreferThis":"Use this endpoint when an agent needs to programmatically interact with a smart contract and must have accurate function or event signatures. Prefer this over relying on LLM-generated ABIs (which hallucinate) or manual lookups. Especially useful when the target chain is one of several supported EVM networks and the contract address is known.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:52:50.112Z","isFirstParty":false}