QuoteParams
Parameters for requesting a swap quote.Chain identifier (e.g., “501” for Solana, “1” for Ethereum)
Contract address of the source token
Contract address of the destination token
Amount to swap in the smallest unit (e.g., wei for ETH)
User’s wallet address
Slippage tolerance as a percentage (e.g., “0.5” for 0.5%)
Comma-separated list of DEX IDs to route through
Use direct routing without intermediate tokens
Maximum acceptable price impact percentage
Custom fee percentage for the swap
QuoteData
Complete quote information including routing and pricing details.Chain identifier
Context slot number (Solana-specific)
List of DEX routers used in the swap path
Estimated gas fee for the transaction
Source token information
Destination token information
Amount of source token to swap
Expected amount of destination token to receive
Price impact as a percentage
Router address or identifier
Swap mode (e.g., “exactIn”, “exactOut”)
Trading fee amount
Detailed routing result
Transaction data for execution
RouterResult
Detailed routing information for a swap.Chain identifier
Context slot number (Solana-specific)
List of DEX routers in the swap path
Estimated gas fee
Source token information
Destination token information
Source token amount
Destination token amount
Price impact percentage
Router address or identifier
Swap mode
Trading fee
DexRouter
Information about a DEX router in the swap path.DEX protocol information
Source token for this router hop
Index of the source token
Destination token for this router hop
Index of the destination token
TokenInfo
Information about a token.Token decimals
Whether the token is identified as a honeypot
Token tax rate percentage
Token contract address
Token symbol
Token unit price in USD