Latest Trades of Tokens in Network

Streams the latest 10 DEX trades on Ethereum as they happen: chain ID, block number, block time, transaction hash, buy smart contract, buy currency symbol, buy amount and 7 more fields.

By Nadia · saved 1 June 2023 · Bitquery API v2

What it returns

The subscription

subscription ($network: evm_network, $limit: Int!) {
  EVM(network: $network) {
    DEXTrades(orderBy: {descending: Block_Number}, limit: {count: $limit}) {
      ChainId
      Block {
        Number
        Time
      }
      Transaction {
        Hash
      }
      Trade {
        Buy {
          Currency {
            SmartContract
            Symbol
          }
          Amount
          Price
          Buyer
          Seller
        }
        Sell {
          Seller
          Amount
          Currency {
            Symbol
            SmartContract
          }
        }
      }
    }
  }
}

Variables

{
  "network": "eth",
  "limit": 10,
  "offset": 0
}

Similar queries