GetAccountResource
POST: http://172.104.51.182:16667/wallet/getaccountresource
Query the resource information of an account(bandwidth,energy,etc)
BODY PARAMS
{
address
string
visible
boolean (optional)
}
Note:
freeNetUsed
Free bandwidth used
freeNetLimit
Total free bandwidth
NetUsed
Used amount of bandwidth obtained by staking
NetLimit
Total bandwidth obtained by staking
TotalNetLimit
Total bandwidth can be obtained by staking
TotalNetWeight
Total TRX staked for bandwidth
tronPowerLimit
TRON Power(vote)
EnergyUsed
Energy used
EnergyLimit
Total energy obtained by staking
TotalEnergyLimit
Total energy can be obtained by staking
TotalEnergyWeight
Total TRX staked for energy
Example:
curl --request POST --url http://172.104.51.182:16667/wallet/getaccountresource --header 'Accept: application/json' --header 'Content-Type: application/json' --data ' { "address": "WFzFXoQCgUeoApjejKM9B46NgFGHXvUyKz" }
Input:
{ "address": "WFzFXoQCgUeoApjejKM9B46NgFGHXvUyKz", "visible": true }
Response:
{
"freeNetUsed": 373, "freeNetLimit": 5000, "TotalNetLimit": 43200000000, "TotalNetWeight": 2225116, "TotalEnergyLimit": 50000000000000, "TotalEnergyWeight": 1108611
}
Last updated