Usd price in mempool in matic

Streams DEX trades on Polygon as they happen, where trade price asymmetry is at most 0.1: buy amount, buy price, buy currency name, buy currency symbol, buy smart contract, buy amount in USD, sell amount and 5 more fields.

By gaurav · saved 19 April 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  EVM(network: matic, mempool: true) {
    DEXTrades(where: {Trade: {PriceAsymmetry: {le: 0.1}}}) {
      Trade {
        Buy {
          Amount
          Price
          Currency {
            Name
            Symbol
            SmartContract
          }
          AmountInUSD
        }
        Sell {
          Amount
          Price
          AmountInUSD
          Currency {
            Name
            Symbol
            SmartContract
          }
        }
      }
    }
  }
}

Similar queries