Skip to content

Call a contract method using ABI

POST
/v2/contract/abi/{id}/call

Call a contract method using a specific ABI.

id
required
string

The ABI ID to use

X-API-Key
string

API Key

X-API-Secret
string

API Secret

object
methodName
required

The method name

string
transfer
paramCollection
required

The parameters for the method

Array<string>
[
"0x123...",
"100"
]
chainId
required

The chain ID

number
1
contractAddress
required

The contract address

string
0x123...
walletId
required

The wallet ID to sign with

string
wallet-123
isShared

Whether the ABI is shared

boolean

The call result

object
queryId
required

The query ID

string
12345678-1234-1234-1234-123456789012