get https://api.shasta.trongrid.io/v1/accounts/
Returns
**Field | Type | Description |
---|---|---|
data.address | String | address in hex |
data.balance | Long | the trx balance, unit is sun |
data.create_time | Long | Address creation timestamp(millisecond) |
data.latest_opration_time | Long | The operation timestamp of the latest transaction(millisecond), including transfer, voting and so on. |
data.latest_consume_time | Long | The last time the account consumed bandwidth |
data.latest_consume_free_time | Long | The last time the account consumed free bandwidth |
data.net_window_size | Long | The number of block times required for bandwidth obtained by stake to fully recover. If net_window_optimized is true, net_window_size's decimal is 3, else is 0. For example, when net_window_optimized=true, then net_window_size=1000 means that it takes one block time for bandwidth to fully recovery; if net_window_optimized=false, then net_window_size=1000 means that it takes 1000 blocks time for bandwidth to fully recovery |
data.net_window_optimized | Boolean | Whether to optimize net recover window |
data.account_resource.latest_consume_time_for_energy | Long | The last time the account consumed energy |
data.account_resource.acquired_delegated_frozen_balance_for_energy | Long | Frozen balance provided by other accounts to this account(stake1.0) |
data.account_resource.energy_window_size | Long | The number of block times required for to fully recover. If energy_window_optimized is true, energy_window_size's decimal is 3, else is 0. For example, when energy_window_optimized=true, then energy_window_size=1000 means that it takes one block time for energy to fully recovery; if energy_window_optimized=false, then energy_window_size=1000 means that it takes 1000 blocks time for energy to fully recovery |
data.account_resource.acquired_delegated_frozenV2_balance_for_energy | Long | Frozen energy balance provided by other accounts to this account(stake2.0) |
data.account_resource.energy_window_optimized | Boolean | Whether to optimize energy recover window |
data.owner_permission.permission_name | String | Permission name |
data.owner_permission.threshold | Integer | Permission threshold, the corresponding operation is allowed only when the sum of the weights of the participating signatures exceeds the domain value. |
data.owner_permission.keys.address | String | address with permission |
data.owner_permission.keys.weight | Integer | weight with permission |
data.active_permission.type | String | Permission type, currently only supports three permissions(Owner、Witness、Active). |
data.active_permission.id | Integer | Active permission id,automatically incremented from 2 |
data.active_permission.permission_name | String | Permission name |
data.active_permission.threshold | Integer | Permission threshold, the corresponding operation is allowed only when the sum of the weights of the participating signatures exceeds the domain value. |
data.active_permission.operations | String | permission operations |
data.active_permission.keys.address | String | address with permission |
data.active_permission.keys.weight | Integer | weight with permission |
data.frozenV2.[i].amount | Long | Resource amount |
data.frozenV2.[i].type | String | Resource Type |
data.acquired_delegated_frozenV2_balance_for_bandwidth | Long | Frozen balance provided by other accounts to this account(stake2.0) |
data.acquired_delegated_frozen_balance_for_bandwidth | Long | Frozen balance provided by other accounts to this account(stake1.0:) |
data.assetV2[i].key | String | TRC10 token_id |
data.assetV2[i].value | Long | TRC10 token balance |
data.free_net_usage | Long | Free bandwidth used |
data.free_asset_net_usageV2[i].key | String | TRC10 token_id |
data.free_asset_net_usageV2[i].value | Long | Free bandwidth used |
data.trc20 | List | TRC20 balance hold by this account |
data.success | Boolean | Return data successfully |
data.meta.page_size | Integer | Response page size |
data.meta.at | Long | Response timestamp in millisecond |
data.votes.vote_address | String | SR address |
data.votes.vote_count | Long | Vote count |