Trades By Time

limit 10 descendingbyfield sum

Returns 10 DEX trades on Arbitrum, where block date since 2023-07-17 and block date till 2023-07-19, 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 21 July 2023 · run 11 times · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $limit: Int!, $offset: Int!, $from: String, $till: String) {
  EVM(dataset: combined, network: $network) {
    DEXTrades(
      limit: {count: $limit, offset: $offset}
      orderBy: {ascending: Block_Date}
      where: {Block: {Date: {since: $from, till: $till}}}
    ) {
      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,
  "offset": 0,
  "from": "2023-07-17",
  "till": "2023-07-19"
}

Similar queries