wallet/getaccountresource | TRON
TRON API method that queries the resource information of an account, including bandwidth, energy, and TRON Power (voting power). On TRON.
Parameters
address— the account address in hex format (41 prefix) or base58check formatvisible— whether the address is in readable base58check format (optional, default: true)
Response
freeNetUsed— free bandwidth used by the accountfreeNetLimit— total free bandwidth available to the accountNetUsed— used amount of bandwidth obtained by stakingNetLimit— total bandwidth obtained by stakingTotalNetLimit— total network bandwidth limitTotalNetWeight— total network weight for bandwidthEnergyUsed— energy consumed by the accountEnergyLimit— total energy obtained by stakingTotalEnergyLimit— total energy limit on the networkTotalEnergyWeight— total energy weight on the networktronPowerLimit— TRON Power available for votingtronPowerUsed— TRON Power used for votingtotalTronPowerWeight— total TRON Power weight on the networkassetNetUsed— bandwidth used for TRC10 assets (array)assetNetLimit— bandwidth limit for TRC10 assets (array)
Use case
Thewallet/getaccountresource method is used for:
- Monitoring account bandwidth and energy consumption
- Calculating transaction fees based on available resources
- Managing resource delegation and staking strategies
- Tracking voting power (TRON Power) for network governance
- Analyzing resource usage for TRC10 token transfers
- Building wallet interfaces that display resource availability
Body
Response
Account resource information
Free bandwidth used by the account
0
Total free bandwidth
5000
Used amount of bandwidth obtained by staking
0
Total bandwidth obtained by staking
0
Total network bandwidth limit
43200000000
Total network weight
84687233463517
Energy used by the account
0
Total energy obtained by staking
0
Total energy limit on network
90000000000
Total energy weight on network
13369831825062
TRON Power (voting power)
0
TRON Power used for voting
0
Total TRON Power weight on network
0
Bandwidth used for TRC10 assets
Bandwidth limit for TRC10 assets