NFT ID details API

Returns the latest transfer, where currency smart contract is 0x7996…d33f and transfer ID is 291: block number, block time, smart contract, currency name, currency symbol, transfer type, transfer ID and 4 more fields.

By gaurav · saved 18 December 2023 · run 4 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: combined) {
    creator: Transfers(
      where: {Transfer: {Currency: {SmartContract: {is: "0x7996aafa2f733D57769e31e7EdA9444afC2fd33f"}}, Id: {eq: "291"}}}
      limit: {count: 1}
      orderBy: {ascending: Block_Time}
    ) {
      Block {
        Number
        Time
      }
      Transfer {
        Currency {
          SmartContract
          Name
          Symbol
        }
        Type
        Id
        Sender
        mint_address: Receiver
        URI
      }
    }
    ownership: Transfers(
      where: {Transfer: {Currency: {SmartContract: {is: "0x7996aafa2f733D57769e31e7EdA9444afC2fd33f"}}, Id: {eq: "291"}}}
      limit: {count: 1}
      orderBy: {descending: Block_Time}
    ) {
      Transaction {
        Hash
      }
      Block {
        Number
        Time
      }
      Transfer {
        Id
        Sender
        owner: Receiver
      }
    }
  }
}

Similar queries