Base Price based on DEX trades in USD

Streams DEX trades by token on Base 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 22 April 2024 · run 6 times · Bitquery API v2

What it returns

Filters

The subscription

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

Similar queries