mempool stream polymarket trades in real-time

stream polymarket trades in real-time mempool

Streams DEX trades by token on Polygon as they happen, where DEX protocol name is polymarket: block time, transaction hash, trade amount, order ID, trade price, buyer, seller and 11 more fields.

By Divyasshree · saved 14 January 2026 · run 9 times · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  EVM(network: matic, mempool:true) {
    DEXTradeByTokens(
      where: {TransactionStatus: {Success: true}, Trade: {Dex: {ProtocolName: {is: "polymarket"}}}, Block: {}}
    ) {
      Block {
        Time
      }
      Transaction {
        Hash
      }
      Trade {
        Amount
        OrderId
        Price
        Buyer
        Seller
        Dex {
          ProtocolName
        }
        Ids
        Currency {
          SmartContract
          ProtocolName
          Decimals
        }
        Side {
          Amount
          Currency {
            Symbol
            Name
            SmartContract
            ProtocolName
            Decimals
          }
        }
        price_last: PriceInUSD(maximum: Block_Number)
      }
    }
  }
}

Similar queries