NFT Transfers List By Id

Returns the latest transfer on Ethereum, where currency smart contract is 0x3fc3…c159 and transfer ID is 7157: chain ID, block time, block number, transaction hash, sender, receiver, transfer amount and 3 more fields.

By Nadia · saved 28 May 2024 · run 3 times · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $limit: Int!, $offset: Int!, $token: String, $id: String) {
  EVM(dataset: combined, network: $network) {
    Transfers(
      orderBy: {descending: Block_Time}
      limit: {offset: $offset, count: $limit}
      where: {Transfer: {Id: {eq: $id}, Currency: {SmartContract: {is: $token}}}}
    ) {
      ChainId
      Block {
        Time
        Number
      }
      Transaction {
        Hash
      }
      Transfer {
        Sender
        Receiver
        Amount
        Currency {
          Symbol
        }
      }
    }
    token_info: Transfers(
      where: {Transfer: {Currency: {SmartContract: {is: $token}}}}
      limit: {count: 1}
    ) {
      Transfer {
        Currency {
          Name
          SmartContract
          Symbol
        }
      }
    }
  }
}

Variables

{
  "network": "eth",
  "limit": 10,
  "offset": 0,
  "token": "0x3fc3a022eb15352d3f5e4e6d6f02bbfc57d9c159",
  "id": "7157"
}

Similar queries