HomeGuidesAPI ReferenceChangelog
GuidesAPI ReferenceCommunityDiscordBlogFAQBug BountyAnnouncementsChange Log
API Reference

GetAccount

Query information about an account, including TRX balance, TRC-10 balances, stake information and vote information and permissions etc.

This API returns the account object, which contains the following fields:

Field

Description

account_name

The name of the account. The account name can be modified through the wallet/updateaccount interface. The account name can only be changed once.

address

Account address

create_time

Account creation time, i.e. account activation time on the TRON network

balance

TRX balance

frozen.frozen_balance

In Stake 1.0, the total amount of TRX staked by the account to obtain bandwidth

frozen.expire_time

In Stake 1.0, the expiration time of the stake operation performed by the account to obtain bandwidth. The account can perform the unstake operation after that time.

delegated_frozen_balance_for_bandwidth

In Stake 1.0, the total amount of TRX staked by the account for others to get bandwidth

acquired_delegated_frozen_balance_for_bandwidth

In Stake 1.0, the total amount of TRX staked by other accounts for this account to get bandwidth

account_resource.frozen_balance_for_energy.frozen_balance

In Stake 1.0, the total amount of TRX staked by the account to obtain energy

account_resource.frozen_balance_for_energy.expire_time

In Stake 1.0, the expiration time of the stake operation performed by the account to obtain energy. The account can perform the unstake operation after that time.

account_resource.delegated_frozen_balance_for_energy

In Stake 1.0, the total amount of TRX staked by the account for others to get energy

account_resource.acquired_delegated_frozen_balance_for_energy

In Stake 1.0, the total amount of TRX staked by other accounts for this account to get energy

account_resource.delegated_frozenV2_balance_for_energy

In Stake 2.0, the total amount of TRX staked by the account for others to get energy

account_resource.acquired_delegated_frozenV2_balance_for_energy

In Stake 2.0, the total amount of TRX staked by other accounts for this account to get energy

delegated_frozenV2_balance_for_bandwidth

In Stake 2.0, the total amount of TRX staked by the account for others to get bandwidth

acquired_delegated_frozenV2_balance_for_bandwidth

In Stake 2.0, the total amount of TRX staked by other accounts for this account to get bandwidth

frozenV2

In Stake 2.0, the total amount of TRX staked to obtain various types of resources does not include the delegated TRX

unfrozenV2

In Stake 2.0, each unstaking information. One of the unstaking information contains three fields: type: resource type; unfreeze_amount: the amount of unstaked TRX; unfreeze_expire_time: the start time stamp when the unstaked TRX can be withdrawn, in ms.

account_resource.energy_usage

The amount of energy used by the account

account_resource.latest_consume_time_for_energy

The last time the account consumed energy

net_usage

The amount of bandwidth used by the account

free_net_usage

The amount of free bandwidth used by the account

free_asset_net_usageV2

The amount of trc10's free bandwidth used by this account

votes

The number of votes for each Super Representative

latest_opration_time

The last operation time

latest_consume_time

The last time the account consumed bandwidth

latest_consume_free_time

The last time the account consumed free bandwidth

is_witness

Is Super Representative

allowance

The amount of rewards that can be withdrawn for the account

latest_withdraw_time

The last time the account has withdrawn the reward, the super representative or user can only withdraw the reward once within 24 hours

owner_permission

owner permissions

witness_permission

witness permissions

active_permission

active permission

asset

The token id and balance of the TRC10 token in the account

assetV2

The token id and balance of the TRC10 token in the account. Note, the V2 version is used after allowing token with same name and the proposal has been activated at present.

asset_issued_name

The name of the TRC10 token created by the account

asset_issued_ID

TRC10 token ID created by the account

free_asset_net_usage

The amount of free bandwidth consumed by account transferring TRC10 tokens

free_asset_net_usageV2

The amount of free bandwidth consumed by account transferring TRC10 tokens

Language
Click Try It! to start a request and see the response here!