Docs
chromia.com

Function

getBalancesByAccountId

  • getBalancesByAccountId(
        queryable: Queryable,
        accountId: BufferId,
        limit?: OptionalLimit,
        cursor?: OptionalPageCursor,
    ): Promise<PaginatedEntity<Balance>>

    Fetches all balances for a specified account as a paginated entity

    Parameters

    • queryable: Queryable

      the client to use to query the blockchain

    • accountId: BufferId

      the id of the account to fetch balances for

    • limit: OptionalLimit = null

      maximum page size

    • cursor: OptionalPageCursor = null

      where the page should start

    Returns Promise<PaginatedEntity<Balance>>