Copy of New Query

Y

Returns DEX trades by token and transaction envelope signatures on Ethereum, where block time since 2024-11-08: protocol family, unique of trade buyer, unique of trade sender and count.

By Chris Rose · saved 11 November 2024 · Bitquery API v1

What it returns

Filters

The query

query DexMarkets($network: evm_network, $time_ago: DateTime) {
  EVM(network: $network) {
    DEXTradeByTokens(where: {Block: {Time: {since: $time_ago}}}) {
      Trade {
        Dex {
          ProtocolFamily
        }
      }
      buyers: uniq(of: Trade_Buyer)
      sellers: uniq(of: Trade_Sender)
      count(if: {Trade: {Side: {Type: {is: buy}}}})
    }
  }
  utilities
  flow {
    transactionEnvelopeSignatures
    arguments(any: {})
  }
}

Variables

{
  "network": "eth",
  "time_ago": "2024-11-08T03:49:56Z"
}

Similar queries