NFT HLODER

Returns 10 balance updates on Ethereum, where balance update address is 0x5152…a40f, sorted by amount, highest first: currency name, currency symbol, smart contract, balance update address, balance update ID, URI, sum of balance update amount and 4 more fields.

By Suippe · saved 19 August 2023 · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $limit: Int!, $offset: Int!, $address: String) {
  EVM(dataset: combined, network: $network) {
    BalanceUpdates(
      orderBy: {descendingByField: "amount"}
      limit: {offset: $offset, count: $limit}
      where: {BalanceUpdate: {Address: {is: $address}}, Currency: {Fungible: false}}
    ) {
      Currency {
        Name
        Symbol
        SmartContract
      }
      BalanceUpdate {
        Address
        Id
        URI
      }
      amount: sum(of: BalanceUpdate_Amount)
      Block {
        Time(maximum: Block_Time)
      }
      count
      ChainId
      Transaction {
        Hash
      }
    }
  }
}

Variables

{
  "network": "eth",
  "limit": 10,
  "offset": 0,
  "address": "0x515299b1a2637181ec95a3efeaa42a466195a40f"
}

Similar queries