percentage increase

Returns DEX trades on Tron, where base currency is TR7NHq…Lj6t, TXL6rJ…8MRT or 1 more, base currency is TPYmHE…hPDn, TR7NHq…Lj6t or 1 more and time since 2024-10-21, sorted by trade amount, highest first: base amount, base currency address, base currency symbol, quote amount, quote currency address, quote currency symbol, expression and trade amount.

By bekoga · saved 21 October 2024 · run 52 times · Bitquery API v1

What it returns

Filters

The query

{
  tron {
   One_hr_Change: dexTrades(
      options: {desc: "tradeAmount", limitBy: {each: "baseCurrency.address", limit: 1}}
      baseCurrency: {in: ["TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t","TXL6rJbvmjD46zeN1JssfgxvSo99qC8MRT","TPYmHEhy5n8TCEfYGqW2rPxsghSfzghPDn"]}
      time: {since: "2024-10-21"}
    ) {
      baseAmount(calculate:minimum)
      
      baseCurrency {
        address
        symbol
      }
      quoteAmountUSD : quoteAmount(in: USD, calculate: minimum)
      quoteCurrency {
        address
        symbol
      }
      price: expression(get: "quoteAmountUSD / baseAmount")
     tradeAmount(in: USD)
    }
hr_24h_change: dexTrades(
      options: {desc: "tradeAmount", limitBy: {each: "baseCurrency.address", limit: 1}}
      baseCurrency: {in: ["TPYmHEhy5n8TCEfYGqW2rPxsghSfzghPDn","TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t","TXL6rJbvmjD46zeN1JssfgxvSo99qC8MRT"]}
      time: {since: "2024-10-21"}
    ) {
      baseAmount(calculate:maximum)
      
      baseCurrency {
        address
        symbol
      }
      quoteAmountUSD : quoteAmount(in: USD, calculate: maximum)
      quoteCurrency {
        address
        symbol
      }
      price: expression(get: "quoteAmountUSD / baseAmount")
       
      tradeAmount(in: USD)
    }
  }
}

Similar queries