weth token balance of a wallet at a particular block
weth token balance on a block
Returns balance updates on Ethereum, where balance update address is 0xCea3…6129, currency smart contract is 0xC02a…6Cc2 and block number is at most 18599923: balance update address, sum of balance update amount, currency name, smart contract and currency symbol.
What it returns
- balance update address
- sum of balance update amount
- currency name
- smart contract
- currency symbol
Filters
- balance update address is 0xCea3…6129
- currency smart contract is 0xC02a…6Cc2
- block number is at most 18599923
The query
{
EVM(network: eth, dataset: combined) {
BalanceUpdates(
# if you want balance of token on balance on a block set
# block value to less than equal to ("le" filter) number of that block
where: {BalanceUpdate: {Address: {is: "0xCea392596F1AB7f1d6f8F241967094cA519E6129"}}, Currency: {SmartContract: {is: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"}}, Block: {Number: {le: "18599923"}}}
) {
BalanceUpdate {
Address
}
Balance: sum(of: BalanceUpdate_Amount)
Currency {
Name
SmartContract
Symbol
}
}
}
}
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