Zcash — Total sent from an address

Sums everything an address has ever spent on Zcash. Subtract this from total received to get the current balance.

By gaurav · saved 26 August 2026 · Bitquery API v1

What it returns

Filters

The query

# Zcash - 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: zcash) {
    inputs(inputAddress: {is: $address}) {
      value(calculate: sum)
      count
      min_date: minimum(of: date)
      max_date: maximum(of: date)
    }
  }
}

Variables

{"address": "t1KDU9zGpFEQKtaVbEjJHqmwiNKMhLzMDzC"}

Similar queries