Skip to content

Call a contract method

POST
/chain/call

Call a contract method on the blockchain using the provided data.

Authorizations

Request Body required

object
txData

The binary contract data to be submitted to the chain.

string
chainId

The ID for different chains.

integer
walletId

The unique ID for the wallet.

string format: uuid
sentAt

Date and time when the message was sent.

string format: date-time

Responses

200

Contract method called successfully

object
executionId

The unique ID for the execution.

string
data

The response data from the chain.

string

401

Unauthorized - Invalid or missing authentication token

object
code

The HTTP status code.

integer
status

The error status description.

string

500

Internal Server Error - Method call failed

object
code

The HTTP status code.

integer
status

The error status description.

string