NFT Token Information By ID

with owner info

Returns one balance update on Ethereum, where currency smart contract is 0x0fcb…4170, balance update ID is 6857 and balance update amount is above 0: chain ID, block number, block time, transaction hash, currency symbol, currency name, smart contract and 3 more fields.

By Nadia · saved 29 May 2023 · run 18 times · Bitquery API v2

What it returns

Filters

The query

query($network: evm_network, $token: String, $id: String) {
  EVM(dataset: combined network: $network){
    BalanceUpdates (
      orderBy: [{descending: Block_Number} {descending: Transaction_Index}]
      limit: {count: 1}
      where: {
        BalanceUpdate: {
          Id: {eq: $id}
          Amount: {gt: "0"}
        }
        Currency: {
          SmartContract: {is: $token}}
      }
    ){
			ChainId
      Block {
        Number
        Time
      }
      Transaction {
        Hash
      }
      Currency {
        Symbol
        Name
        SmartContract
      }
      
      BalanceUpdate {
        Address
        Id
        URI
      }
      
    }
  }
}

Variables

{
  "network": "eth",
  "token": "0x0fcbd68251819928c8f6d182fc04be733fa94170",
  "id": "6857"
}

Similar queries