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

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

boolean

Optional. Set to true to format addresses in Base58; set to false for hex format. (Default: false)

Responses

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