Test query

Returns DEX trades by token on Ethereum, where DEX protocol name is uniswap_v3: trade amount, amount in USD, protocol name, protocol family, pair symbol, currency name, currency symbol and 3 more fields.

By fm · saved 24 June 2025 · run 3 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    DEXTradeByTokens(
      where: {Trade: {Dex: {ProtocolName: {is: "uniswap_v3"}}, Success: true}, Transaction: {}}
    ) {
      Trade {
        Amount
        AmountInUSD
        Dex {
          ProtocolName
          ProtocolFamily
          Pair {
            Symbol
          }
        }
        Currency {
          Name
          Symbol
        }
        PriceInUSD
        Price
      }
      Transaction {
        Hash
      }
    }
  }
}

Similar queries