{"uid":"cap_noK1hbvKnlsCqEp5wNA4_","slug":"liquprop-api-67ea18a1","name":"LiquProp API - Get Contract by Address with ABI","description":"Get a contract by address (with ABI)","url":"https://api.relai.fi/relay/1776502063891/v1/chains/{chainId}/contracts/{address}","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"unknown","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__gLEWL2ZqKzxtm6KssY5g","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves a smart contract's details and ABI by chain ID and contract address","exampleAgentPrompt":"Can you look up the smart contract at address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on chain ID 1 and give me its ABI so I can interact with it?","exampleUseCases":null,"resultDescription":"Returns the smart contract's ABI (Application Binary Interface) along with contract metadata for the specified address on the given chain, enabling downstream contract interaction and function call encoding.","failureModes":["Invalid or non-existent contract address returns an error or empty result","Unsupported chainId returns an error","Address is an EOA (externally owned account) with no ABI","Payment failure (x402 payment of 0.01 USDC not processed) blocks request","Network or relay downtime causes timeout"],"whenToPreferThis":"Use this endpoint when you need to retrieve a smart contract's ABI and metadata by address on a specific EVM chain, particularly when you want a gas-free lookup sponsored by RelAI on Polygon or need on-demand ABI resolution without maintaining your own contract registry.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:47:39.493Z","isFirstParty":false}