Interface QuoteResponse

QuoteResponse

interface QuoteResponse {
    computedAutoSlippage?: number;
    contextSlot?: number;
    inAmount: string;
    inputMint: string;
    otherAmountThreshold: string;
    outAmount: string;
    outputMint: string;
    platformFee?: PlatformFee;
    priceImpactPct: string;
    routePlan: RoutePlanStep[];
    slippageBps: number;
    swapMode: SwapMode;
    timeTaken?: number;
}

Properties

computedAutoSlippage?: number

QuoteResponse

contextSlot?: number

QuoteResponse

inAmount: string

QuoteResponse

inputMint: string

QuoteResponse

otherAmountThreshold: string

QuoteResponse

outAmount: string

QuoteResponse

outputMint: string

QuoteResponse

platformFee?: PlatformFee

QuoteResponse

priceImpactPct: string

QuoteResponse

routePlan: RoutePlanStep[]

QuoteResponse

slippageBps: number

QuoteResponse

swapMode: SwapMode

QuoteResponse

timeTaken?: number

QuoteResponse