balance history
token balance of an acoount and its history
Returns balance updates on Ethereum, where balance update address is 0x3416…27c6 and currency smart contract is 0xa0b8…eb48: currency name, smart contract and sum of balance update amount.
What it returns
- currency name
- smart contract
- sum of balance update amount
Filters
- balance update address is 0x3416…27c6
- currency smart contract is 0xa0b8…eb48
The query
query MyQuery {
EVM(network: eth, dataset: archive) {
BalanceUpdates(
where: {BalanceUpdate: {Address: {is: "0x3416cf6c708da44db2624d63ea0aaef7113527c6"}}, Currency: {SmartContract: {is: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}}}
) {
Currency {
Name
SmartContract
}
balance: sum(of: BalanceUpdate_Amount)
balance5dayago: sum(
of: BalanceUpdate_Amount
if: {Block: {Date: {till: "2024-12-09"}}}
)
balance10dayago: sum(
of: BalanceUpdate_Amount
if: {Block: {Date: {till: "2024-12-04"}}}
)
balance15dayago: sum(
of: BalanceUpdate_Amount
if: {Block: {Date: {till: "2024-11-26"}}}
)
BalanceUpdatebalance5dayago: sum(
of: BalanceUpdate_Amount
if: {Block: {Date: {till: "2024-12-09"}}}
)
BalanceUpdatebalance5dayago: sum(
of: BalanceUpdate_Amount
if: {Block: {Date: {till: "2024-12-09"}}}
)
}
}
}
Similar queries
- eth balance · Ethereum · BalanceUpdates
- Ethereum balance view · Ethereum · BalanceUpdates
- Balance update API explanation · Ethereum · BalanceUpdates
- MyQuery EVM · BNB Chain · BalanceUpdates
- usdt_holder_balance_update_ · Ethereum · BalanceUpdates