For the complete documentation index, see llms.txt. This page is also available as Markdown.

List of balance updates

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

get
/blockchain-v2/{asset}/balance-updates
Authorizations
api_keystringRequired

Coin Metrics API key can be specified as ?api_key= query parameter.

Path parameters
assetstringRequired

Asset name.

Query parameters
accountsstring[]Optional

Optional comma separated list of accounts to filter a response.
The list must contain a single element for Community users.

limit_per_accountinteger · int32Optional

How many entries per account the result should contain. It is applicable when multiple accounts are requested.
For Community users, this parameter is disabled and the limit is fixed to 100.

sub_accountsstring[]Optional

Optional comma separated list of sub-accounts to filter a response.
This parameter is disabled for Community users.

txidsstring[]Optional

Optional comma separated list of transaction identifiers (txid) to filter a response.
The list must contain a single element for Community users.

block_hashesstring[]Optional

Optional comma separated list of block hashes to filter a response.
The list must contain a single element for Community users.

denominationsstring[]Optional

Optional comma separated list of denominations to filter a response.
The list must contain a single element for Community users.

start_timestringOptional

Start of the time interval.
This field refers to the time field in the response.
Multiple formats of ISO 8601 are supported: 2006-01-20T00:00:00Z, 2006-01-20T00:00:00.000Z, 2006-01-20T00:00:00.123456Z, 2006-01-20T00:00:00.123456789Z, 2006-01-20, 20060120.
Inclusive by default. Mutually exclusive with start_height.
UTC timezone by default. Z suffix is optional and timezone parameter has a priority over it.
If start_time is omitted, response will include time series from the earliest time available.
This parameter is disabled for Community users.

end_timestringOptional

End of the time interval.
This field refers to the time field in the response.
Multiple formats of ISO 8601 are supported: 2006-01-20T00:00:00Z, 2006-01-20T00:00:00.000Z, 2006-01-20T00:00:00.123456Z, 2006-01-20T00:00:00.123456789Z, 2006-01-20, 20060120.
Inclusive by default. Mutually exclusive with end_height.
UTC timezone by default. Z suffix is optional and timezone parameter has a priority over it.
If end_time is omitted, response will include time series up to the latest time available.
This parameter is disabled for Community users.

start_heightinteger · int64Optional

The start height indicates the beginning block height for the set of data that are returned.
Inclusive by default. Mutually exclusive with start_time.
This parameter is disabled for Community users.

end_heightinteger · int64Optional

The end height indicates the ending block height for the set of data that are returned.
Inclusive by default. Mutually exclusive with end_time.
This parameter is disabled for Community users.

start_chain_sequence_numberinteger · int64Optional

Start of the chain_sequence_number interval.
This parameter is disabled for Community users.

end_chain_sequence_numberinteger · int64Optional

End of the chain_sequence_number interval.
This parameter is disabled for Community users.

include_sub_accountsbooleanOptional

Boolean indicating if the response should contain sub-accounts.
This parameter is disabled for Community users.

Default: false
chainstringOptional

Chain type. Supported values are main and all (includes both main and stale).
This parameter is disabled for Community users.

Default: main
start_inclusivebooleanOptional

Inclusive or exclusive corresponding start_* parameters.
This parameter is disabled for Community users.

Default: true
end_inclusivebooleanOptional

Inclusive or exclusive corresponding end_* parameters.
This parameter is disabled for Community users.

Default: true
timezonestringOptional

Timezone name for start_time and end_time timestamps.
This parameter does not modify the output times, which are always UTC.
Format is defined by TZ database.

Default: UTCExample: America/New_York
page_sizeinteger · int32 · min: 1 · max: 10000Optional

Number of items per single page of results.
This parameter is disabled for Community users.

Default: 100
paging_fromstring · enumOptional

Where does the first page start, at the start of the interval or at the end.
The value of this parameter is ignored if the endpoint supports the format parameter and its value is set to json_stream.

Default: endPossible values:
prettybooleanOptional

Human-readable formatting of JSON responses.

Default: false
next_page_tokenstringOptional

Token for receiving the results from the next page of a query.
Should not be used directly. To iterate through pages just use next_page_url response field.

ignore_unsupported_errorsbooleanOptional

Ignore "unsupported" errors for not currently supported by Coin Metrics items.

Default: false
Responses
200

Blockchain balance updates.

application/json

Blockchain balance updates response.

next_page_tokenstringOptional

Token of the next page results for a given request.

next_page_urlstringOptional

URL of the next page results for a given request.

get/blockchain-v2/{asset}/balance-updates

Last updated

Was this helpful?