Type alias SupportedTokensRequest

SupportedTokensRequest: {
    chainId?: ChainId[];
    protocol?: Protocol[];
    includePricing?: boolean;
    toToken?: Web3Address;
    toChainId?: ChainId;
}

Type declaration

  • Optional chainId?: ChainId[]

    Filter by chainId.

    Default

    []

  • Optional protocol?: Protocol[]

    Filter by protocol.

    Default

    []

  • Optional includePricing?: boolean

    Whether to include pricing.

    Default

    false

  • Optional toToken?: Web3Address

    Address of toToken, the token you wish to zap into. Use this if you'd like to receive a list of tokens you can zap in with.

  • Optional toChainId?: ChainId

    ChainId of the to_token. See https://chainlist.org/.

Generated using TypeDoc