Create transaction requests

This API is a request to execute a single or multiple transactions from a v2 withdrawal wallet to the specified destination address(es). 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. Enable Asset requests do not go through Liminal Firewall. They are not held for firewall approval.

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.

Transactions from v2 wallets are screened by Liminal Firewall (if enabled). It performs compliance checks and provides outcomes before broadcasting to the blockchain. If your organisation has a Travel Rule policy enabled in Firewall, include the travelRule object in the request body to avoid transaction failure. If the policy is disabled, you can skip this object. Use the Verify Addresses API to validate the destination addresses before using the API. Refer to wallet versions: v1 & v2 to learn more about the types of wallet versions and their respective supported chains.

Accepted parameter values:

  • The transactions.recipients.address[] parameter must have a valid address length ( > 0). It will not accept any null value or empty String value.
  • 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.

Enable Asset (XRP and XLM)

For XRP and XLM wallets, set wallet.transactionType to enableToken to opt a wallet into an issued asset. This creates a one-time trust line. The wallet needs it before it can receive the asset.

  • Set wallet.tokenOptions.tokenName to the asset symbol, such as RLUSD or USDC.
  • Set wallet.tokenOptions.tokenAddress to the full asset identifier: <AssetCode>.<Issuer> on XRP Ledger or <AssetCode>:<Issuer> on Stellar. Do not use the issuer address alone.
  • Send transactions.recipientsData.recipients as an empty array, or leave it out. A non-empty array is rejected.
  • The wallet needs enough native coin to cover the trust line reserve. If it does not, the request fails with INSUFFICIENT_RESERVE.

For supported assets and steps, see Enable Asset for XRP and Stellar (XLM).

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 instead if you are using the v1 wallet. While all liminal supported chains support firewall for Mobile MPC Wallets, please refer to the latest supported chains for hot V2 wallets supporting firewall.

📘

Note

  • For transactions to be fully signed and broadcast, ensure that the transaction execution job is running on your Liminal Express server.
  • This API is responsible only for the transactions originating from the v2 hot wallets. Refer to this guide to learn how to set up a v2 hot wallet using Liminal firewall.
❗️

Ensure to enter the transactions.recipients.address[] and transactions.recipients.amount[] values accurately. There may be a breaking change in the API request if you are using number value. Ensure you are using Liminal Express SDK v1.3.10.

Body Params
wallet
object
required
transactions
object
required
travelRule
object
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