evm_weth_trades

Returns the latest 10 DEX trades by token on Ethereum: block time, transaction hash, protocol name, currency symbol, currency name, smart contract, decimals and 9 more fields.

By alex · saved 14 January 2026 · run 2 times · Bitquery API v2

What it returns

The query

query pairs {
  EVM(network: eth) {
    DEXTradeByTokens(
      limit: {count: 10}
      where: {TransactionStatus: {Success: true}, 
        any: [
          {Trade: {Side: {Currency: {Decimals: {eq: 0}, Fungible: true, Name: {is: ""}}}}}, 
          {Trade: {Currency: {Decimals: {eq: 0}, Fungible: true, Name: {is: ""}}}},
          {Trade: {Currency: {SmartContract: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}}}}
        ], Block: {Time: {after_relative: {hours_ago: 24}}}}
      orderBy: {descending: Block_Time}
    ) {
      Block {
        Time(maximum: Block_Time)
      }
      Transaction {
        Hash
      }
      Trade {
        Dex {
          ProtocolName
        }
        Currency {
          Symbol
          Name
          SmartContract
          ProtocolName
          Decimals
        }
        Side {
          Currency {
            Symbol
            Name
            SmartContract
            ProtocolName
            Decimals
          }
        }
        price_last: PriceInUSD(maximum: Block_Number)
      }
      amount: sum(of: Trade_Side_Amount)
      usd: sum(of: Trade_Side_AmountInUSD)
      buy: count(if: {Trade: {Side: {Type: {is: sell}}}})
      sell: count(if: {Trade: {Side: {Type: {is: buy}}}})
    }
  }
}

Similar queries