NFT OWNER

Returns the latest balance update on Ethereum, where currency smart contract is 0xd430…8792 and balance update ID is 9996: currency name, smart contract, balance update address, balance update amount, balance update ID, block number and block date.

By Ashpreet Singh Anand · saved 15 March 2024 · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    BalanceUpdates(
      orderBy: { descending: Block_Time }
      limit: { count: 1 }
      where: {
        BalanceUpdate: { Id: { eq: "9996" } }
        Currency: {
          Fungible: false
          SmartContract: { is: "0xd4307e0acd12cf46fd6cf93bc264f5d5d1598792" }
        }
      }
    ) {
      Currency {
        Name
        SmartContract
      }
      BalanceUpdate {
        Address
        Amount
        Id
      }
      Block {
        Number
        Date
      }
    }
  }
}

Similar queries