Arc Testnet: Net change per currency over a window
Sum the updates per currency to see what a wallet gained or lost over the last 24 hours on Circle Arc testnet (EVM network arc_testnet).
What it returns
- currency symbol
- smart contract
- native
- sum of balance update amount
- count
Filters
- balance update address is 0x2de8…2bcb
The query
{
EVM(network: arc_testnet) {
BalanceUpdates(
where: {
BalanceUpdate: {Address: {is: "0x2de8906a641d65d490bc60a4179d961d59742bcb"}}
Block: {Time: {since_relative: {hours_ago: 24}}}
}
orderBy: {descendingByField: "netChange"}
) {
Currency {
Symbol
SmartContract
Native
}
netChange: sum(of: BalanceUpdate_Amount)
inflow: sum(of: BalanceUpdate_Amount, if: {BalanceUpdate: {Amount: {gt: "0"}}})
outflow: sum(of: BalanceUpdate_Amount, if: {BalanceUpdate: {Amount: {lt: "0"}}})
updates: count
}
}
}
Similar queries
- Arc Testnet: Top holders of a token · Arc testnet · BalanceUpdates
- Arc Testnet: Balance history of a wallet · Arc testnet · BalanceUpdates
- Arc Testnet: New Uniswap v4 pools · Arc testnet · Events
- Arc Testnet: Trades on one DEX · Arc testnet · DEXTrades