prof_ly_2

Streams 10 DEX trades on Ethereum as they happen: block time, block number, block date, sell buyer, sell amount, sell currency symbol, buy price and 4 more fields.

By Divyasshree N · saved 6 June 2023 · Bitquery API v2

What it returns

The subscription

subscription ($network: evm_network, $limit: Int!, $offset: Int!) {
  EVM(network: $network) {
    DEXTrades(limit: {offset: $offset, count: $limit}) {
      Block {
        Time
        Number
        Date
      }
      Trade {
        Sell {
          Buyer
          Amount
          Currency {
            Symbol
          }
        }
        Buy {
          Price
          Amount
          Currency {
            Symbol
          }
        }
        Dex {
          ProtocolName
          SmartContract
        }
      }
    }
  }
}

Variables

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

Similar queries