---
title: "getaccountresource"
method: POST
path: "/node/v1/tron/mainnet/{apiKey}/wallet/getaccountresource"
---

# getaccountresource

`POST /node/v1/tron/mainnet/{apiKey}/wallet/getaccountresource`

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

## Path parameters

- `apiKey` string, required

## Request body

- object
  - `address` string, required — address should be converted to a hex string
  - `visible` boolean, required — Optional,whether the address is in base58 format

## Response `200`

200

- object
  - `freeNetUsed` integer — Free bandwidth used
  - `freeNetLimit` integer — Total free bandwidth
  - `NetUsed` integer — Used amount of bandwidth obtained by staking
  - `NetLimit` integer — Total bandwidth obtained by staking
  - `TotalNetLimit` integer — Total bandwidth can be obtained by staking by the whole network
  - `TotalNetWeight` integer — Total TRX staked for bandwidth by the whole network
  - `totalTronPowerWeight` integer — The total amount of voting rights obtained by the whole network
  - `tronPowerLimit` integer — TRON Power(vote)
  - `tronPowerUsed` integer — TRON Power(vote) used
  - `EnergyUsed` integer — Energy used
  - `EnergyLimit` integer — Total energy obtained by staking
  - `TotalEnergyLimit` integer — Total energy can be obtained by staking by the whole network
  - `TotalEnergyWeight` integer — Total TRX staked for energy by the whole network
  - `assetNetUsed` object — The amount of free bandwidth of each TRC10 asset used by the account
  - `assetNetLimit` object — The amount of free bandwidth for each TRC10 asset in the account

---

[API](https://skmtc.net/zan/apis/zan-getnftmetadata.md) · [All operations](https://skmtc.net/zan/apis/zan-getnftmetadata/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zan/zan-getnftmetadata/revisions/be8fa2338895/schema)
