BenQue1
latest trades for a token - both buy and sell
Returns balance updates on Ethereum, where currency smart contract is 0x9813…18d9 and balance update address is 0xe290…2bae: balance update address and sum of balance update amount.
What it returns
- balance update address
- sum of balance update amount
Filters
- currency smart contract is 0x9813…18d9
- balance update address is 0xe290…2bae
The query
query BalanceUpdateNewHolderOrPositionUp($netzwerk: evm_network, $tokenContractAddress: String, $fromAddress: String){
EVM(network: $netzwerk, dataset: combined) {
BalanceUpdates(
where: {Currency: {SmartContract: {is: $tokenContractAddress}}, BalanceUpdate: {Address: {is: $fromAddress}}}
) {
BalanceUpdate {
Address
}
Balance: sum(of: BalanceUpdate_Amount)
}
}
}
Variables
{
"tokenContractAddress": "0x9813037ee2218799597d83D4a5B6F3b6778218d9",
"fromAddress": "0xe290067bda29aab3b7b9fc7129c4b271eea02bae",
"netzwerk": "eth"
}
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