spur-client - v0.5.1
    Preparing search index...

    Interface SpurQuote

    interface SpurQuote {
        inputAmount: string;
        inputMint: string;
        limits: Limits;
        outputAmount: string;
        outputMint: string;
        quotes: {
            alts: string[];
            instructions: Instruction[];
            min_amount_out: string;
            swaps: SwapInfo[];
        }[];
    }
    Index

    Properties

    inputAmount: string

    u64 native atoms encoded as decimal string

    inputMint: string

    base58 encoded PublicKey

    limits: Limits
    outputAmount: string

    u64 native atoms without slippage tolerance encoded as decimal string

    outputMint: string

    base58 encoded PublicKey

    quotes: {
        alts: string[];
        instructions: Instruction[];
        min_amount_out: string;
        swaps: SwapInfo[];
    }[]

    The API returns multiple routes that should be be included in the transaction for improved trade execution.

    Type declaration

    • alts: string[]

      base58 encoded PublicKey

    • instructions: Instruction[]
    • min_amount_out: string

      u64 native atoms encoded as decimal string

    • swaps: SwapInfo[]