GetAccountResource

Query an account's aggregate Bandwidth, Energy, and TRON Power limits and usage.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Calculate available resources

The response reports aggregate resource usage through limit and used fields. It does not directly return available amounts or separate self-staked resources from delegated resources. Calculate the available amounts on the client:

ResourceFormula
Remaining free Bandwidthmax(0, freeNetLimit - freeNetUsed)
Remaining staked or delegated Bandwidthmax(0, NetLimit - NetUsed)
Remaining Energymax(0, EnergyLimit - EnergyUsed)
Remaining allocatable TRON Power (TP)max(0, tronPowerLimit - tronPowerUsed)

Protocol Buffers fields whose value is 0 may be omitted from the JSON response. Treat an omitted numeric field as 0 before applying these formulas. To distinguish sources, inspect the staking fields returned by wallet/getaccount. Query Stake 2.0 delegations through wallet/getdelegatedresourcev2 and wallet/getdelegatedresourceaccountindexv2, and legacy Stake 1.0 delegations through wallet/getdelegatedresource and wallet/getdelegatedresourceaccountindex.

Related resources

Body Params
string
required
^(?:T[1-9A-HJ-NP-Za-km-z]{33}|(?:0x)?41[0-9A-Fa-f]{40})(?![\s\S])

Account address. (Format: Base58 or Hex). Example: TUoHaVjx7n5xz8LwPRDckgFrDWhMhuSuJM

boolean
Defaults to false

Use a Base58 address in the request when true. When false or omitted, use a hexadecimal address starting with 41.

Response

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json