nano

Returns 100 DEX trades by token on Arbitrum, where block time since 2025-01-08, sorted by count, highest first: currency symbol, smart contract, fungible, currency name, trade amount, amount in USD, unique of trade side currency smart contract and 6 more fields.

By Leonardo carrillo · saved 11 January 2025 · Bitquery API v2

What it returns

Filters

The query

query topTokens($network: evm_network, $time_ago: DateTime!) {
  EVM(network: $network) {
    DEXTradeByTokens(
      orderBy: {descendingByField: "count"}
      limit: {count: 100}
      where: {Block: {Time: {since: $time_ago}}}
    ) {
      Trade {
        Currency {
          Symbol
          SmartContract
          Fungible
          Name
        }
        Amount(maximum: Block_Number)
        AmountInUSD(maximum: Block_Number)
      }
      pairs: uniq(of: Trade_Side_Currency_SmartContract)
      dexes: uniq(of: Trade_Dex_SmartContract)
      amount: sum(of: Trade_Amount)
      usd: sum(of: Trade_AmountInUSD)
      buyers: uniq(of: Trade_Buyer)
      sellers: uniq(of: Trade_Sender)
      count
    }
  }
}

Variables

{
  "network": "arbitrum",
  "time_ago": "2025-01-08T10:24:04Z"
}

Similar queries