Skip to main content

/wallet/getaccountresource REST API Endpoint

Query the resource information of an account(bandwidth,energy,etc).

Updated on
Oct 4, 2023

/wallet/getaccountresource REST API Endpoint

Body Parameters

address
integer
REQUIRED
The address of the account converted into hex string
visible
boolean
A boolean value indicating whether the address is in base58 format

Returns

freeNetUsed
The amount of free bandwidth used by the account
freeNetLimit
The total amount of free bandwidth allocated to the account
netUsed
The used amount of bandwidth obtained through staking TRX tokens
netLimit
The total amount of bandwidth obtained through staking TRX tokens
totalNetLimit
The total amount of bandwidth that can be obtained through staking by the entire network
totalNetWeight
The total amount of TRX tokens staked by the entire network for bandwidth
totalTronPowerWeight
The total amount of voting rights obtained by the entire network
tronPowerLimit
The limit of voting power available to the account
tronPowerUsed
The TRON Power (vote) used by the account
energyUsed
The amount of energy used by the account
energyLimit
The total amount of energy obtained through staking TRX tokens
totalEnergyLimit
The total amount of energy that can be obtained through staking by the entire network
totalEnergyWeight
The total amount of TRX tokens staked by the entire network for energy resources
assetNetUsed
The amount of free bandwidth used by the account for each TRC10 asset
assetNetLimit
The amount of free bandwidth allocated to the account for each TRC10 asset
Request
1
curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccountresource \
2
--header 'accept: application/json' \
3
--header 'content-type: application/json' \
4
--data '
5
{
6
"address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
7
"visible": true
8
}
9
'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free