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<object>
object
[
"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
txReceipt
required

The transaction receipt id

string

Bad Request

Unauthorized

Forbidden

Not Found

Internal Server Error