Trades By Time

limit 10 descendingbyfield sum

Returns 10 DEX trades on Arbitrum, sorted by block date: block date, chain ID, count, unique of trade sell buyer, unique of trade DEX smart contract and unique of trade buy currency symbol.

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}
      orderBy: {ascending: Block_Date}
      where: {Trade: {Success: true}}
    ) {
      Block {
        Date
      }
      ChainId
      trades: count
      traders: uniq(of: Trade_Sell_Buyer)
      contracts: uniq(of: Trade_Dex_SmartContract)
      currencies: uniq(of: Trade_Buy_Currency_Symbol)
    }
  }
}

Variables

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

Similar queries