Interface GetSwapQuoteArgs

Query args for Get Swap Quote endpoint.

interface GetSwapQuoteArgs {
    amount: string;
    chain: string;
    slippage?: number;
    taker_address?: string;
    token_in: string;
    token_out: string;
}

Properties

amount: string

Amount of input token

chain: string

Chain for the swap

slippage?: number

Slippage tolerance

taker_address?: string

Address of the taker

token_in: string

Address of the input token

token_out: string

Address of the output token