support v2 supported protocols with amount of trades

Returns DEX trades on BNB Chain, where block time since 2024-06-03: protocol name, protocol family, protocol version and count.

By Coinranking · saved 28 June 2024 · run 3 times · Bitquery API v2

What it returns

Filters

The query

query fetchBulkTickers($network: evm_network!, $twentyFourHoursAgo: DateTime) {
  EVM(dataset: realtime, network: $network) {
    DEXTrades(
      where: {Block: {Time: {since: $twentyFourHoursAgo}}}
    ) {
      Trade {
        Dex {
          ProtocolName
          ProtocolFamily
          ProtocolVersion
        }
      }
      count
    }
  }
}

Variables

{
  	"twentyFourHoursAgo": "2024-06-03T10:51:31.046Z",
		"network":            "bsc"
}

Similar queries