Copy of NFT Token Information

Returns one balance update on Ethereum, where currency smart contract is 0x90e4…82ef, sorted by updates, highest first: chain ID, currency symbol, currency name, smart contract, count, unique of balance update ID, unique of balance update address and block time.

By Abigail Ferguson Jones · saved 27 November 2024 · Bitquery API v1

What it returns

Filters

The query

query ($network: evm_network, $token: String) {
  EVM(dataset: realtime, network: $network) {
    BalanceUpdates(
      orderBy: {descendingByField: "updates"}
      limit: {count: 1}
      where: {Currency: {SmartContract: {is: $token}}}
    ) {
      ChainId
      Currency {
        Symbol
        Name
        SmartContract
      }
      updates: count(if: {BalanceUpdate: {Type: {is: transfer}}})
      ids: uniq(of: BalanceUpdate_Id, method: approximate)
      holders: uniq(of: BalanceUpdate_Address, method: approximate)
      Block {
        last: Time(maximum: Block_Time)
        first: Time(minimum: Block_Time)
      }
    }
  }
  utilities
}

Variables

{
  "network": "eth",
  "token": "0x90e4f6d98e53a974c06cf047e6fcbb2f2ce482ef",
  "limit": 10,
  "offset": 0
}

Similar queries