Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Protected api

Methods

Private createTuple

get

getAll

  • Get account balances.

    Parameters

    • account: AccountRef

      account name or account object id, 1.2.*

    • Optional assets: ChainObject[]

      object ids of the assets, 1.3.*, or undefined to get all nonzero

    Returns Observable<AssetAmount[]>

    list of amounts for different assets

getAllVesting

getAllWithAsset

  • Get account balance with asset.

    Parameters

    • account: AccountRef

      account name or account object id, 1.2.*

    • Optional assetSymbols: string[]

      asset symbols, eg. DCT, or undefined to get all nonzero

    Returns Observable<AssetWithAmount[]>

    a list of pairs of assets to amounts

Private getBalanceInternal

getWithAsset

  • Get account balance with asset.

    Parameters

    • account: AccountRef

      account name or account object id, 1.2.*

    • Default value assetSymbol: string = DCoreConstants.DCT_ASSET_SYMBOL

      asset symbol, eg. DCT

    Returns Observable<AssetWithAmount>

    a pair of asset to amount

Protected request

Generated using TypeDoc