POST
/
95e61622bf6a8af293978377718e3b77
/
walletsolidity
/
getaccountresource
walletsolidity/getaccountresource
curl --request POST \
  --url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/walletsolidity/getaccountresource \
  --header 'Content-Type: application/json' \
  --data '{
  "address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
  "visible": true
}'
{
  "freeNetUsed": 0,
  "freeNetLimit": 5000,
  "NetUsed": 0,
  "NetLimit": 0,
  "EnergyUsed": 0,
  "EnergyLimit": 0,
  "TotalNetLimit": 43200000000,
  "TotalNetWeight": 84687233463517,
  "TotalEnergyLimit": 90000000000,
  "TotalEnergyWeight": 13369831825062
}
TRON API method that retrieves account resource information from solidified blocks. This method queries confirmed and finalized blockchain state for bandwidth and energy resource data that cannot be rolled back.
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 format
  • visible — whether the address is in readable format (base58check)

Response

Returns detailed account resource information including:
  • freeNetUsed — free bandwidth used by the account
  • freeNetLimit — free bandwidth limit for the account
  • NetUsed — bandwidth used from frozen TRX
  • NetLimit — bandwidth limit from frozen TRX
  • EnergyUsed — energy used by the account
  • EnergyLimit — energy limit from frozen TRX
  • TotalNetLimit — total network bandwidth limit
  • TotalNetWeight — total network weight
  • TotalEnergyLimit — total energy limit on network
  • TotalEnergyWeight — total energy weight on network

Use case

The walletsolidity/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

Body

application/json
address
string
required

Account address in hex or base58check format

Example:

"TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g"

visible
boolean
default:true

Whether the address is in readable format

Response

200 - application/json

Account resource information from solidified blocks

freeNetUsed
integer

Free bandwidth used by the account

Example:

0

freeNetLimit
integer

Free bandwidth limit for the account

Example:

5000

NetUsed
integer

Bandwidth used from frozen TRX

Example:

0

NetLimit
integer

Bandwidth limit from frozen TRX

Example:

0

EnergyUsed
integer

Energy used by the account

Example:

0

EnergyLimit
integer

Energy limit from frozen TRX

Example:

0

TotalNetLimit
integer

Total network bandwidth limit

Example:

43200000000

TotalNetWeight
integer

Total network weight

Example:

84687233463517

TotalEnergyLimit
integer

Total energy limit on network

Example:

90000000000

TotalEnergyWeight
integer

Total energy weight on network

Example:

13369831825062