USDT without names / symbols in TRON

Returns DEX trades by token on Tron, where currency smart contract is TR7NHq…Lj6t: protocol family, protocol name, currency symbol, currency name, smart contract, native, side currency symbol and 9 more fields.

By Aleksey · saved 24 September 2024 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query {
  Tron {
    DEXTradeByTokens(
      where: {
        	Transaction: {Result: {Success: true}}
       
          Trade: {
            Currency: {
              Name: {is: ""}
              SmartContract: {is: "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t"}} }
      }
    ) {
      Trade {
        Dex {
          ProtocolFamily
          ProtocolName
        }
        Currency {
          Symbol
          Name
          SmartContract
          Native
        }
        Side {
          Currency {
            Symbol
            Name
            SmartContract
            Native
          }
        }
        price_last: PriceInUSD(maximum: Block_Number)
      }
      dexes: uniq(of: Trade_Dex_OwnerAddress)
      amount: sum(of: Trade_Side_Amount)
      usd: sum(of: Trade_Side_AmountInUSD)
      sellers: uniq(of: Trade_Seller)
      buyers: uniq(of: Trade_Buyer)
    }
  }
}

Variables

{
}

Similar queries