Price based on DEX trades in USD

Streams DEX trades by token as they happen, where currency symbol is WETH and trade price asymmetry is at most 0.1: block time and median of trade price in USD.

By Aleksey · saved 20 April 2024 · run 15 times · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  EVM {
    DEXTradeByTokens(
      where: {
      Trade: {
        Currency: {
          Symbol: {
            is: "WETH"
          }
        }
        PriceAsymmetry: {
          le: 0.1
        }
      }
      
    }
    
    ) {
      Block {
        Time
      }
      median(of: Trade_PriceInUSD)
    }
  }
}

Similar queries