liquiditypool

Returns the latest 50 DEX trades on Ethereum, where DEX smart contract is 0xc2ea…539d and block time after 2026-04-02: block time, block number, transaction hash, from, to, signature name, signature signature and 13 more fields.

By Nadia · saved 3 April 2026 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query LiquidityPoolTrades($network: evm_network!, $market: String!, $time_ago: DateTime!) {
  EVM(dataset: realtime, network: $network) {
    DEXTrades(
      orderBy: {descending: Block_Time}
      limit: {count: 50}
      where: {Trade: {Dex: {SmartContract: {is: $market}}}, Block: {Time: {after: $time_ago}}}
    ) {
      Block {
        Time
        Number
      }
      Transaction {
        Hash
        From
        To
      }
      Call {
        To
        Signature {
          Name
          Signature
        }
      }
      Trade {
        Dex {
          ProtocolName
          ProtocolFamily
          SmartContract
        }
        Buy {
          Currency {
            Name
            Symbol
            SmartContract
          }
          Amount
          AmountInUSD
        }
        Sell {
          Currency {
            Name
            Symbol
            SmartContract
          }
          Amount
          AmountInUSD
        }
      }
    }
  }
}

Variables

{
  "market": "0xc2eab7d33d3cb97692ecb231a5d0e4a649cb539d",
  "network": "eth",
  "time_ago": "2026-04-02T10:12:49Z"
}

Similar queries