I’m unable to get the balance of an address in streaming mode, it only gives me the changes to the balance, not the total, the same in query mode gives me the total…
{
EVM(dataset: combined, network: eth) {
BalanceUpdates(
where: {BalanceUpdate: {Address: {is: "${pairAddress}"}}}
orderBy: {descendingByField: "balance"}
) {
Currency {
Name
}
balance: sum(of: BalanceUpdate_Amount)
BalanceUpdate {
Address
}
}
}
}