balance updates on solana for a particular address

Streams balance updates on Solana as they happen, where account address is So1111…1112: account address, balance update amount, decimals, fungible, currency mint address, currency name, native and 5 more fields.

By Akshat · saved 19 April 2024 · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    BalanceUpdates(
      where: {BalanceUpdate: {Account: {Address: {is: "So11111111111111111111111111111111111111112"}}}}
    ) {
      BalanceUpdate { 
        Account {
          Address
        }
        Amount
        Currency {
          Decimals
          Fungible
          MintAddress
          Name
          Native
          Symbol
          ProgramAddress
        }
        PostBalance
        PreBalance
      }
      Transaction {
        Signature
      }
    }
  }
}

Similar queries