Tron SunPump bonding curve TRX balance 7 days
TRX in and TRX out sums for one SunPump token on the bonding curve over the last 7 days
What it returns
- 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"}}}}}
) {
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"}}}}}
) {
sum(of: Trade_Buy_Amount)
}
}
}