Docs
chromia.com

Function

getLockAccounts

  • getLockAccounts(
        connection: Connection,
        accountId: BufferId,
    ): Promise<LockAccount[]>

    Returns all lock account associated with a specific account

    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