Interface JupiterQuoteResponse

interface JupiterQuoteResponse {
    contextSlot?: number;
    inAmount: string;
    inputMint: string;
    otherAmountThreshold: string;
    outAmount: string;
    outputMint: string;
    platformFee: null | {
        amount: string;
        feeBps: number;
    };
    priceImpactPct: string;
    routePlan: {
        percent: number;
        swapInfo: {
            ammKey: string;
            feeAmount: string;
            feeMint: string;
            inAmount: string;
            inputMint: string;
            label: string;
            outAmount: string;
            outputMint: string;
        };
    }[];
    slippageBps: number;
    swapMode: string;
    timeTaken?: number;
}

Properties

contextSlot?: number
inAmount: string
inputMint: string
otherAmountThreshold: string
outAmount: string
outputMint: string
platformFee: null | {
    amount: string;
    feeBps: number;
}
priceImpactPct: string
routePlan: {
    percent: number;
    swapInfo: {
        ammKey: string;
        feeAmount: string;
        feeMint: string;
        inAmount: string;
        inputMint: string;
        label: string;
        outAmount: string;
        outputMint: string;
    };
}[]
slippageBps: number
swapMode: string
timeTaken?: number