Function getAssetBalance

  • Retrieves the asset balance of a given account.

    Returns

    A promise that resolves with the retrieved asset balance.

    Parameters

    • api: ApiPromise

      The API instance used to query the chain.

    • assetId: number

      The ID of the asset to query. More details

    • currentAccount: InjectedAccountWithMeta

      The account from which to retrieve the asset balance.

    Returns Promise<AssetBalance>

Generated using TypeDoc