base stream for trades gt 10 usd

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

By bradley · saved 5 December 2024 · run 2 times · Bitquery API v2

What it returns

The query

query {
  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