Latest Trades of NFT Token subscription

Returns 10 transfers on Ethereum, where currency smart contract is 0x9635…e2ee, transfer receiver is not 0x and transfer sender is not 0x: chain ID, transfer amount, sender, receiver, currency symbol, smart contract, block number and 2 more fields.

By Nadia · saved 11 August 2023 · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $offset: Int, $limit: Int!, $from: String, $till: String, $token: String!) {
  EVM(network: $network, dataset: combined) {
    Transfers(
      where: {Block: {Date: {since: $from, till: $till}}, Transfer: {Currency: {SmartContract: {is: $token}}, Receiver: {not: "0x"}, Sender: {not: "0x"}}}
      limit: {count: $limit, offset: $offset}
    ) {
      ChainId
      Transfer {
        Amount
        Sender
        Receiver
        Currency {
          Symbol
          SmartContract
        }
      }
      Block {
        Number
        Time
      }
      Transaction {
        Hash
      }
    }
  }
}

Variables

{
  "network": "eth",
  "limit": 10,
  "offset": 0,
  "from": "2023-08-02",
  "till": "2023-08-10",
  "token": "0x963590fabdc1333d03bc3af42a6b2ab33e21e2ee"
}

Similar queries