Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
address— the account address in hex format (41 prefix) or base58check formatvisible— whether the address is in readable format (base58check)
Response
Returns detailed account resource information including:freeNetUsed— free bandwidth used by the accountfreeNetLimit— free bandwidth limit for the accountNetUsed— bandwidth used from frozen TRXNetLimit— bandwidth limit from frozen TRXEnergyUsed— energy used by the accountEnergyLimit— energy limit from frozen TRXTotalNetLimit— total network bandwidth limitTotalNetWeight— total network weightTotalEnergyLimit— total energy limit on networkTotalEnergyWeight— total energy weight on network
Use case
Thewalletsolidity/getaccountresource method is used for:
- Monitoring confirmed bandwidth and energy consumption from solidified blocks
- Calculating transaction fees based on finalized resource usage
- Analyzing account resource efficiency from confirmed blockchain data
- Building applications that require reliable resource management information