Latest Trades of NFT Token subscription

Returns the latest 10 transfers on Arbitrum, where currency smart contract is 0x4e97…00b6, transfer receiver is not 0x and transfer sender is not 0x: chain ID, transfer amount, sender, receiver, transfer ID, currency symbol, smart contract and 3 more fields.

By Nadia · saved 14 September 2023 · run 1 time · Bitquery API v2

What it returns

Filters

The query

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

Variables

{
  "network": "arbitrum",
  "limit": 10,
  "offset": 0,
  "from": "2023-09-07",
  "till": "2023-09-14",
  "token": "0x4e971a87900b931ff39d1aad67697f49835400b6"
}

Similar queries