Subscription Token Trades

Streams the latest 10 DEX trades on Arbitrum as they happen: block time, block number, chain ID, buy currency symbol, buy smart contract, buy price, buy price in USD and 10 more fields.

By Nadia · saved 13 February 2025 · Bitquery API v2

What it returns

The subscription

subscription ($network: evm_network, $limit: Int!, $offset: Int!) {
  EVM(network: $network) {
    DEXTrades(
      limit: {count: $limit, offset: $offset}
      orderBy: {descending: Block_Number}
    ) {
      Block {
        Time
        Number
      }
      ChainId
      Trade {
        Buy {
          Currency {
            Symbol
            SmartContract
          }
          Price
          PriceInUSD
          Amount
          AmountInUSD
        }
        Sell {
          Currency {
            Symbol
            SmartContract
          }
          Amount
        }
        Dex {
          ProtocolFamily
          ProtocolName
          ProtocolVersion
          SmartContract
        }
      }
      Transaction {
        Hash
      }
    }
  }
}

Variables

{
  "network": "arbitrum",
  "limit": 10,
  "offset": 0,
  "from": "2023-07-23",
  "till": "2023-07-23"
}

Similar queries