Bitcoin Cash — Balance of an address at a past date
What one Bitcoin Cash address held as of a chosen date. Move the date in the Variables pane.
What it returns
- value
- count
Filters
- output address is qzm47q…3znl
- input address is qzm47q…3znl
- date till 2026-06-01
The query
# Bitcoin Cash - Balances & Holders - Balance of an address at a past date
#
# Balances are cumulative state, so this cannot be answered from the realtime
# window alone - a realtime-only balance is the change over the last few
# hours, not the balance.
#
# Bitquery V1 query - send it to https://graphql.bitquery.io. The V2 endpoint
# does not serve this chain.
#
# The date bound stops this scanning the whole chain - without one it fails
# with ClickHouse Code 241 (memory limit). Move `since` in the Variables pane;
# the safe window differs per chain.
#
# Datasets: https://docs.bitquery.io/docs/graphql/dataset/archive/
# Retention: https://docs.bitquery.io/docs/graphql/data-coverage-retention/
query ($address: String!, $asof: ISO8601DateTime) {
bitcoin(network: bitcash) {
received: outputs(outputAddress: {is: $address}, date: {till: $asof}) {
value(calculate: sum)
count
}
spent: inputs(inputAddress: {is: $address}, date: {till: $asof}) {
value(calculate: sum)
count
}
}
}
Variables
{"address": "qzm47qz5ue99y9yl4aca7jnz7dwgdenl85jkfx3znl", "asof": "2026-06-01T00:00:00Z"}
Similar queries
- Bitcoin Cash — Address activity summary · Bitcash · inputs
- Bitcoin Cash — Total received by an address · Bitcash · outputs
- BCH missing input · Bitcash · inputs
- bch-bilal · Bitcash · outputs
- bch_balance_block · Bitcash · outputs