Latest native balance of an address bsc
Historical data This query uses the realtime dataset (the default), which holds only a recent window - hours to days depending on the cube. For older data add a dataset to the top-level element: EVM(network: bsc, dataset: combined) archive full history combined archive + realtime in one result Ar
What it returns
- block time
- currency symbol
- has URI
- smart contract
- pre balance
- post balance
- token balance address
- balance change reason code
- total supply in USD
- total supply
- owns
- token ownership ID
- post balance in USD
- transaction hash
Filters
- token balance address is 0x238a…e6c4
The query
# Historical data
# This query uses the realtime dataset (the default), which holds only a
# recent window - hours to days depending on the cube.
#
# For older data add a dataset to the top-level element:
#
# EVM(network: bsc, dataset: combined)
#
# archive full history
# combined archive + realtime in one result
#
# Archive and combined need the historical data add-on:
# https://bitquery.io/pricing
#
# Datasets: https://docs.bitquery.io/docs/graphql/dataset/archive/
# Retention: https://docs.bitquery.io/docs/graphql/data-coverage-retention/
#
{
EVM(network: bsc) {
TransactionBalances(
limit: {count: 1}
orderBy: {descending: Block_Time}
where: {TokenBalance: {Address: {is: "0x238a358808379702088667322f80ac48bad5e6c4"}, Currency: {Native: true}}}
) {
Block {
Time
}
TokenBalance {
Currency {
Symbol
HasURI
SmartContract
}
PreBalance
PostBalance
Address
BalanceChangeReasonCode
TotalSupplyInUSD
TotalSupply
TokenOwnership {
Owns
Id
}
PostBalanceInUSD
}
Transaction {
Hash
}
}
}
}
Similar queries
- XXtop 10 holders percentage · BNB Chain · TransactionBalances
- latest balance across address · BNB Chain · TransactionBalances
- Transaction balances · BNB Chain · TransactionBalances
- Self-Destruct Balance Increase API bsc · BNB Chain · TransactionBalances
- Self-Destruct Balance Decrease API bsc · BNB Chain · TransactionBalances