24hr change

Returns DEX trades on Tron, where base currency is TNUC9Q…jWFR, TR7NHq…Lj6t or 1 more, time till 2024-07-19 and time till 2024-07-18, 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 19 October 2024 · run 6 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: ["TNUC9Qb1rRpS5CbWLmNMxXBjyFoydXjWFR", "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t", "TXL6rJbvmjD46zeN1JssfgxvSo99qC8MRT"]}
      time: {till: "2024-07-19"}
    ) {
      baseAmount(calculate: anyLast)
      baseCurrency {
        address
        symbol
      }
      quoteAmountUSD: quoteAmount(in: USD, calculate: anyLast)
      quoteCurrency {
        address
        symbol
      }
      price: expression(get: "quoteAmountUSD / baseAmount")
      tradeAmount(in: USD)
    }
    twenty_four_change: dexTrades(
      options: {desc: "tradeAmount", limitBy: {each: "baseCurrency.address", limit: 1}}
      baseCurrency: {in: ["TNUC9Qb1rRpS5CbWLmNMxXBjyFoydXjWFR", "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t", "TXL6rJbvmjD46zeN1JssfgxvSo99qC8MRT"]}
      time: {till: "2024-07-18"}
    ) {
      baseAmount(calculate: anyLast)
      baseCurrency {
        address
        symbol
      }
      quoteAmountUSD : quoteAmount(in: USD, calculate: anyLast)
      quoteCurrency {
        address
        symbol
      }
      price: expression(get: "quoteAmountUSD / baseAmount")
      tradeAmount(in: USD)
    }  
  }
}
  

Similar queries