v1
latestOpenAPI 3.0.32026-07-2210020.3 KBCreate an OFT transfer transaction between chains
Query parameters
Source chain name where the OFT transfer originates
Source chain name where the OFT transfer originates
Destination chain name where the OFT will be received
Destination chain name where the OFT will be received
Address of the OFT contract on the source chain
Address of the OFT contract on the source chain
Amount to transfer in the smallest unit (wei/satoshi equivalent)
Amount to transfer in the smallest unit (wei/satoshi equivalent)
Address of the sender wallet
Address of the sender wallet
Address of the recipient wallet (EVM hex or Solana base58)
Address of the recipient wallet (EVM hex or Solana base58)
Whether to validate balances before creating transaction
Structured LayerZero execution options as JSON string. EXECUTOR OPTIONS: - lzReceive: Set gas limit and optional native drop for lzReceive execution - nativeDrops: Array of native token drops to specific addresses - composeOptions: Array of compose message execution settings with gas and native drop All numeric values for gas limits and native drops should be strings or numbers. Native drop amounts are in wei (e.g., "1000000000000000" = 0.001 ETH).
Structured LayerZero execution options as JSON string. EXECUTOR OPTIONS: - lzReceive: Set gas limit and optional native drop for lzReceive execution - nativeDrops: Array of native token drops to specific addresses - composeOptions: Array of compose message execution settings with gas and native drop All numeric values for gas limits and native drops should be strings or numbers. Native drop amounts are in wei (e.g., "1000000000000000" = 0.001 ETH).
Compose message for advanced OFT operations (hex encoded)
Compose message for advanced OFT operations (hex encoded)
OFT command for advanced operations (hex encoded)
OFT command for advanced operations (hex encoded)
Headers
LayerZero API key for authentication
LayerZero API key for authentication
Response
Successfully created OFT transfer transaction
Example response
{
"created": 1750332889266,
"dstChainName": "ethereum",
"metadata": {
"properties": {
"dstOftAddress": "0x3dc96399109df5ceb2c226664a086140bd0379cb",
"dstOftType": "OFT_ADAPTER",
"dstChainName": "bera",
"approvalRequired": true,
"amount": "1000000",
"sharedDecimals": 6,
"localDecimals": 6
},
"timestamps": {
"created": 1750332889266
}
},
"transactionData": {
"populatedTransaction": {
"data": "0xc7c7f5b30000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000007625075988a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d8538fa8fdd5872e68c4040449f64452ae536fa6000000000000000000000000000000000000000000000000000000000000769a000000000000000000000000d8538fa8fdd5872e68c4040449f64452ae536fa600000000000000000000000000000000000000000000000000000000000f424000000000000000000000000000000000000000000000000000000000000f424000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"to": "0x6C96dE32CEa08842dcc4058c14d3aaAD7Fa41dee",
"gasLimit": "500000",
"value": "8118838073482"
},
"approvalTransaction": {
"data": "0x095ea7b30000000000000000000000006c96de32cea08842dcc4058c14d3aaad7fa41dee00000000000000000000000000000000000000000000000000000000000f4240",
"to": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"gasLimit": "100000"
}
},
"transactionType": "OFT_SEND"
}