base stream for trades gt 10 usd

Streams DEX trades on Base as they happen: buy amount, buy amount in USD, buy decimals, buy currency name, buy currency symbol, buy smart contract, sell amount and 7 more fields.

By gaurav · saved 22 November 2024 · run 3 times · Bitquery API v2

What it returns

The subscription

subscription {
  EVM(network: base) {
    DEXTrades(
      where: {any: [{Trade: {Buy: {AmountInUSD: {gt: "10"}}}}, {Trade: {Sell: {AmountInUSD: {gt: "10"}}}}]}
    ) {
      Trade {
        Buy {
          Amount
          AmountInUSD
          Currency {
            Decimals
            Name
            Symbol
            SmartContract
          }
        }
        Sell {
          Amount
          AmountInUSD
          Currency {
            Decimals
            Name
            Symbol
            SmartContract
          }
        }
      }
      Transaction {
        From
        Nonce
      }
    }
  }
}

Similar queries