Function getLockAccountsWithNonZeroBalances

  • Same as getLockAccounts but will only return those lock accounts that currently have locked assets.

    Parameters

    • connection: Connection

      the connection to use when calling the blockchain

    • accountId: BufferId

      the id of the account for which to fetch lock accounts

    Returns Promise<LockAccount[]>

    a list of lock accounts. The list will be empty in case of no lock accounts with non zero balances