Documentation
API Reference
Types
WalletType

Type: WalletType

WalletType

This enum represents a wallet type. Every exchange has different wallet types. We unify them using the following logic:

  • SPOT - spot wallet, used for trading on the spot market.
  • MAIN - main wallet, used for storing funds.
  • FUTURES - futures wallet, used for trading on the futures market.
  • MARGIN - margin wallet, used for trading on the margin market.
  • OPTIONS - options wallet, used for trading on the options market.
  • EARN - earn wallet, used for earning interest, staking, etc.
  • BOT - bot wallet, used for trading with a bot.
  • CARD - card wallet, used for storing funds for a card.
  • OTHER - other wallet, used for other purposes that are not covered by the above types.

Keep in mind that the wallet types mentioned above can be different from the original exchange wallet types as they are unified.

enum WalletType {
  SPOT = "spot",
  MAIN = "main",
  FUTURES = "futures",
  MARGIN = "margin",
  OPTIONS = "options",
  EARN = "earn",
  BOT = "bot",
  CARD = "card",
  OTHER = "other",
}