NFT Balance for an address

Returns balance updates on Ethereum, where balance update address is 0xe838…89c8, sorted by balance, highest first: currency name, fungible, smart contract, sum of balance update amount and balance update ID.

By gaurav · saved 26 May 2023 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    BalanceUpdates(
      where: {BalanceUpdate: {Address: {is: "0xe838de1fdfe4b2f3a04a57431e9287ea6ea289c8"}}, Currency: {Fungible: false}}
      orderBy: {descendingByField: "balance"}
    ) {
      Currency {
        Name
        Fungible
        SmartContract
      }
      balance: sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
      BalanceUpdate {
        Id
      }
    }
  }
}

Similar queries