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 12 more fields.

By Nadia · saved 1 February 2024 · run 19 times · 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
          Currency {
            Symbol
            SmartContract
          }
        }
      }
      ChainId
    }
  }
}

Variables

{
  "network": "eth",
  "mempool": false,
  "limit": 10,
  "offset": 0,
  "from": "2023-08-16",
  "till": "2023-08-16"
}

Similar queries