Type alias SupportedTokensRequest

SupportedTokensRequest: {
    chainId?: ChainId[];
    protocol?: Protocol[];
    includeMetadata?: boolean;
    includePricing?: boolean;
    includeUnknown?: boolean;
}

Type declaration

  • Optional chainId?: ChainId[]

    Filter by chainId.

    Default

    []

  • Optional protocol?: Protocol[]

    Filter by protocol.

    Default

    []

  • Optional includeMetadata?: boolean

    Whether to include metadata.

    Default

    true

  • Optional includePricing?: boolean

    Whether to include pricing.

    Default

    false

  • Optional includeUnknown?: boolean

    Whether to also include the tokens that do not have metadata (when includeMetadata=true) or pricing (when includePricing=true).

    Default

    true

Generated using TypeDoc