SunPump Latest Token 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, currency name, currency symbol and 6 more fields.

By Srdjan Stankovic · saved 19 September 2024 · run 1 time · 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
        Currency {
          Name
          Symbol
          SmartContract
        }
        Side {
          Currency {
            Name
            Symbol
            SmartContract
          }
          AmountInUSD
          Amount
        }
      }
    }
  }
}

Variables

{
  "token": "TLy98TaujEPmvF6hV63qwXUeHJAxQH1XtZ"
}

Similar queries