Documentation
API Reference
Types
Tokens

Type: Tokens

TokenWithMarketNetwork

This type represents a market pair.

type TokenWithMarketNetwork = {
  tokenSymbol: TokenSymbol;
  tokenIcon?: string;
  isDepositable: boolean;
  isWithdrawable: boolean;
  networks: MarketNetwork[];
  precision?: number;
  contracts?: Record<string, string>;
};
  • tokenSymbol - TokenSymbol
    The token symbol.
  • tokenIcon - string, optional
    The token icon url.
  • isDepositable - boolean
    Indicates if the token is depositable from at least one network.
  • isWithdrawable - boolean
    Indicates if the token is withdrawable from at least one network.
  • networks - MarketNetwork[]
    The list of networks the token is available on. See MarketNetwork.
  • precision - number, optional
    The exchange token's precision.
  • contracts - Record<string, string>, optional
    The contracts of the token on the networks.