Mempool Subscription Latest Trades of NFT Tokens in Network

Streams DEX trades on Ethereum as they happen: block time, transaction hash, transaction time, protocol family, protocol name, protocol version, smart contract and 13 more fields.

By Nadia · saved 11 February 2025 · Bitquery API v2

What it returns

The subscription

subscription ($network: evm_network, $mempool: Boolean) {
  EVM(network: $network, mempool: $mempool) {
    DEXTrades(where: {Trade: {Buy: {Currency: {Fungible: false}}}}) {
      Block {
        Time
      }
      Transaction {
        Hash
        Time
      }
      Trade {
        Dex {
          ProtocolFamily
          ProtocolName
          ProtocolVersion
          SmartContract
        }
        Buy {
          Currency {
            SmartContract
            Symbol
          }
          Price
          Amount
          Seller
          Buyer
          Ids
          URIs
        }
        Sell {
          Amount
          AmountInUSD
          Currency {
            Symbol
            SmartContract
          }
        }
      }
      ChainId
    }
  }
}

Variables

{
  "network": "eth",
  "mempool": true,
  "limit": 10,
  "offset": 0,
  "from": "2025-02-04",
  "till": "2025-02-11",
  "dateFormat": "%Y-%m-%d",
  "date_middle": "2025-02-07"
}

Similar queries