latest trades
Returns the latest 50 DEX trades by token on Tron, where side currency smart contract is TNUC9Q…jWFR, currency smart contract is TJ9mxW…diAq and side amount is above 0: block time, owner address, protocol family, protocol name, currency symbol, smart contract, currency name and 9 more fields.
What it returns
- block time
- owner address
- protocol family
- protocol name
- currency symbol
- smart contract
- currency name
- trade price
- amount in USD
- trade amount
- side type
- side currency symbol
- side smart contract
- side currency name
- side amount in USD
- side amount
Filters
- side currency smart contract is TNUC9Q…jWFR
- currency smart contract is TJ9mxW…diAq
- side amount is above 0
- trade price is above 0
The query
query LatestTrades($token: String, $base: String) {
Tron {
DEXTradeByTokens(
orderBy: {descending: Block_Time}
limit: {count: 50}
where: {Trade: {Side: {Amount: {gt: "0"}, Currency: {SmartContract: {is: $base}}}, Currency: {SmartContract: {is: $token}}, Price: {gt: 0}}, Transaction: {Result: {Success: true}}}
) {
Block {
allTime: Time
}
Trade {
Dex {
OwnerAddress
ProtocolFamily
ProtocolName
}
Currency {
Symbol
SmartContract
Name
}
Price
AmountInUSD
Amount
Side {
Type
Currency {
Symbol
SmartContract
Name
}
AmountInUSD
Amount
}
}
}
}
}
Variables
{
"token": "TJ9mxWPmQSJswqMakEehFWcAntg73odiAq",
"base": "TNUC9Qb1rRpS5CbWLmNMxXBjyFoydXjWFR"
}
Similar queries
- AfricaCryptoChainx · Ethereum · DEXTradeByTokens
- TLeVfrdym8RoJreJ23dAGyfJDygRtiWKBZ · Tron · DEXTradeByTokens
- UniversalSearch EVM · Ethereum · DEXTradeByTokens
- K2DhBqHBXEjBMwXm · Tron · DEXTradeByTokens
- Historical tron token trades beyond 30 days · Tron · DEXTradeByTokens