The addressstats field allows us to retrieves statistics related to blockchain addresses.
Address statistics summarize a Dash address's lifetime activity: total sent and received amounts, transaction counts, fee expenditure, and days with activity. These aggregates help compliance teams, explorer backends, and wallet services build address profile pages or flag unusual patterns without replaying the full UTXO history.
Here is an example that demonstrates how to retrieve statistics about a specific address:
{
Dash(network: dash) {
addressStats(address: {is: "Xe57RefnjoHrN67uA4y6qanvBc8BQE49Qg"}) {
address {
address
annotation
balance
inboundTransactions
inflows
outboundTransactions
outflows
uniqueDaysWithTransfers
uniqueReceivers
uniqueSenders
}
}
}
}
Filtering Address Stats
address: Filter by a specific address or a list of addressesoptions: Filter returned data by ordering, limiting, and constraining it. Available fields:asc,ascByInteger,desc,descByInteger,limit,limitBy,offset.
address: Returns statistics for the blockchain address