SunPump Token Latest Trades

Returns the latest 50 DEX trades by token on Tron, where currency smart contract is TLy98T…1XtZ and trade price is above 0: block time, seller, buyer, trade price, trade amount, side amount in USD and side amount.

By Srdjan Stankovic · saved 18 September 2024 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query SunPumpTokenLatestTrades($token: String) {
  Tron {
    DEXTradeByTokens(
      orderBy: {descending: Block_Time}
      limit: {count: 50}
      where: {Trade: {Currency: {SmartContract: {is: $token}}, Price: {gt: 0}}, Transaction: {Result: {Success: true}}}
    ) {
      Block {
        allTime: Time
      }
      Trade {
        Seller
        Buyer
        Price
        Amount
        Side {
          AmountInUSD
          Amount
        }
      }
    }
  }
}

Variables

{
  "token": "TLy98TaujEPmvF6hV63qwXUeHJAxQH1XtZ"
}

Similar queries