staking transaction balance update stream

Streams transaction balances on Ethereum as they happen, where token balance balance change reason code is 2, 3 or 1 more: block time, block number, token balance address, pre balance, post balance, balance change reason code, post balance in USD and transaction hash.

By Kshitij Mahajan · saved 18 November 2025 · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  EVM(network: eth) {
    TransactionBalances(
      where: {TokenBalance: {BalanceChangeReasonCode: {in: [2, 3, 5]}}}
    ) {
      Block {
        Time
        Number
      }
      TokenBalance {
        Address
        PreBalance
        PostBalance
        BalanceChangeReasonCode
        PostBalanceInUSD
      }
      Transaction {
        Hash
      }
    }
  }
}

Similar queries