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.tokenNameto the asset symbol, such asRLUSDorUSDC. - Set
wallet.tokenOptions.tokenAddressto the full asset identifier:<AssetCode>.<Issuer>on XRP Ledger or<AssetCode>:<Issuer>on Stellar. Do not use the issuer address alone. - Send
transactions.recipientsData.recipientsas 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
feeLevelsets the fee tier. It applies to EVM and UTXO chains. The values areslow,market,aggressiveandcustom. If you omit it, the default ismarket.
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
- To pass your own fee, set
feeLeveltocustom, then send one of the following:- EVM chains: the
evmCustomFeeobject. On EIP-1559 chains, send bothmaxPriorityFeePerGasandmaxFeePerGas(Wei).maxPriorityFeePerGascannot be greater thanmaxFeePerGas. If thecoinvalue isBNB, send onlymaxFeePerGas. - UTXO chains:
feeInSatsPerByte, a positive integer string in sats/vByte.
eg. 1, 5, 10
- EVM chains: the
evmCustomFeeworks on EVM chains only.feeInSatsPerByteworks on UTXO chains only. SendingevmCustomFeefor a UTXO coin, orfeeInSatsPerBytewithoutfeeLevelset tocustom, returns 400 with codeINVALID_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[]andtransactions.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 SDKv1.3.10.
