Type alias TokenBalance

TokenBalance: {
    type: NATIVE | ERC20;
    balance: BigNumber;
    formattedBalance: string;
    token: TokenInfo;
}

Represents the balance for either a native or ERC20 token.

Type declaration

  • type: NATIVE | ERC20

    Type to indicate this is a native or ERC20 token.

  • balance: BigNumber

    The balance of the item.

  • formattedBalance: string

    The formatted balance of the item.

  • token: TokenInfo

    The token info of the item.

Generated using TypeDoc