Traded currencies by time

Returns 10 DEX trades on Ethereum, sorted by block date: block date, chain ID and unique of trade buy currency smart contract.

By Nadia · saved 25 April 2025 · Bitquery API v2

What it returns

The query

query ($network: evm_network, $limit: Int!) {
  EVM(dataset: realtime, network: $network) {
    DEXTrades(
      limit: {count: $limit}
      where: {Trade: {Success: true}}
      orderBy: {ascending: Block_Date}
    ) {
      Block {
        Date
      }
      ChainId
      uniq(of: Trade_Buy_Currency_SmartContract)
    }
  }
}

Variables

{
  "network": "eth",
  "limit": 10
}

Similar queries