Tron SunPump bonding curve TRX balance history 7 days
TRX in and out of the bonding curve for one SunPump token in 5 minute intervals over the last 7 days
What it returns
- block time
- sum of trade sell amount
- sum of trade buy amount
Filters
- DEX smart contract is TTfvyr…7AAw
- buy currency smart contract is TChvyT…PT5d
- sell currency smart contract is TChvyT…PT5d
The query
{
Tron {
in: DEXTrades(
where: {Block: {Time: {since_relative: {days_ago: 7}}}, Trade: {Dex: {SmartContract: {is: "TTfvyrAz86hbZk5iDpKD78pqLGgi8C7AAw"}}, Buy: {Currency: {SmartContract: {is: "TChvyT66TJkcQcXzrmSwfAQAPdRoPiPT5d"}}}}}
orderBy: {descendingByField: "Block_Time"}
limit: {count: 100}
) {
Block {
Time(interval: {count: 5, in: minutes})
allTime: Time
}
sum(of: Trade_Sell_Amount)
}
out: DEXTrades(
where: {Block: {Time: {since_relative: {days_ago: 7}}}, Trade: {Dex: {SmartContract: {is: "TTfvyrAz86hbZk5iDpKD78pqLGgi8C7AAw"}}, Sell: {Currency: {SmartContract: {is: "TChvyT66TJkcQcXzrmSwfAQAPdRoPiPT5d"}}}}}
orderBy: {descendingByField: "Block_Time"}
limit: {count: 100}
) {
Block {
Time(interval: {count: 5, in: minutes})
allTime: Time
}
sum(of: Trade_Buy_Amount)
}
}
}