Interface MarginWalletTokens

A collection of AssociatedToken wallet balances. Note that only associated token accounts will be present and auxiliary accounts are ignored.

Hierarchy

  • MarginWalletTokens

Properties

Properties

An array of every associated token account owned by the wallet.

map: Record<string, AssociatedToken>

A map of token symbols to associated token accounts.

Usage

map["USDC"].amount.tokens.toFixed(2)

Remarks

Only tokens within the MarginConfig will be present.

Generated using TypeDoc