HomeGuidesAPI ReferenceChangelog
GuidesAPI ReferenceCommunityDiscordBlogFAQBug BountyAnnouncementsChange Log
API Reference

Get account info by address

Returns

FieldTypeDescription
data.addressStringAccount address. (Format: hex)
data.balanceLongTRX balance. (Unit: sun)
data.account_nameStringAccount name.
data.create_timeLongThe timestamp for when the account was created. (Unit: millisecond)
data.is_witnessBooleanIndicates if the account is a Super Representative (SR), an SR Partner or an SR candidate.
data.allowanceLongThe amount of rewards that can be withdrawn by the account. (Unit: sun)
data.latest_withdraw_timeLongThe timestamp of the account's last withdrawal of voting rewards. (Unit: millisecond)
data.latest_opration_timeLongThe timestamp of the account's last operation. (Unit: millisecond)
data.latest_consume_timeLongThe timestamp of the account's last Bandwidth consumption. (Unit: millisecond)
data.latest_consume_free_timeLongThe timestamp of the account's last free Bandwidth consumption. (Unit: millisecond)
data.net_window_sizeLongThe duration, in blocks, required for staked Bandwidth to fully recover.

Note: The value has a decimal precision of 3 if net_window_optimized is true, otherwise 0.
data.net_window_optimizedBooleanWhether the Bandwidth recovery window optimization is enabled.
data.account_resource.latest_consume_time_for_energyLongThe timestamp of the account's last Energy consumption. (Unit: millisecond)
data.account_resource.acquired_delegated_frozen_balance_for_energyLongThe total amount of TRX staked by other accounts for this account's energy. (Unit: sun, For Stake 1.0)
data.account_resource.delegated_frozen_balance_for_energyLongThe duration, in blocks, required for Energy to fully recover.

Note: The value has a decimal precision of 3 if energy_window_optimized is true, otherwise 0.
data.account_resource.energy_window_sizeLongThe number of block times required for Energy to fully recover. (Decimal precision is 3 if account_resource.energy_window_optimized is true, otherwise 0.)
data.account_resource.acquired_delegated_frozenV2_balance_for_energyLongThe total amount of TRX staked by other accounts for this account's Energy. (Unit: sun, For Stake 2.0)
data.account_resource.delegated_frozenV2_balance_for_energyLongThe total amount of TRX staked by the account for others to get Energy. (For Stake 2.0)
data.account_resource.energy_window_optimizedBooleanWhether the Energy recovery window optimization is enabled.
data.frozen.frozen_balanceLongThe total amount of TRX staked by the account to obtain Bandwidth. (For Stake 1.0)
data.frozen.expire_timeLongThe expiration time of the Bandwidth stake operation in Stake 1.0. (The account can perform the unstake operation after this time.)
data.account_resource.frozen_balance_for_energy.frozen_balanceLongThe total amount of TRX staked by this account for Energy. (Unit: sun, For Stake 1.0)
data.account_resource.frozen_balance_for_energy.expire_timeLongThe timestamp when the Stake 1.0 Energy stake expires and can be unstaked. (Unit: millisecond)
data.account_resource.energy_usageLong
data.owner_permission.permission_nameStringOwner permission name.
data.owner_permission.thresholdIntegerOwner Permission threshold. The operation is allowed only when the sum of weights of the participating signatures exceeds this value.
data.owner_permission.keys.addressStringThe address with Owner Permission.
data.owner_permission.keys.weightIntegerThe weight with Owner Permission.
data.active_permission.typeStringThe type of Active Permission:Active.
data.active_permission.idIntegerActive Permission ID. (Automatically assigned from 2)
data.active_permission.permission_nameStringPermission name.
data.active_permission.thresholdIntegerActive Permission threshold. The operation is allowed only when the sum of weights of the participating signatures exceeds this value.
data.active_permission.operationsStringActive Permission operations.
data.active_permission.keys.addressStringThe address with this Active Permission.
data.active_permission.keys.weightIntegerThe weight with this Active Permission.
data.witness_permission.typeStringThe type of Witness Permission: Witness .
data.witness_permission.idIntegerWitness Permission ID: 1.
data.witness_permission.permission_nameStringPermission name.
data.witness_permission.thresholdIntegerWitness Permission threshold. The operation is allowed only when the sum of weights of the participating signatures exceeds this value.
data.witness_permission.keys.addressStringThe address with Witness Permission.
data.witness_permission.keys.weightIntegerThe weight with Witness Permission.
data.frozenV2.[i].amountLongThe amount of TRX staked to obtain the resource type specified by data.frozenV2[i].type. (For Stake 2.0)
data.frozenV2.[i].typeStringThe resource type.
data.acquired_delegated_frozenV2_balance_for_bandwidthLongThe total amount of TRX staked by other accounts for this account to obtain Bandwidth. (For Stake 2.0)
data.delegated_frozenV2_balance_for_bandwidthLongThe total amount of TRX staked by this account for others to obtain Bandwidth. (For Stake 2.0)
data.acquired_delegated_frozen_balance_for_bandwidthLongThe total amount of TRX staked by other accounts for this account to obtain Bandwidth. (For Stake 1.0)
data.delegated_frozen_balance_for_bandwidthLongThe total amount of TRX staked by the account for others to get Bandwidth. (For Stake 1.0)
data.assetV2[i].keyStringTRC-10 Token ID.
data.assetV2[i].valueLongTRC-10 Token balance.
data.net_usageLongThe amount of Bandwidth used.
data.free_net_usageLongThe amount of free Bandwidth used.
data.free_asset_net_usageV2[i].keyStringThe TRC-10 Token ID.
data.free_asset_net_usageV2[i].valueLongThe amount of free Bandwidth consumed from the corresponding TRC-10 Token.
data.trc20ListTRC-20 balance held by this account.
data.votes.vote_addressStringThe address of the Super Representative (SR) that this account has voted for.
data.votes.vote_countLongThe number of votes cast for the corresponding SR address.
successBooleanIndicates if the request was successful.
meta.page_sizeIntegerResponse page size.
meta.atLongResponse timestamp in milliseconds.
Language
Click Try It! to start a request and see the response here!