Get a contract ABI

Get the ABI of a verified smart contract on an evm or tvm chain. Returns 400 if contractAddress is not a valid address for the ecosystem, 404 if the contract is not verified on any public source, and 502 if no ABI was found and a source could not be reached. You can retry after a 502.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Chain family: evm (Ethereum and EVM chains), svm (Solana), tvm (Tron), utxo (Bitcoin and other UTXO chains), or xrp (XRP Ledger). The chain must belong to it. Not every endpoint accepts every ecosystem; see the operation description.

string
required

Chain alias, such as ethereum, avalanche-c, solana, tron, bitcoin or ripple, not a numeric chain ID. GET /v2/treasury/chains lists the canonical aliases of the chains you can use, and includes testnets with includeTestnets=true. Older aliases such as btc are also accepted.

string
required
length ≥ 1
\S

Token or contract address, for example an ERC-20 or TRC-20 contract or an SPL mint, in the format of the chain in the path. Surrounding whitespace is trimmed, a 0X prefix is accepted, and a blank value is rejected.

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json