Bitcoin Cash — Total sent from an address
Sums everything an address has ever spent on Bitcoin Cash. Subtract this from total received to get the current balance.
What it returns
- value
- count
- minimum of date
- maximum of date
Filters
- input address is qzm47q…3znl
The query
# Bitcoin Cash - Balances & Holders - Total sent from an address
#
# 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.
#
# Datasets: https://docs.bitquery.io/docs/graphql/dataset/archive/
# Retention: https://docs.bitquery.io/docs/graphql/data-coverage-retention/
query ($address: String!) {
bitcoin(network: bitcash) {
inputs(inputAddress: {is: $address}) {
value(calculate: sum)
count
min_date: minimum(of: date)
max_date: maximum(of: date)
}
}
}
Variables
{"address": "qzm47qz5ue99y9yl4aca7jnz7dwgdenl85jkfx3znl"}
Similar queries
- Bitcoin Cash — Balance of an address at a past date · Bitcash · outputs
- Bitcoin Cash — Address activity summary · Bitcash · inputs
- BCH missing input · Bitcash · inputs
- bch-bilal · Bitcash · outputs
- bch_balance_block · Bitcash · outputs