Skip to main content
POST
/
95e61622bf6a8af293978377718e3b77
/
wallet
/
getaccountresource
wallet/getaccountresource
curl --request POST \
  --url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getaccountresource \
  --header 'Content-Type: application/json' \
  --data '{
  "address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
  "visible": true
}'
{
  "freeNetUsed": 0,
  "freeNetLimit": 5000,
  "NetUsed": 0,
  "NetLimit": 0,
  "TotalNetLimit": 43200000000,
  "TotalNetWeight": 84687233463517,
  "EnergyUsed": 0,
  "EnergyLimit": 0,
  "TotalEnergyLimit": 90000000000,
  "TotalEnergyWeight": 13369831825062,
  "tronPowerLimit": 0,
  "tronPowerUsed": 0,
  "totalTronPowerWeight": 0,
  "assetNetUsed": [
    {
      "key": "<string>",
      "value": 123
    }
  ],
  "assetNetLimit": [
    {
      "key": "<string>",
      "value": 123
    }
  ]
}
TRON API method that queries the resource information of an account, including bandwidth, energy, and TRON Power (voting power). This endpoint provides comprehensive resource metrics for managing transaction costs and network participation.
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 base58check format (optional, default: true)

Response

  • freeNetUsed — free bandwidth used by the account
  • freeNetLimit — total free bandwidth available to the account
  • NetUsed — used amount of bandwidth obtained by staking
  • NetLimit — total bandwidth obtained by staking
  • TotalNetLimit — total network bandwidth limit
  • TotalNetWeight — total network weight for bandwidth
  • EnergyUsed — energy consumed by the account
  • EnergyLimit — total energy obtained by staking
  • TotalEnergyLimit — total energy limit on the network
  • TotalEnergyWeight — total energy weight on the network
  • tronPowerLimit — TRON Power available for voting
  • tronPowerUsed — TRON Power used for voting
  • totalTronPowerWeight — total TRON Power weight on the network
  • assetNetUsed — bandwidth used for TRC10 assets (array)
  • assetNetLimit — bandwidth limit for TRC10 assets (array)

Use case

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

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

freeNetUsed
integer

Free bandwidth used by the account

Example:

0

freeNetLimit
integer

Total free bandwidth

Example:

5000

NetUsed
integer

Used amount of bandwidth obtained by staking

Example:

0

NetLimit
integer

Total bandwidth obtained by staking

Example:

0

TotalNetLimit
integer

Total network bandwidth limit

Example:

43200000000

TotalNetWeight
integer

Total network weight

Example:

84687233463517

EnergyUsed
integer

Energy used by the account

Example:

0

EnergyLimit
integer

Total energy obtained by staking

Example:

0

TotalEnergyLimit
integer

Total energy limit on network

Example:

90000000000

TotalEnergyWeight
integer

Total energy weight on network

Example:

13369831825062

tronPowerLimit
integer

TRON Power (voting power)

Example:

0

tronPowerUsed
integer

TRON Power used for voting

Example:

0

totalTronPowerWeight
integer

Total TRON Power weight on network

Example:

0

assetNetUsed
object[]

Bandwidth used for TRC10 assets

assetNetLimit
object[]

Bandwidth limit for TRC10 assets