Execute a Cross Chain Swap
A cross chain swap allows for the exchange of tokens across different blockchain networks by utilizing bridge protocols for secure and efficient asset transfers. This guide outlines the entire process, from obtaining a quote to broadcasting the transaction.

Step 1: Check the Swap Quote
To initiate a cross chain swap, you'll request swap quotes from multiple bridge protocols to compare output amounts and choose the most favorable route for your cross chain swap.
API: https://svc.blockdaemon.com/defi/v1/bridge/quotes
Sample Request
The Bridge Swap Quotes API retrieves token swap quotes from multiple bridge protocols supported by Blockdaemon across different blockchain networks. This helps you compare swap rates for a specific token pair and amount.
curl --request GET \
--url 'https://svc.blockdaemon.com/defi/v1/bridge/quotes?srcChainId=1&dstChainId=10&srcTokenSymbol=USDC&dstTokenSymbol=USDC&amountIn=10000' \
--header 'X-API-Key: YOUR_API_KEY' \
--header 'Content-Type: application/json'
Parameters
Name | Description |
---|---|
srcChainId | Source chain ID (e.g., 10 for Optimism). Find a list of the supported chains here. |
dstChainId | Destination chain ID (e.g., 1 for Ethereum). Find a list of the supported chains here . |
srcTokenSymbol | Token symbol on the source chain (e.g., USDT ). |
dstTokenSymbol | Token symbol on the destination chain (e.g., ETH ). |
amountIn | Amount to swap (smallest unit, e.g., 10 USDC = 10000000 ). |
Adjusting Slippage
You can adjust the slippage tolerance in subsequent steps during the execution of the swap by using the
slippage
oramountOutMin
parameters.
Sample Response
The response contains an array of quotes sorted by amountsOut
in descending order. The first entry represents the best quote (highest output amount for the given input).
{
"status": 200,
"msg": "success",
"data": [
{
"bridgeId": "600",
"bridgeName": "SquidRouterV2",
"srcChainId": "1",
"dstChainId": "8453",
"srcTokenSymbol": "usdc",
"dstTokenSymbol": "usdc",
"amountIn": "1000000000",
"amountsOut": [
"1000000000",
"999938940"
]
},
{
"bridgeId": "400",
"bridgeName": "AllbridgeCore",
"srcChainId": "1",
"dstChainId": "8453",
"srcTokenSymbol": "usdc",
"dstTokenSymbol": "usdc",
"amountIn": "1000000000",
"amountsOut": [
"1000000000",
"999000000"
]
},
{
"bridgeId": "500",
"bridgeName": "StargateV2",
"srcChainId": "1",
"dstChainId": "8453",
"srcTokenSymbol": "USDC",
"dstTokenSymbol": "usdc",
"amountIn": "1000000000",
"amountsOut": [
"1000000000",
"999949999"
]
}
]
}
Response Fields
Field | Description |
---|---|
bridgeId | Identifier of the bridge protocol. |
bridgeName | Name of the bridge protocol. |
srcChainId | Chain ID of the source blockchain. |
dstChainId | Chain ID of the destination blockchain. |
srcTokenSymbol | Symbol of the token on the source chain. |
dstTokenSymbol | Symbol of the token on the destination chain. |
amountIn | Input token amount in its smallest unit (e.g., for USDC with 6 decimals, 10,000,000 represents 10 USDC). |
amountsOut | Array of two values: [inputAmount, expectedOutputAmount] in smallest unit of destination token. |
Step 2: Check Allowance & Execute the Swap
API: https://svc.blockdaemon.com/defi/v1/bridge/swap-with-approval
Cross Chain Fees
Cross chain swaps may incur higher fees due to bridge protocol, ensure your account has enough balance to cover both the value and transaction fees on the source chain.
Sample Request
The Bridge Swap with Approval API generates transaction payloads to perform a cross chain token swap via a bridge protocol. It checks the bridge router's current token allowance and adjusts the response accordingly.
curl --request POST \
--url https://svc.blockdaemon.com/defi/v1/bridge/swap-with-approval \
--header 'X-API-Key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"bridgeId": "500",
"srcChainId": "1",
"dstChainId": "10",
"dstTokenSymbol": "USDC",
"srcTokenSymbol": "USDC",
"amountIn": "10000",
"amountOutMin": "0",
"from": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
"to": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
}'
Parameters
Parameter | Description |
---|---|
bridgeId | Identifier of the bridge protocol (selected from Step 1). |
srcChainId | Surce chain ID (e.g., 10 for Optimism). Find a list of the supported chains here . |
dstChainId | Destination chain ID (e.g., 1 for Ethereum). Find a list of the supported chains here . |
dstTokenSymbol | Token symbol on the destination chain (e.g., ETH ). |
srcTokenSymbol | Token symbol on the source chain (e.g., USDT ). |
amountIn | Amount to swap (smallest unit, e.g., 10 USDC = 10000000 ). |
amountOutMin | Minimum acceptable output amount on the destination chain, in its smallest unit. |
from | Address initiating the swap on the source chain. |
to | The recipient address on the destination chain. |
Optimizing Amount
Set
amountOutMin
based on the quote from Step 1 to ensure a favorable swap rate.
Sample Response
The response includes an array of transactions:
- If allowance is insufficient, you'll get both an approval transaction and a swap transaction.
- If allowance is sufficient, only the swap transaction will be returned.
{
"status": 200,
"msg": "success",
"data": [
{
"chainId": "1",
"from": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
"to": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"gas": "67619",
"value": "0",
"data": "0x095ea7b3000000000000000000000000c026395860db2d07ee33e05fe50ed7bd583189c70000000000000000000000000000000000000000000000000000000000002710",
"estimationCheck": true,
"referenceId": "7563f9b4edde497189ee611614edb016"
},
{
"chainId": "1",
"from": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
"to": "0xc026395860Db2d07ee33e05fE50ed7bD583189C7",
"value": "7327321933219",
"gas": "500000",
"data": "0xc7c7f5b30000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000006aa066bc5a30000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa96045000000000000000000000000000000000000000000000000000000000000759f000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa960450000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010100000000000000000000000000000000000000000000000000000000000000",
"estimationCheck": true,
"referenceId": "7563f9b4edde497189ee611614edb016"
}
]
}
Response Fields
Field | Description |
---|---|
data | Array of transaction objects: – If two transactions are returned, the first is the approval transaction and the second is the swap transaction. – If one transaction is returned, it is the swap transaction. |
chainId | Chain ID for the transaction (source chain). |
from | Sender’s address. |
to | Contract address (token contract or bridge router). |
value | Amount of native token to send with the transaction (e.g., for gas fees, in wei). |
gas | Estimated gas limit for the transaction. |
data | Encoded transaction data (e.g., function call and arguments). |
referenceId | Unique identifier for tracking the request. |
Configuring allowance limits
While the Bridge Swap with Approval API is convenient, some use-cases require customization of allowance limits. For this we offer individual Allowance and Bridge Swap APIs.
Step 3: Sign the Transaction
Once you’ve received the approval and swap transaction payloads, you need to sign each transaction before broadcasting it to the blockchain. Signing ensures that the transaction is authorized using the sender’s private key and is valid for execution.
Follow the steps below:
- Retrieve the approval and swap transaction objects from the response of the Bridge Swap with Approval API.
- Sign each transaction:
- Use your preferred wallet (e.g., MetaMask, WalletConnect) or the Blockdaemon SDK
- Make sure the
from
address in the transaction matches the wallet or SDK account initiating the swap. - The result will be a
rawTransaction
(e.g., a hexadecimal-encoded string).
- Verify the signed transaction includes the correct nonce, gas, and to fields to prevent errors during broadcasting.
Step 4: Broadcast the Signed Transaction
Once you've signed the transaction(s), broadcast them to the blockchain network to execute the cross chain swap.
API: https://svc.blockdaemon.com/tx/v1/{blockchain_id}/send
Sample Request
The Submit a Signed Transaction API broadcasts a signed transaction to the specified blockchain network. This endpoint is used to submit both approval and swap transactions generated in Step 3.
curl --request POST \
--url https://svc.blockdaemon.com/tx/v1/ethereum-mainnet/send \
--header 'X-API-Key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"tx": "0100000001ca19af5fb94ced7e62b623d0039a398a42e60050405a1341efe475894629c131010000008b483045022100d77b002b3142013b3f825a730f5bc3ead2014266f07ba4449269af0cf6f086310220365bca1d616ba86fac42ad69efd5f92c5ed6cf16f27ebf5ab55010efc72c219d014104417eb0abe69db2eca63c84eb44266c29c24973dc81cde16ca86c9d923630cb5f797bae7d7fab13498e06146111356eb271da74add05ebda8f72ff2b2878fddb7ffffffff0410270000000000001976a914344a0f48ca150ec2b903817660b9b68b13a6702688ac204e0000000000001976a914344a0f48ca150ec2b903817660b9b68b13a6702688ac30750000000000001976a914344a0f48ca150ec2b903817660b9b68b13a6702688ac48710000000000001976a914d6fa8814924b480fa7ff903b5ef61100ab4d92fe88ac00000000"
}'
Parameters
Parameter | Description |
---|---|
blockchain_id | Either a hyphen-separated protocol-network pair like ethereum-mainnet or the chain-network . |
tx | The signed transaction. |
Sample Response
The response includes the transaction hash, which you can use to track its status via the Bridge Transaction Details API.
{
"id": "9c8ac345b443dd10a418ea0beaa320ef233dbae5590be2a11ac090e0e9839c1c"
}
Step 5: Verify the Transaction
Bridge operations typically involve two transactions. One transaction, executed by the user, on the source chain and another transaction, executed transparently by the bridge infrastructure, on the destination chain.
After executing a cross chain swap, monitor the transactions to confirm their status and ensure the successful transfer of tokens across chains.
API: https://svc.blockdaemon.com/defi/v1/bridge/transactions
Sample Request
The Bridge Transaction Details API verifies the status and details of a swap transactions after they have been signed and broadcast.
curl --request GET \
--url 'https://svc.blockdaemon.com/defi/v1/bridge/transactions?transactionHash=0x0c0f32f10d6317f86d83e7fddcce4eb920df0ac645359a2d70566cbcbc3a37ed\&bridgeId=100&srcChainId=1' \
--header 'X-API-Key: YOUR_API_KEY' \
--header 'Accept: application/json'
Parameters
Parameter | Description |
---|---|
transactionHash | The unique hash generated after signing and broadcasting the swap transaction from Step 4. |
bridgeId | The unique ID to specify the bridge protocol for routing cross chain queries or transactions. Find a list of the supported bridges here . |
srcChainId | The identifier of the blockchain network (e.g., "1" for Ethereum). Find a list of the supported chains here . |
Sample Response
It returns detailed information about transactions on the source and destination blockchain network.
{
"status": 200,
"msg": "success",
"data": {
"status": "EXECUTED",
"srcTx": {
"chainId": "1",
"hash": "0x0c0f32f10d6317f86d83e7fddcce4eb920df0ac645359a2d70566cbcbc3a37ed",
"transactionStatus": true,
"blockNumber": "22787832",
"timestamp": null,
"from": "0x2773C5b227Fc2c824e9D08D1cb320197B94662AA",
"to": "0xc026395860Db2d07ee33e05fE50ed7bD583189C7",
"value": "20868209998811",
"transactionFees": "1118651679442970",
"gas": "416566",
"gasPrice": "3297765958",
"input": "0xc7c7f5b30000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000012fac23e7bdb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000002773c5b227fc2c824e9d08d1cb320197b94662aa000000000000000000000000000000000000000000000000000000000000759f0000000000000000000000002773c5b227fc2c824e9d08d1cb320197b94662aa00000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"nonce": 108,
"type": 2,
"network": null,
"v": "0x1",
"r": "0xcab92c4fa0d7d8c51a216f1c2a96595f6f12806ac781f1a0ca5a94b613482d0d",
"s": "0x3d339bbcb691b026124b0a8d55dad9a339299430d39dc48539b25ff667d7ae",
"yParity": "0x1",
"transactionIndex": 49,
"accessList": [],
"maxFeePerGas": "3892361919",
"maxPriorityFeePerGas": "2000000000",
"logs": [
{
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x0000000000000000000000002773c5b227fc2c824e9d08d1cb320197b94662aa",
"0x000000000000000000000000c026395860db2d07ee33e05fe50ed7bd583189c7"
],
"data": "0x00000000000000000000000000000000000000000000000000000000000f4240",
"blockNumber": 22787832,
"transactionHash": "0x0c0f32f10d6317f86d83e7fddcce4eb920df0ac645359a2d70566cbcbc3a37ed",
"transactionIndex": 49,
"blockHash": "0xe4b948d8d7ff54cff36c41621570d081c14c38877e112ec35479fa1cf9f620f9",
"logIndex": 100,
"removed": false,
"id": "log_a3ca8761"
},
{
"address": "0xbB2Ea70C9E858123480642Cf96acbcCE1372dCe1",
"topics": [
"0x61ed099e74a97a1d7f8bb0952a88ca8b7b8ebd00c126ea04671f92a81213318a"
],
"data": "0x000000000000000000000000173272739bd7aa6e4e214714048a9fe699453059000000000000000000000000000000000000000000000000000012e5ece0af75",
"blockNumber": 22787832,
"transactionHash": "0x0c0f32f10d6317f86d83e7fddcce4eb920df0ac645359a2d70566cbcbc3a37ed",
"transactionIndex": 49,
"blockHash": "0xe4b948d8d7ff54cff36c41621570d081c14c38877e112ec35479fa1cf9f620f9",
"logIndex": 101,
"removed": false,
"id": "log_aa5c69c4"
},
{
"address": "0xbB2Ea70C9E858123480642Cf96acbcCE1372dCe1",
"topics": [
"0x07ea52d82345d6e838192107d8fd7123d9c2ec8e916cd0aad13fd2b60db24644"
],
"data": "0x000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000020000000000000000000000008fafae7dd957044088b3d0f67359c327c6200d18000000000000000000000000a59ba433ac34d2927232918ef5b2eaafcf130ba5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000a6aaee6330000000000000000000000000000000000000000000000000000000a6aaee633",
"blockNumber": 22787832,
"transactionHash": "0x0c0f32f10d6317f86d83e7fddcce4eb920df0ac645359a2d70566cbcbc3a37ed",
"transactionIndex": 49,
"blockHash": "0xe4b948d8d7ff54cff36c41621570d081c14c38877e112ec35479fa1cf9f620f9",
"logIndex": 102,
"removed": false,
"id": "log_98bc6e83"
},
{
"address": "0x1a44076050125825900e736c501f859c50fE728c",
"topics": [
"0x1ab700d4ced0c005b164c0f789fd09fcbb0156d4c2041b8a3bfbcd961cd1567f"
],
"data": "0x00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000120000000000000000000000000bb2ea70c9e858123480642cf96acbcce1372dce1000000000000000000000000000000000000000000000000000000000000009c010000000000004193000075950000000000000000000000006d6620efa72948c5f68a3c8646d58c00d3f4a9800000759f000000000000000000000000f1fcb4cbd57b67d683972a59b6a7b1e2e8bf27e6a57d07aa4a665799d979d1ff056fb5c8ad3faed80323fa5c72ad7de9dc2f9c270100010000000000000000000000002773c5b227fc2c824e9d08d1cb320197b94662aa00000000000f420d000000000000000000000000000000000000000000000000000000000000000000000016000301001101000000000000000000000000000249f000000000000000000000",
"blockNumber": 22787832,
"transactionHash": "0x0c0f32f10d6317f86d83e7fddcce4eb920df0ac645359a2d70566cbcbc3a37ed",
"transactionIndex": 49,
"blockHash": "0xe4b948d8d7ff54cff36c41621570d081c14c38877e112ec35479fa1cf9f620f9",
"logIndex": 103,
"removed": false,
"id": "log_93c8d7a9"
},
{
"address": "0xc026395860Db2d07ee33e05fE50ed7bD583189C7",
"topics": [
"0x85496b760a4b7f8d66384b9df21b381f5d1b1e79f229a47aaf4c232edc2fe59a",
"0xa57d07aa4a665799d979d1ff056fb5c8ad3faed80323fa5c72ad7de9dc2f9c27",
"0x0000000000000000000000002773c5b227fc2c824e9d08d1cb320197b94662aa"
],
"data": "0x000000000000000000000000000000000000000000000000000000000000759f00000000000000000000000000000000000000000000000000000000000f424000000000000000000000000000000000000000000000000000000000000f420d",
"blockNumber": 22787832,
"transactionHash": "0x0c0f32f10d6317f86d83e7fddcce4eb920df0ac645359a2d70566cbcbc3a37ed",
"transactionIndex": 49,
"blockHash": "0xe4b948d8d7ff54cff36c41621570d081c14c38877e112ec35479fa1cf9f620f9",
"logIndex": 104,
"removed": false,
"id": "log_5355570e"
}
]
},
"dstTx": {
"chainId": "10",
"hash": "0xf0c7efde9b8f0db9f0cb538d9f4948ec3b3d1da39038952c7cb35e705e765bba",
"transactionStatus": true,
"blockNumber": "137666426",
"timestamp": null,
"from": "0xe93685f3bBA03016F02bD1828BaDD6195988D950",
"to": "0x2D2ea0697bdbede3F01553D2Ae4B8d0c486B666e",
"value": "0",
"transactionFees": "147696736854",
"gas": "484698",
"gasPrice": "1202282",
"input": "0xcfc325700000000000000000000000000000000000000000000000000000000000000020000000000000000000000000f1fcb4cbd57b67d683972a59b6a7b1e2e8bf27e600000000000000000000000000000000000000000000000000000000000075950000000000000000000000006d6620efa72948c5f68a3c8646d58c00d3f4a9800000000000000000000000000000000000000000000000000000000000004193a57d07aa4a665799d979d1ff056fb5c8ad3faed80323fa5c72ad7de9dc2f9c27000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000029428000000000000000000000000000000000000000000000000000000000000002b0100010000000000000000000000002773c5b227fc2c824e9d08d1cb320197b94662aa00000000000f420d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"nonce": 12282907,
"type": null,
"network": null,
"v": "0x37",
"r": "0x9727c5dfe429b33ac5f766472a9529404fa7a9fa4c837f6871199a4566388a54",
"s": "0x1ae2f2b3fc6a392ac6d84bdeb265d50827da32565363624738846ce15a89650e",
"yParity": null,
"transactionIndex": 2,
"accessList": null,
"maxFeePerGas": null,
"maxPriorityFeePerGas": null,
"logs": [
{
"address": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x000000000000000000000000ce8cca271ebc0533920c83d39f417ed6a0abb7d0",
"0x0000000000000000000000002773c5b227fc2c824e9d08d1cb320197b94662aa"
],
"data": "0x00000000000000000000000000000000000000000000000000000000000f420d",
"blockNumber": 137666426,
"transactionHash": "0xf0c7efde9b8f0db9f0cb538d9f4948ec3b3d1da39038952c7cb35e705e765bba",
"transactionIndex": 2,
"blockHash": "0x1dfa2eed7c61e36938385cc9c4fd8817a2c143cc66a4154e4dba5ecd67fe1874",
"logIndex": 4,
"removed": false,
"id": "log_d239465c"
},
{
"address": "0xcE8CcA271Ebc0533920C83d39F417ED6A0abB7D0",
"topics": [
"0xefed6d3500546b29533b128a29e3a94d70788727f0507505ac12eaf2e578fd9c",
"0xa57d07aa4a665799d979d1ff056fb5c8ad3faed80323fa5c72ad7de9dc2f9c27",
"0x0000000000000000000000002773c5b227fc2c824e9d08d1cb320197b94662aa"
],
"data": "0x000000000000000000000000000000000000000000000000000000000000759500000000000000000000000000000000000000000000000000000000000f420d",
"blockNumber": 137666426,
"transactionHash": "0xf0c7efde9b8f0db9f0cb538d9f4948ec3b3d1da39038952c7cb35e705e765bba",
"transactionIndex": 2,
"blockHash": "0x1dfa2eed7c61e36938385cc9c4fd8817a2c143cc66a4154e4dba5ecd67fe1874",
"logIndex": 5,
"removed": false,
"id": "log_3eddf8f9"
},
{
"address": "0x1a44076050125825900e736c501f859c50fE728c",
"topics": [
"0x3cd5e48f9730b129dc7550f0fcea9c767b7be37837cd10e55eb35f734f4bca04"
],
"data": "0x00000000000000000000000000000000000000000000000000000000000075950000000000000000000000006d6620efa72948c5f68a3c8646d58c00d3f4a9800000000000000000000000000000000000000000000000000000000000004193000000000000000000000000f1fcb4cbd57b67d683972a59b6a7b1e2e8bf27e6",
"blockNumber": 137666426,
"transactionHash": "0xf0c7efde9b8f0db9f0cb538d9f4948ec3b3d1da39038952c7cb35e705e765bba",
"transactionIndex": 2,
"blockHash": "0x1dfa2eed7c61e36938385cc9c4fd8817a2c143cc66a4154e4dba5ecd67fe1874",
"logIndex": 6,
"removed": false,
"id": "log_18967022"
}
]
}
}
}
Response Fields
Field | Description |
---|---|
status | Overall status of the cross chain swap (e.g., "EXECUTED" ). |
srcTx.chainId | Source blockchain identifier (e.g., "8453" for Base Mainnet). |
srcTx.hash | Transaction hash on the source chain. |
srcTx.transactionStatus | Boolean indicating success on the source chain. |
srcTx.blockNumber | Block number where the transaction was included. |
srcTx.timestamp | Transaction inclusion time (may be null if pending). |
srcTx.from / srcTx.to | Sender and recipient addresses on the source chain. |
srcTx.value | Amount of native token sent (in wei). |
srcTx.transactionFees | Total fees paid on the source chain (in wei). |
srcTx.gas | Gas limit for the source chain transaction. |
srcTx.gasPrice | Gas price (in wei). |
srcTx.maxFeePerGas | Max fee per gas (if EIP-1559, in wei). |
srcTx.maxPriorityFeePerGas | Max priority fee per gas (if EIP-1559, in wei). |
srcTx.logs | An array of event logs from the source chain transaction. |
dstTx.chainId | Destination blockchain identifier (e.g., "43114" for Avalanche C-Chain). |
dstTx.hash | Transaction hash on the destination chain. |
dstTx.transactionStatus | Boolean indicating success on the destination chain. |
dstTx.* | Other fields (like blockNumber , timestamp , from , to , value , transactionFees , gas , logs ) mirror those of srcTx , but specific to the destination chain. |
Post-Swap Verification
After the swap transaction is confirmed on the source chain, verify the receipt of tokens on the destination chain. If
transactionStatus
is false or an error occurs, review the logs andestimationCheck
field from step 2 to diagnose issues.
👋 Need Help?
Contact us through email or our support page for any issues, bugs, or assistance you may need.
Updated 10 days ago