TRON Foundation
Jun 29 · 2 min read

Get Chain Parameters

tronStationSDK.getChainParameters();

Returns chain data from the blockchain.

Get Resource

tronStationSDK.getResource('TGzz8gjYiYRqpfmDwnLxfgPuLVNmpCswVp');

Returns resources from account.

Calculate Frozen Energy

tronStationSDK.calculateFrozenEnergy(10000);

Returns the amount of energy generated by freezing TRX.

Calculate Burn Energy

tronStationSDK.calculateBurnEnergy(10000);

Returns the amount of energy generated by burning TRX.

Calculate Max Energy Limit

tronStationSDK.calculateMaxEnergyLimit('TGzz8gjYiYRqpfmDwnLxfgPuLVNmpCswVp', 10000);

Returns max energy limit data to deploy/trigger contract.

Calculate Frozen Bandwidth

tronStationSDK.calculateFrozenBandwidth(10000);

Returns the amount of bandwidth generated by freezing TRX.

Get Account Bandwidth

tronStationSDK.getAccountBandwidth('TGzz8gjYiYRqpfmDwnLxfgPuLVNmpCswVp');

Returns bandwidth data from account.

Get SR Vote Reward List

tronStationSDK.getSrVoteRewardList();

Returns vote reward list of SR/Candidates ordered by rank.

Calculate SR Reward

tronStationSDK.calculateSrReward(10000, 'TGzz8gjYiYRqpfmDwnLxfgPuLVNmpCswVp');

Returns vote reward calculation for SR/Candidate.

TRON

TRON

TRON Foundation

Written by

The official medium of Tron Foundation

TRON

TRON

TRON

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade