usdt trc20 dex activity

Returns DEX trades on Tron, where buy currency is TR7NHq…Lj6t, sell currency is TR7NHq…Lj6t and date since 2023-08-05: date date, buy amount and sell amount.

By Sleepy · saved 9 August 2023 · Bitquery API v1

What it returns

Filters

The query

query MyQuery {
  tron {
    dexTrades(
      date: {since: "2023-08-05", till: "2023-08-08"}
      buyCurrency: {is: "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t"}
      sellCurrency: {is: "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t"}
    ) {
      date {
        date(format: "%Y-%m-%d")
      }
      buyAmount(calculate: sum)
      sellAmount(calculate: sum)
    }
  }
}

Similar queries