/** * @example * { * amount: "100", * from_token: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", * to_token: "0x1b64b9025eebb9a6239575df9ea4b9ac46d4d193" * } */ export interface CreateQuoteSwapsRequest { /** Source token amount. */ amount: string; /** Source wallet address used for the quote. */ from_address?: string | null; /** Source chain name or chain ID. Defaults to the source token's chain when omitted. */ from_chain?: CreateQuoteSwapsRequest.FromChain | null; /** Source token contract address or ticker symbol, such as "USDT". */ from_token: string; /** Metadata to include with the quote response. */ metadata?: Record; /** Maximum slippage tolerance in basis points. */ slippage_bps?: number | null; /** Destination wallet address used for the quote. */ to_address?: string | null; /** Destination chain name or chain ID. Defaults to the destination token's chain when omitted. */ to_chain?: CreateQuoteSwapsRequest.ToChain | null; /** Destination token contract address or ticker symbol, such as "XAUT". */ to_token: string; } export declare namespace CreateQuoteSwapsRequest { /** * Source chain name or chain ID. Defaults to the source token's chain when omitted. */ type FromChain = string | number; /** * Destination chain name or chain ID. Defaults to the destination token's chain when omitted. */ type ToChain = string | number; }