Skip to main content

Fantom Address Stats API

Endpoint

Fantom GraphQL queries are served at https://graphql.bitquery.io. Pass network: fantom to the ethereum field.

The addressstats field allows us to retrieves statistics related to blockchain addresses.

Address statistics provide an aggregate profile of a Fantom address in a single query: total sent and received amounts, transaction counts (including calls and called transactions), fee expenditure, the number of distinct currencies involved, and the count of active days. This is useful for compliance profiling, risk scoring, explorer summary pages, and any workflow where you need a high-level view of an address's lifetime activity without pulling every individual transaction.

Here is an example that demonstrates how to retrieve statistics about the USDT smart contract:

{
ethereum(network: fantom) {
addressStats(address: {is: "0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83"}) {
address {
balance
callTxCount
calledTxCount
daysWithReceived
daysWithSent
daysWithTransactions
daysWithTransfers
feeAmount
otherTxCount
receiveAmount
receiveFromCurrencies
receiveTxCount
receiveFromCount
sendAmount
sendToCount
sendToCurrencies
sendTxCount
}
}
}
}
Filtering Address Stats
  • address: Filter by a specific address or a list of addresses
  • options: 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
Build with Bitquery

Ready to run this in production?

Get an API key and run these queries in minutes, or talk to us about plans and enterprise delivery.