Cross Chain
The source chain from which the cross-chain swap will originate. Can be specified as chain ID or name. See here for the list of supported chains
8453The destination chain where tokens will be received after the cross-chain swap. Can be specified as chain ID or name. See here for the list of supported chains
42161The contract address of the token to sell on the origin chain. Format varies by chain type (EVM address for EVM chains, token mint address for Solana)
0xcbb7c0000ab88b473b1f5afd9ef808440eed33bfThe contract address of the token to buy on the destination chain. Format varies by chain type (EVM address for EVM chains, token mint address for Solana)
0xaf88d065e77c8cc2239327c5edb3a432268e5831The amount of sellToken (in sellToken's base units) to sell on the origin chain
2570Pattern: ^-?(0|[1-9]\d*)$The wallet address on the origin chain that holds the sellToken balance and will initiate the cross-chain transaction
0x56EB0aD2dC746540Fab5C02478B31e2AA9DdC38CThe wallet address on the destination chain that will receive the buyToken. If not specified, defaults to originAddress on the destination chain
0x56EB0aD2dC746540Fab5C02478B31e2AA9DdC38CThe Solana address that will pay for transaction fees when the origin chain is Solana. Only applicable for Solana origin chains
The maximum acceptable slippage for each swap or bridge step of the cross-chain swap in basis points (100 = 1%)
100Comma-separated list of bridge providers to exclude from routing
Comma-separated list of DEX sources to exclude from routing on both chains
The trading fee amounts in basis points to charge on the origin chain (supports single or comma-separated values). Must be used together with feeRecipient. When multiple values are provided, must match the length of feeRecipient.
""The wallet addresses to receive trading fees on the origin chain (supports single or comma-separated values). Must be used together with feeBps. When multiple values are provided, must match the length of feeBps.
""The EVM token addresses for fee collection on the origin chain (supports single or comma-separated values). Must be the same as sellToken. When multiple values are provided, must match the length of feeBps. If omitted, defaults to sellToken.
""How to sort the returned quotes - either by speed (fastest execution time) or price (best exchange rate)
speedPossible values: The maximum number of cross-chain quotes to return, between 1 and 10. Each quote represents a different combination of bridges and DEXs
3Visit dashboard.0x.org to get your API Key
Successful response
400 error response
500 error response
The origin chain where the cross-chain transaction was initiated
8453The transaction hash on the origin chain to track. Format varies by chain type (32-byte hex for EVM, base58 signature for Solana)
0xe347e66b1d9793a11a962c1483f9eef03272c362c41dc1f21c87577ef5ec1a7cThe quote ID associated with the cross-chain transaction
Visit dashboard.0x.org to get your API Key
Successful response
The current status of the cross-chain transaction
The bridge provider handling the cross-chain transfer
Transaction details for manual retry if the cross-chain operation failed or is stuck
The unique ZeroEx identifier for tracking this cross-chain request
400 error response
404 error response
500 error response
Visit dashboard.0x.org to get your API Key
Successful response
The unique ZeroEx identifier for tracking this cross-chain request
400 error response
500 error response
The wallet address of the user to get transaction history for. Accepts both EVM (0x...) and Solana addresses
^0x[a-fA-F0-9]{40}$Maximum number of transactions to return
20Visit dashboard.0x.org to get your API Key
Successful response
The unique ZeroEx identifier for tracking this cross-chain request
400 error response
404 error response
500 error response
The source chain from which the cross-chain swap will originate. Can be specified as chain ID or name. See here for the list of supported chains
8453The destination chain where tokens will be received after the cross-chain swap. Can be specified as chain ID or name. See here for the list of supported chains
42161The contract address of the token to sell on the origin chain. Format varies by chain type (EVM address for EVM chains, token mint address for Solana)
0xcbb7c0000ab88b473b1f5afd9ef808440eed33bfThe contract address of the token to buy on the destination chain. Format varies by chain type (EVM address for EVM chains, token mint address for Solana)
0xaf88d065e77c8cc2239327c5edb3a432268e5831The amount of sellToken (in sellToken's base units) to sell on the origin chain
2570Pattern: ^-?(0|[1-9]\d*)$The wallet address on the origin chain that holds the sellToken balance and will initiate the cross-chain transaction
0x56EB0aD2dC746540Fab5C02478B31e2AA9DdC38CThe wallet address on the destination chain that will receive the buyToken. If not specified, defaults to originAddress on the destination chain
0x56EB0aD2dC746540Fab5C02478B31e2AA9DdC38CThe Solana address that will pay for transaction fees when the origin chain is Solana. Only applicable for Solana origin chains
The maximum acceptable slippage for each swap or bridge step of the cross-chain swap in basis points (100 = 1%)
100Comma-separated list of bridge providers to exclude from routing
Comma-separated list of DEX sources to exclude from routing on both chains
The trading fee amounts in basis points to charge on the origin chain (supports single or comma-separated values). Must be used together with feeRecipient. When multiple values are provided, must match the length of feeRecipient.
""The wallet addresses to receive trading fees on the origin chain (supports single or comma-separated values). Must be used together with feeBps. When multiple values are provided, must match the length of feeBps.
""The EVM token addresses for fee collection on the origin chain (supports single or comma-separated values). Must be the same as sellToken. When multiple values are provided, must match the length of feeBps. If omitted, defaults to sellToken.
""The maximum number of cross-chain quotes to return, between 1 and 10. Each quote represents a different combination of bridges and DEXs
5Visit dashboard.0x.org to get your API Key
Successful response
A Server-Sent Event containing cross-chain quote information as it becomes available
The unique ZeroEx identifier for tracking this cross-chain request
The streaming event containing either quote data or final result
400 error response
500 error response
Last updated