Latest Trades of NFT Tokens in Network

Returns the latest 10 DEX trades on Arbitrum, where buy currency smart contract is not 0x, sell currency smart contract is not 0x and sell seller is not 0x: block time, transaction hash, protocol family, protocol name, protocol version, smart contract, buy smart contract and 11 more fields.

By Dheeraj Maske · saved 13 February 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The query

 {
  EVM(network: arbitrum, dataset: combined) {
    DEXTrades(
      orderBy: {descending: Block_Number}
      limit: {count: 10}
      where: {Trade: {Buy: {Currency: {Fungible: false, SmartContract: {not: "0x"}}}, Sell: {Currency: {SmartContract: {not: "0x"}}, Seller: {not: "0x"}}}, Block: {Date: {till: "2024-01-10", since: "2020-01-10"}}}
    ) {
      Block {
        Time
      }
      Transaction {
        Hash
      }
      Trade {
        Dex {
          ProtocolFamily
          ProtocolName
          ProtocolVersion
          SmartContract
        }
        Buy {
          Currency {
            SmartContract
            Symbol
          }
          Price
          Amount
          Seller
          Buyer
          Ids
          URIs
        }
        Sell {
          Amount
          Currency {
            Symbol
            SmartContract
          }
        }
      }
      ChainId
    }
  }
}

Variables

{"network":"arbitrum","mempool":false,"limit":10,"offset":0,"from":"2024-02-06","till":"2024-02-13","dateFormat":"%Y-%m-%d","date_middle":"2024-02-09"}

Similar queries