Create transaction requests

This API is a request to execute a single or multiple transactions from a v1 withdrawal wallet to the specified destination address(es). EVM chains support transfers to a single address, while UTXO chains support transfers to one or more addresses. You can transfer funds in either native coin or token in a single request. For XRP and XLM wallets, use wallet.transactionType = "enableToken" to opt a wallet into an issued asset (a one-time trust line) before sending or receiving it.

EVM chains support transfers to a single address, while UTXO chains support transfers to one or more addresses. You can transfer funds in either native coin or token in a single request.

Accepted parameter values:

  1. The transactions.recipients.address[] parameter must have a valid address length ( > 0). It will not accept any null value or empty String value.
  2. The data type of transactions.recipients.amount[] is updated to String and must be a positive decimal string. It will not accept empty string, null, or number value.

Optional Parameters

  1. feeLevel sets the fee tier. It applies to EVM and UTXO chains. The values are slow, market, aggressive and custom. If you omit it, the default is market.

    For UTXO chains

    • slow is 1x the current chain fee rate
    • market is 2x the current chain fee rate
    • aggressive is 3x the current chain fee rate
  2. To pass your own fee, set feeLevel to custom, then send one of the following:

    1. EVM chains: the evmCustomFee object. On EIP-1559 chains, send both maxPriorityFeePerGas and maxFeePerGas (Wei). maxPriorityFeePerGas cannot be greater than maxFeePerGas. If the coin value is BNB, send only maxFeePerGas.
    2. UTXO chains: feeInSatsPerByte, a positive integer string in sats/vByte.
      eg. 1, 5 , 10
  3. evmCustomFee works on EVM chains only. feeInSatsPerByte works on UTXO chains only. Sending evmCustomFee for a UTXO coin, or feeInSatsPerByte without feeLevel set to custom, returns 400 with code INVALID_CUSTOM_FEE.

Refer to the Retrieve estimated gas fees and rates API reference to get the fee estimation rates.


Refer to the Create transaction requests API reference for Wallet v2. Refer to wallet versions: v1 & v2 to learn more about the types of wallet versions and their respective supported chains.


Body Params
wallet
object
required
transactions
object
required

A list of recipient objects, each containing the recipient's address and amount.

Headers
string
enum
Defaults to application/json; charset=utf-8

Generated from available response content types

Allowed:
Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json; charset=utf-8
application/json