Returns the Contract ABI by Address

Returns the ABI for the specified smart contract deployed on the given protocol and network. You can optionally choose how the ABI is returned using the decodeAs query parameter (raw_string or json).

Path Params
string
enum
required
Defaults to ethereum

Name of the protocol (e.g., ethereum, polygon).

Allowed:
string
enum
required
Defaults to mainnet

The specific network within the protocol (e.g. mainnet, hoodi, amoy).

Allowed:
string
required

The contract address you want to query.

Query Params
string
enum
Defaults to raw_string

How the result should be formatted. raw_string (plain JSON string) or json (parsed JSON array).

Allowed:
Responses

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