Latest Trades on ethereum

Streams the latest 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 gaurav · saved 15 June 2023 · Bitquery API v2

What it returns

The subscription

subscription {
  EVM(network: eth, trigger_on: head) {
    DEXTrades(orderBy: {descending: Block_Number}) {
      ChainId
      Block {
        Number
        Time
      }
      Transaction {
        Hash
      }
      Trade {
        Buy {
          Currency {
            SmartContract
            Symbol
          }
          Amount
          Price
          Buyer
          Seller
        }
        Sell {
          Seller
          Amount
          Currency {
            Symbol
            SmartContract
          }
        }
      }
    }
  }
}

Similar queries