tron-test

Returns the latest DEX trade by token on Tron, where currency smart contract is TUeCSd…XSs9: block time, trade price, price in USD, currency symbol, smart contract and currency name.

By Kshitij Mahajan · saved 20 August 2024 · run 16 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Tron {
    DEXTradeByTokens(
      where: {Trade: {Currency: {SmartContract: {is: "TUeCSd6GdXA852KvcD3jSqPYVm9QfMXSs9"}}}, TransactionStatus: {Success: true}}
      limit: {count: 1}
      orderBy: {descending: Block_Time}
    ) {
      Block {
        Time
      }
      Trade {
        Price
        PriceInUSD
        Currency {
          Symbol
          SmartContract
          Name
        }
      }
    }
  }
}

Similar queries