address_balance_updates

Returns the latest balance updates on Polygon, where currency smart contract is 0x44b3…97Cb and balance update address is 0x6aa0…7FEC: balance update address, balance update amount, currency name, smart contract, currency symbol, fungible, protocol name and 2 more fields.

By Omkar_BQ · saved 30 September 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query ($address: String!, $token: String!) {
  EVM(network: matic, dataset: combined) {
    BalanceUpdates(
      where: {Currency: {SmartContract: {is: $token}}, BalanceUpdate: {Address: {is: $address}}}
      orderBy: {descending: Block_Number}
    ) {
      BalanceUpdate {
        Address
        Amount
      }
      Currency {
        Name
        SmartContract
        Symbol
        Fungible
        ProtocolName
      }
      Block {
        Number
      }
      Transaction {
        Hash
      }
    }
  }
}

Variables

{
  "address": "0x6aa0bCdFC326B5FC3555C6BD888b1920d2527FEC",
  "token": "0x44b3f42e2BF34F62868Ff9e9dAb7C2F807ba97Cb"
}

Similar queries