> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# wallet/getaccountresource | TRON

> TRON API method that queries the resource information of an account, including bandwidth, energy, and TRON Power (voting power). On TRON.

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.

## 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


## OpenAPI

````yaml openapi/tron_node_api/getaccountresource.json post /95e61622bf6a8af293978377718e3b77/wallet/getaccountresource
openapi: 3.0.0
info:
  title: wallet/getaccountresource TRON API
  version: 1.0.0
  description: Query the resource information of a TRON account
servers:
  - url: https://tron-mainnet.core.chainstack.com
security: []
paths:
  /95e61622bf6a8af293978377718e3b77/wallet/getaccountresource:
    post:
      tags:
        - Account Management
      summary: wallet/getaccountresource
      operationId: getAccountResource
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - address
              properties:
                address:
                  type: string
                  description: Account address in hex or base58check format
                  example: TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g
                visible:
                  type: boolean
                  description: Whether the address is in readable format
                  default: true
      responses:
        '200':
          description: Account resource information
          content:
            application/json:
              schema:
                type: object
                properties:
                  freeNetUsed:
                    type: integer
                    description: Free bandwidth used by the account
                    example: 0
                  freeNetLimit:
                    type: integer
                    description: Total free bandwidth
                    example: 5000
                  NetUsed:
                    type: integer
                    description: Used amount of bandwidth obtained by staking
                    example: 0
                  NetLimit:
                    type: integer
                    description: Total bandwidth obtained by staking
                    example: 0
                  TotalNetLimit:
                    type: integer
                    description: Total network bandwidth limit
                    example: 43200000000
                  TotalNetWeight:
                    type: integer
                    description: Total network weight
                    example: 84687233463517
                  EnergyUsed:
                    type: integer
                    description: Energy used by the account
                    example: 0
                  EnergyLimit:
                    type: integer
                    description: Total energy obtained by staking
                    example: 0
                  TotalEnergyLimit:
                    type: integer
                    description: Total energy limit on network
                    example: 90000000000
                  TotalEnergyWeight:
                    type: integer
                    description: Total energy weight on network
                    example: 13369831825062
                  tronPowerLimit:
                    type: integer
                    description: TRON Power (voting power)
                    example: 0
                  tronPowerUsed:
                    type: integer
                    description: TRON Power used for voting
                    example: 0
                  totalTronPowerWeight:
                    type: integer
                    description: Total TRON Power weight on network
                    example: 0
                  assetNetUsed:
                    type: array
                    description: Bandwidth used for TRC10 assets
                    items:
                      type: object
                      properties:
                        key:
                          type: string
                          description: Asset ID
                        value:
                          type: integer
                          description: Bandwidth used for this asset
                  assetNetLimit:
                    type: array
                    description: Bandwidth limit for TRC10 assets
                    items:
                      type: object
                      properties:
                        key:
                          type: string
                          description: Asset ID
                        value:
                          type: integer
                          description: Bandwidth limit for this asset

````