Function getNativeTokenBalance

  • Retrieves balance value in native tokens of the network

    Returns

    A promise that resolves to a AccountData.

    Parameters

    • api: ApiPromise

      An ApiPromise instance.

    • currentAccount: InjectedAccountWithMeta

      The current account.

    Returns Promise<AccountData>

Generated using TypeDoc