Human-readable input amount (e.g., “1.5”)
Note: Either inputAmountDisplay or inputAmount should be passed
inputAmount*
string
Input amount in decimals units
Note: Either inputAmountDisplay or inputAmount should be passed
userWalletAddress*
string
User’s wallet address
recipient
string
Final recipient of the tokens. If not provided userWalletAddress is used by default
slippage
number
Slippage tolerance in basis points (100 = 1%)
solanaOptions
SolanaOptions
Solana-specific parameters
evmOptions
EvmOptions
EVM-specific parameters
skipChecks
boolean
Skip validation checks
include
string
Comma-separated list of providers to include
exclude
string
Comma-separated list of providers to exclude
recommendedProvider
boolean
Use only recommended providers
Solana Options
Field
Type
Description
solanaPriorityFee
number | PriorityLevel
Priority fee in micro lamports or priority level
solanaJitoTip
number | PriorityLevel
Jito MEV tip in lamports or priority level
Evm Options
Field
Type
Description
evmPriorityFee
number | PriorityLevel
Priority fee in wei or priority level
Response
A Route represents a complete path for token transfer, including all necessary steps and fee information.
Field
Type
Description
requestId
string
Unique identifier for the quote request
routeId
string
Unique identifier for this specific route
from
Asset
Source token details including chain and token information
to
Asset
Destination token details
steps
Steps[]
Array of execution steps (approval, swap, bridge, etc.)
fee
Fee[]
Breakdown of all fees involved
provider
Providers
Liquidity provider identifier
providerDetails
ProviderDetails
Additional provider information
protocolsUsed
string[]
List of protocols used in this route
inputAmount
string
Input amount in wei/native units
inputAmountDisplay
string
Human-readable input amount
outputAmount
string
Expected output in wei/native units
outputAmountDisplay
string
Human-readable output amount
minOutputAmount
string
Minimum output amount after slippage
minOutputAmountDisplay
string
Human-readable minimum output
slippage
number
Applied slippage tolerance in basis points
userWalletAddress
string
User's wallet address
recipient
string
Final recipient address
createdAt
number
Unix timestamp of quote creation
deadline
number
Unix timestamp when quote expires
estimatedTimeInSeconds
number
Estimated execution time
tags
string[]
Route classification tags
Example
The following example shows how to get quotes for a cross-chain swap transaction from Ethereum to Solana. We'll be fetching quotes for ETH on Ethereum to USDC on Solana.