Copy of Copy of Price based on DEX trades in USD with filter bywhere

Returns 10 DEX trades by token, where currency symbol is WETH: block time and median of trade price in USD.

By Aleksey · saved 25 April 2024 · run 5 times · Bitquery API v2

What it returns

Filters

The query

query($where: EVM_DEXTradeByToken_Filter ) {
  EVM {
    DEXTradeByTokens(
      limit: {count: 10}
      where: $where
    ) {
      Block {
        Time
      }
      median(of: Trade_PriceInUSD)
    }
  }
}

Variables

{
  "where": {
      "Trade": {
    	"Currency": { "Symbol": {"is" : "WETH" }}
  	}
  }

}

Similar queries