## Get Chain Parameters
`tronStationSDK.getChainParameters();
`
_Returns chain data from the blockchain._
## Get Resource
`tronStationSDK.getResource('TGzz8gjYiYRqpfmDwnLxfgPuLVNmpCswVp');
`
_Returns resources from account._
Value | Description |
Address | Address of account |
## Calculate Frozen Energy
`tronStationSDK.calculateFrozenEnergy(10000);
`
_Returns the amount of energy generated by freezing TRX._
Value | Description |
Amount (sun) | Amount of TRX in sun |
## Calculate Burn Energy
`tronStationSDK.calculateBurnEnergy(10000);
`
_Returns the amount of energy generated by burning TRX._
Value | Description |
Amount (sun) | Amount of TRX in sun |
## Calculate Max Energy Limit
`tronStationSDK.calculateMaxEnergyLimit('TGzz8gjYiYRqpfmDwnLxfgPuLVNmpCswVp', 10000);
`
_Returns max energy limit data to deploy/trigger contract._
Value | Description |
Address | Address of account |
Amount (sun) | Amount of TRX in sun |
## Calculate Frozen Bandwidth
`tronStationSDK.calculateFrozenBandwidth(10000);
`
_Returns the amount of bandwidth generated by freezing TRX._
Value | Description |
Amount (sun) | Amount of TRX in sun |
## Get Account Bandwidth
`tronStationSDK.getAccountBandwidth('TGzz8gjYiYRqpfmDwnLxfgPuLVNmpCswVp');
`
_Returns bandwidth data from account._
Value | Description |
Address | Address of 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_.
Value | Description |
Votes | Amount of votes to be added in vote reward calculation |
Address (optional) | Address of account |