REST API
Overview
Endpoint
POST https://api.wheelx.fi/v1/quoteRequest
Request Body Schema
interface QuoteRequest {
from_chain: number; // Source chain ID (e.g., 1 for Ethereum)
to_chain: number; // Destination chain ID
from_token: string; // Source token address
to_token: string; // Destination token address
from_address: string; // User's wallet address (source)
to_address: string; // Recipient address (destination)
amount: number; // Amount to swap (in smallest units)
slippage?: number; // Optional slippage tolerance (default: auto)
}Example Request
Response
Response Schema
Example Response
Last updated