Skip to content

Get a contract ABI

GET
/v2/contract/abi/{id}

Get a specific contract ABI by ID.

id
required
string

The ABI ID to get

isShared
required
boolean

Whether the ABI is shared

X-API-Key
string

API Key

X-API-Secret
string

API Secret

The ABI details

object
query
required

The query parameters

object
chainId
required

The chain ID

number
1
abiId
required

The ABI ID

string format: uuid
e271bc5c-f870-44cd-8462-54280d0411f6
contractAddress
required

The contract address

string
0x1234567890123456789012345678901234567890
methodName
required

The method name

string
balanceOf
paramCollection
required

The parameters for the method

Array<string>
[
"0x1234567890123456789012345678901234567890"
]
isShared
required

Whether the ABI is shared

boolean
response
required

The response from the contract method

object
{
"balance": "1000000000000000000"
}

Bad Request

Unauthorized

Forbidden

Not Found

Internal Server Error