---
title: "List of balance updates"
method: GET
path: "/blockchain-v2/{asset}/balance-updates"
tags: ["List of blockchain entities v2"]
---

# List of balance updates

`GET /blockchain-v2/{asset}/balance-updates`

## Request

- Base URL: `https://api.coinmetrics.io/v4`
- URL: `https://api.coinmetrics.io/v4/blockchain-v2/{asset}/balance-updates`
- Auth: API key in query parameter `api_key`
- TypeScript: <https://skmtc.dev/coinmetrics/apis/coin-metrics-api-v4/docs/blockchain-v2/:asset/balance-updates/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a list of blockchain accounts balance updates.<br/> Results are ordered by tuple `(chain_sequence_number, block_hash)`.<br/> To fetch the next page of results use `next_page_url` JSON response field.<br/> Results are limited to the last 30 days for Community users.

## Path parameters

- `asset` string, required

## Query parameters

- `accounts` string[]
- `limit_per_account` integer
- `sub_accounts` string[]
- `txids` string[]
- `block_hashes` string[]
- `start_time` string
- `end_time` string
- `start_height` integer
- `end_height` integer
- `start_chain_sequence_number` integer
- `end_chain_sequence_number` integer
- `include_sub_accounts` boolean
- `chain` string
- `start_inclusive` boolean
- `end_inclusive` boolean
- `timezone` string
- `page_size` integer
- `paging_from` 'start' | 'end', PagingFrom
- `pretty` boolean
- `next_page_token` string

## Response `200`

Blockchain balance updates.

- BlockchainBalanceUpdatesResponseV2: Blockchain transactions response.
  - `data` BlockchainBalanceUpdateV2[], required
    - `chain_sequence_number` string, required: Chain sequence number.
    - `account` string, required: Account id.
    - `account_creation_height` string, required: Height of the block.
    - `change` string, required: Balance change.
    - `previous_balance` string, required: Balance of the account.
    - `new_balance` string, required: Balance of the account.
    - `transaction_sequence_number` string, required: It is used to order balance updates inside a single transaction to distinguish between serial and parallel balance updates.
    - `n_debits` string, required: Number of debits.
    - `n_credits` string, required: Number of credits.
    - `previous_debit_height` string: Height of the block.
    - `previous_credit_height` string: Height of the block.
    - `previous_chain_sequence_number` string: It is used to order balance updates inside a single transaction to distinguish between serial and parallel balance updates.
    - `sub_account` BlockchainBalanceUpdateSubAccount
      - `sub_account` string: Sub-account id.
      - `previous_balance` string: Balance of the account.
      - `new_balance` string: Balance of the account.
      - `n_debits` string: Number of debits.
      - `n_credits` string: Number of credits.
      - `previous_credit_height` string: Height of the block.
      - `previous_debit_height` string: Height of the block.
      - `previous_chain_sequence_number` string: It is used to order balance updates inside a single transaction to distinguish between serial and parallel balance updates.
      - `total_received` string: Total amount received.
      - `total_sent` string: Total amount sent.
      - `creation_height` string: Height of the block.
    - `stale` string: This field is set to true if the corresponding block is stale. Otherwise omitted.
    - `block_hash` string, required: Hash of the block.
    - `height` string, required: Height of the block.
    - `consensus_time` string, required: The time in ISO 8601 date-time format. Always with nanoseconds precision.
    - `txid` string: Identifier (txid) of the transaction.
    - `credit` boolean, required: Boolean indicating whether the update is a credit or a debit of the account.
    - `total_received` string, required: Total amount received.
    - `total_sent` string, required: Total amount sent.
  - `next_page_token` string: Token of the next page results for a given request.
  - `next_page_url` string: URL of the next page results for a given request.
  - `warning` WarningObject
    - `type` string, required: Warning type string. Can be used for warning identification.
    - `message` string, required: Human-friendly warning description. Do not use for warning identification in your code.

## Other responses

- `401`: Requested resource requires authorization.
- `403`: Requested resource is not available with supplied credentials.

---

[API](https://skmtc.dev/coinmetrics/apis/coin-metrics-api-v4.md) - [All operations](https://skmtc.dev/coinmetrics/apis/coin-metrics-api-v4/llms.txt) - [OpenAPI document](https://skmtc.dev/coinmetrics/apis/coin-metrics-api-v4/revisions/774268c0a4fe?raw)
