Copy of balance_breezing

Returns balance updates and transfers, where balance update address is 0x9510…b2ff, transfer sender is 0x9510…b2ff and transfer receiver is 0x9510…b2ff: smart contract, currency name, currency symbol, fungible, decimals, has URI, protocol name and 9 more fields.

By George · saved 21 May 2024 · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: archive) {
    BalanceUpdates(
      where: {BalanceUpdate: {Address: {is: "0x951006BAbFC681a8d78E1339B00820e94074b2ff"}}}
    ) {
      Currency {
        tokenAddress: SmartContract
        tokenName: Name
        tokenSymbol: Symbol
        Fungible
        tokenDecimals: Decimals
        HasURI
        ProtocolName
      }
      balance: sum(of: BalanceUpdate_Amount)
      balanceUSD: sum(of: BalanceUpdate_AmountInUSD)
    }
    Transfers(
      where: {any: {Transfer: {Sender: {is: "0x951006BAbFC681a8d78E1339B00820e94074b2ff"}, Receiver: {is: "0x951006BAbFC681a8d78E1339B00820e94074b2ff"}}}}
    ) {
      Transfer {
        Amount
        AmountInUSD
        Currency {
          Decimals
          Name
          SmartContract
          Symbol
          Fungible
        }
        Success
        Receiver
        Sender
      }
      Block {
        Time
        Number
      }
    }
  }
}

Similar queries