HomeAPI ReferenceContract CallsCreate EVM Contract Call
POST/contract-calls/evm

Create EVM Contract Call

Outcome - Creates a contract call. Choose the sender with walletId (a coin wallet), or clientId plus assetId (the network's coin). The call is queued with status PENDING, like a transaction.

Body Parameters

walletIdnumber

Sender wallet ID; must be the coin wallet of the network. Use either walletId, or clientId with assetId.

clientIdstringmax(255)

Your client id (externalId) of the sender. Use with assetId, instead of walletId.

assetIdnumber

Coin asset of the network to call on. Required with clientId.

contractAddressstringrequiredEVM address

Address of the contract to call.

callDatastringrequired

ABI-encoded function call, as a 0x-prefixed hex string.

idempotencyKeystringmax(100)

Your unique key. Repeating it returns the first call instead of creating another.

Responses

Response attributes

messagestring

Success message

contractCallobject

The created transaction (type CONTRACT_CALL)

statusnumber

HTTP status code

Was this page helpful?