Copy of New Query

Returns DEX trades by token and transactions on TON: quantile of trade block workchain, chain ID, average of fee priority fee per gas in USD, transaction, r and is paid.

By Unknown Miner · saved 2 November 2024 · Bitquery API v1

What it returns

The query

query MyQuery($selectWhere: OLAP_String = {}, $selectWhere1: Metric_filter_Float = {}) {
  Ton {
    DEXTradeByTokens {
      quantile(of: Trade_Block_Workchain)
    }
  }
  EVM(mempool: true, dataset: realtime, select_blocks: tree) {
    Transactions {
      ChainId
      average(of: Fee_PriorityFeePerGasInUSD)
      Transaction
      Signature {
        R(if: {})
      }
    }
  }
  utilities {
    activePeriod(apiKey: "", options: {seed: 5000}) {
      isPaid
    }
  }
}

Similar queries