eth_uniswap_v2

Returns 100 DEX trades by token on Ethereum, where DEX protocol name is uniswap_v2, sorted by transaction time, highest first: block time, transaction hash, trade amount, protocol name, currency symbol, currency name, smart contract and 8 more fields.

By alex · saved 23 February 2026 · Bitquery API v2

What it returns

Filters

The query

query pairs {
  EVM(network: eth) {
    DEXTradeByTokens(
      orderBy: {descending: Transaction_Time}
      limit: {count: 100}
      where: {Trade: {Dex: {SmartContract: {}, ProtocolName: {is: "uniswap_v2"}}}}
    ) {
      Block {
        Time(maximum: Block_Time)
      }
      Transaction {
        Hash
      }
      Trade {
        Amount
        Dex {
          ProtocolName
        }
        Currency {
          Symbol
          Name
          SmartContract
          ProtocolName
          Decimals
        }
        Side {
          Amount
          Currency {
            Symbol
            Name
            SmartContract
            ProtocolName
            Decimals
          }
        }
        price_last: PriceInUSD(maximum: Block_Number)
      }
    }
  }
}

Similar queries