v1

latestOpenAPI 3.0.02026-07-142115792.8 KB
Send

Create send calldata

This endpoint will generate a calldata for a send transaction based on the inputs. The calldata may be signed by the sender to cause the specified amount of the token to be transfered from the sender to the recipient. The successful response always includes estimated gas for the transaction.

post/send

Request body

senderstring required

The wallet address which will be used to send the token.

recipientstring required

The wallet address which will receive the token.

tokenstring required

The token which will be sent, specified by its token address. For a list of supported tokens, see the FAQ.

amountstring required

The quantity of tokens denominated in the token's base units. (For example, for an ERC20 token one token is 1x10^18 base units. For one USDC token one token is 1x10^6 base units.) This value must be greater than 0.

chainId1 | 10 | 56 | 130 | 137 | 324 | 480 | 1868 | 8453 | 10143 | 42161 | 42220 | 43114 | 81457 | 7777777 | 1301 | 84532 | 11155111 | 143 | 196 required

The unique ID of the blockchain. For a list of supported chains see the FAQ.

urgency'normal' | 'fast' | 'urgent'

The urgency impacts the estimated gas price of the transaction. The higher the urgency, the higher the gas price, and the faster the transaction is likely to be selected from the mempool. The default value is urgent.

Response

Create send successful.

requestIdstring required

A unique ID for the request.

gasFeestring

The total estimated gas cost of this transaction (eg. gasLimit multiplied by maxFeePerGas) in the base unit of the chain.

gasFeeUSDstring

The total estimated gas cost of this transaction (eg. gasLimit multiplied by maxFeePerGas) denominated in USDC.