NFT Token Information By ID

with owner info

Returns one balance update on Ethereum, where currency smart contract is 0xdac1…1ec7 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 Aleksey · saved 18 September 2023 · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $token: String) {
  EVM(dataset: archive, network: $network) {
    BalanceUpdates(
      orderBy: [{descending: Block_Number}, {descending: Transaction_Index}]
      limit: {count: 1}
      where: {BalanceUpdate: {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": "0xdac17f958d2ee523a2206206994597c13d831ec7",
  "id": "0"
}

Similar queries