matic-balances-address
Historical data This query already reads history - it uses the combined dataset, which needs the historical data add-on for this chain. Without the add-on it fails with 'access restricted: your plan only allows realtime'. Drop the dataset argument to fall back to the recent window. Datasets: https:
What it returns
- currency symbol
- smart contract
- balance amount
- amount in USD
- balance address
Filters
- balance address is 0x4c56…9FF4
The query
# Historical data
# This query already reads history - it uses the combined dataset, which
# needs the historical data add-on for this chain.
#
# Without the add-on it fails with 'access restricted: your plan only allows
# realtime'. Drop the dataset argument to fall back to the recent window.
#
# Datasets: https://docs.bitquery.io/docs/graphql/dataset/archive/
# Retention: https://docs.bitquery.io/docs/graphql/data-coverage-retention/
#
# For more info on the endpoint visit -
# https://docs.bitquery.io/docs/blockchain/Matic/
# For faster results try using indexed feilds in where and orderBy clause -
# https://docs.bitquery.io/docs/graphql/indexed-fields-reference/
{
EVM(network: matic, dataset: combined) {
Balances(
where: {Balance: {Address: {is: "0x4c569c1e541A19132AC893748E0ad54C7c989FF4"}}}
) {
Currency {
Symbol
SmartContract
}
Balance {
Amount(selectWhere: {gt: "0"})
AmountInUSD
Address
}
}
}
}
Similar queries
- Polygon — Current balance of an address · Polygon · Balances
- matic-balances-specific-token · Polygon · Balances
- matic-historical-balances-address · Polygon · Balances
- token holders using balances · Polygon · Balances
- matic-balances-history · Polygon · Balances