get https://api.shasta.trongrid.io/v1/accounts/
Returns
| Field | Type | Description |
|---|---|---|
| data.address | String | Account address. (Format: hex) |
| data.balance | Long | TRX balance. (Unit: sun) |
| data.account_name | String | Account name. |
| data.create_time | Long | The timestamp for when the account was created. (Unit: millisecond) |
| data.is_witness | Boolean | Indicates if the account is a Super Representative (SR), an SR Partner or an SR candidate. |
| data.allowance | Long | The amount of rewards that can be withdrawn by the account. (Unit: sun) |
| data.latest_withdraw_time | Long | The timestamp of the account's last withdrawal of voting rewards. (Unit: millisecond) |
| data.latest_opration_time | Long | The timestamp of the account's last operation. (Unit: millisecond) |
| data.latest_consume_time | Long | The timestamp of the account's last Bandwidth consumption. (Unit: millisecond) |
| data.latest_consume_free_time | Long | The timestamp of the account's last free Bandwidth consumption. (Unit: millisecond) |
| data.net_window_size | Long | The 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_optimized | Boolean | Whether the Bandwidth recovery window optimization is enabled. |
| data.account_resource.latest_consume_time_for_energy | Long | The timestamp of the account's last Energy consumption. (Unit: millisecond) |
| data.account_resource.acquired_delegated_frozen_balance_for_energy | Long | The 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_energy | Long | The 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_size | Long | The 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_energy | Long | The 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_energy | Long | The total amount of TRX staked by the account for others to get Energy. (For Stake 2.0) |
| data.account_resource.energy_window_optimized | Boolean | Whether the Energy recovery window optimization is enabled. |
| data.frozen.frozen_balance | Long | The total amount of TRX staked by the account to obtain Bandwidth. (For Stake 1.0) |
| data.frozen.expire_time | Long | The 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_balance | Long | The total amount of TRX staked by this account for Energy. (Unit: sun, For Stake 1.0) |
| data.account_resource.frozen_balance_for_energy.expire_time | Long | The timestamp when the Stake 1.0 Energy stake expires and can be unstaked. (Unit: millisecond) |
| data.account_resource.energy_usage | Long | |
| data.owner_permission.permission_name | String | Owner permission name. |
| data.owner_permission.threshold | Integer | Owner Permission threshold. The operation is allowed only when the sum of weights of the participating signatures exceeds this value. |
| data.owner_permission.keys.address | String | The address with Owner Permission. |
| data.owner_permission.keys.weight | Integer | The weight with Owner Permission. |
| data.active_permission.type | String | The type of Active Permission:Active. |
| data.active_permission.id | Integer | Active Permission ID. (Automatically assigned from 2) |
| data.active_permission.permission_name | String | Permission name. |
| data.active_permission.threshold | Integer | Active Permission threshold. The operation is allowed only when the sum of weights of the participating signatures exceeds this value. |
| data.active_permission.operations | String | Active Permission operations. |
| data.active_permission.keys.address | String | The address with this Active Permission. |
| data.active_permission.keys.weight | Integer | The weight with this Active Permission. |
| data.witness_permission.type | String | The type of Witness Permission: Witness . |
| data.witness_permission.id | Integer | Witness Permission ID: 1. |
| data.witness_permission.permission_name | String | Permission name. |
| data.witness_permission.threshold | Integer | Witness Permission threshold. The operation is allowed only when the sum of weights of the participating signatures exceeds this value. |
| data.witness_permission.keys.address | String | The address with Witness Permission. |
| data.witness_permission.keys.weight | Integer | The weight with Witness Permission. |
| data.frozenV2.[i].amount | Long | The amount of TRX staked to obtain the resource type specified by data.frozenV2[i].type. (For Stake 2.0) |
| data.frozenV2.[i].type | String | The resource type. |
| data.acquired_delegated_frozenV2_balance_for_bandwidth | Long | The total amount of TRX staked by other accounts for this account to obtain Bandwidth. (For Stake 2.0) |
| data.delegated_frozenV2_balance_for_bandwidth | Long | The total amount of TRX staked by this account for others to obtain Bandwidth. (For Stake 2.0) |
| data.acquired_delegated_frozen_balance_for_bandwidth | Long | The total amount of TRX staked by other accounts for this account to obtain Bandwidth. (For Stake 1.0) |
| data.delegated_frozen_balance_for_bandwidth | Long | The total amount of TRX staked by the account for others to get Bandwidth. (For Stake 1.0) |
| data.assetV2[i].key | String | TRC-10 Token ID. |
| data.assetV2[i].value | Long | TRC-10 Token balance. |
| data.net_usage | Long | The amount of Bandwidth used. |
| data.free_net_usage | Long | The amount of free Bandwidth used. |
| data.free_asset_net_usageV2[i].key | String | The TRC-10 Token ID. |
| data.free_asset_net_usageV2[i].value | Long | The amount of free Bandwidth consumed from the corresponding TRC-10 Token. |
| data.trc20 | List | TRC-20 balance held by this account. |
| data.votes.vote_address | String | The address of the Super Representative (SR) that this account has voted for. |
| data.votes.vote_count | Long | The number of votes cast for the corresponding SR address. |
| success | Boolean | Indicates if the request was successful. |
| meta.page_size | Integer | Response page size. |
| meta.at | Long | Response timestamp in milliseconds. |