Token Trades

Returns the latest 10 DEX trades on Arbitrum, where block date since 2025-02-06 and block date till 2025-02-13: block time, block number, chain ID, buy currency symbol, buy smart contract, buy price, buy price in USD and 11 more fields.

By Nadia · saved 13 February 2025 · run 3 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}
      where: {Block: {Date: {since: $from, till: $till}}, Trade: {Success: true}}
      orderBy: {descending: Block_Number}
    ) {
      Block {
        Time
        Number
      }
      ChainId
      Trade {
        Buy {
          Currency {
            Symbol
            SmartContract
          }
          Price
          PriceInUSD
          Amount
          AmountInUSD
        }
        Sell {
          Currency {
            Symbol
            SmartContract
          }
          Amount
          AmountInUSD
        }
        Dex {
          ProtocolFamily
          ProtocolName
          ProtocolVersion
          SmartContract
        }
      }
      Transaction {
        Hash
      }
    }
  }
}

Variables

{
  "network": "arbitrum",
  "limit": 10,
  "offset": 0,
  "from": "2025-02-06",
  "till": "2025-02-13",
  "dateFormat": "%Y-%m-%d",
  "date_middle": "2025-02-09"
}

Similar queries