Find optimal cross-chain transfer route
Analyzes available bridges and returns the optimal route with best pricing
Query parameters
Input token contract address
Output token contract address
Source blockchain
Destination blockchain
Transfer amount in token units (wei for ETH)
Recipient address for the cross-chain transfer (required for some bridges like RhinoFi)
Token symbol for amount denomination (e.g., USDC, USDT, ETH)
Response
Optimal route found successfully
Example response
{
"sourceChain": "BASE_TESTNET",
"destinationChain": "ARBITRUM_TESTNET",
"tokenIn": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"tokenOut": "0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4",
"originalAmount": "10000000",
"totalFees": "18000",
"bridgeToUse": "CCTP",
"bridgeAddress": "0xa1c943058a631D5506eb7d96036eAbF6968e2338",
"bridgeExtraData": "0x00000000000000000000000000000000000000000000000000000000000001f4",
"supportedBridges": [
"ACROSS",
"CCTP"
],
"bridgeFeeDetails": {
"maxFee": "8000"
}
}Changes
Changed in 4 of the 9 revisions of this API.125
- ○
added the new enum value
SOLANA_MAINNETto thequeryrequest parameterdestinationChainrequest-parameter-enum-value-added
- ○
added the new enum value
SOLANA_MAINNETto thequeryrequest parametersourceChainrequest-parameter-enum-value-added
- ○
added the new enum value
SOLANA_TESTNETto thequeryrequest parameterdestinationChainrequest-parameter-enum-value-added
- ○
added the new enum value
SOLANA_TESTNETto thequeryrequest parametersourceChainrequest-parameter-enum-value-added
- ○
added the new enum value
TRON_MAINNETto thequeryrequest parameterdestinationChainrequest-parameter-enum-value-added
- ○
added the new enum value
TRON_MAINNETto thequeryrequest parametersourceChainrequest-parameter-enum-value-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
added the new required
queryrequest parameteramountSymbolnew-required-request-parameter
- ○
added the new enum value
HYPEREVM_MAINNETto thequeryrequest parameterdestinationChainrequest-parameter-enum-value-added
- ○
added the new enum value
HYPEREVM_MAINNETto thequeryrequest parametersourceChainrequest-parameter-enum-value-added
- ○
added the new enum value
LISK_MAINNETto thequeryrequest parameterdestinationChainrequest-parameter-enum-value-added
- ○
added the new enum value
LISK_MAINNETto thequeryrequest parametersourceChainrequest-parameter-enum-value-added
- ○
added the new enum value
MONAD_MAINNETto thequeryrequest parameterdestinationChainrequest-parameter-enum-value-added
- ○
added the new enum value
MONAD_MAINNETto thequeryrequest parametersourceChainrequest-parameter-enum-value-added
- ○
added the new enum value
MONAD_TESTNETto thequeryrequest parameterdestinationChainrequest-parameter-enum-value-added
- ○
added the new enum value
MONAD_TESTNETto thequeryrequest parametersourceChainrequest-parameter-enum-value-added
- ○
added the new enum value
OPTIMISM_MAINNETto thequeryrequest parameterdestinationChainrequest-parameter-enum-value-added
- ○
added the new enum value
OPTIMISM_MAINNETto thequeryrequest parametersourceChainrequest-parameter-enum-value-added
- ○
added the new enum value
OPTIMISM_TESTNETto thequeryrequest parameterdestinationChainrequest-parameter-enum-value-added
- ○
added the new enum value
OPTIMISM_TESTNETto thequeryrequest parametersourceChainrequest-parameter-enum-value-added
- ○
added the new enum value
POLYGON_MAINNETto thequeryrequest parameterdestinationChainrequest-parameter-enum-value-added
- ○
added the new enum value
POLYGON_MAINNETto thequeryrequest parametersourceChainrequest-parameter-enum-value-added
- ▲
- ○
added the media type
application/jsonfor the response with the status200response-media-type-added
- ○
added the non-success response with the status
400response-non-success-status-added
- ○
added the non-success response with the status
401response-non-success-status-added
- ○
added the non-success response with the status
500response-non-success-status-added
- ○
- ○
endpoint added
endpoint-added
This revision also has 8 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○