get https://api.shasta.trongrid.io/v1/accounts/
Returns
Field | Type | Description |
---|---|---|
data.address | String | Account address(hex) |
data.balance | Long | TRX balance(sun) |
data.create_time | Long | Account creation time, i.e. account activation time on the TRON network |
data.latest_opration_time | Long | The last operation time |
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 | In Stake 1.0, the total amount of TRX staked by other accounts for this account to get energy |
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 | In Stake 2.0, the total amount of TRX staked by other accounts for this account to get energy |
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 | Owner 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 owner permission |
data.owner_permission.keys.weight | Integer | weight with owner 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 | In Stake 2.0, the total amount of TRX staked by the account for others to get bandwidth |
data.acquired_delegated_frozen_balance_for_bandwidth | Long | In Stake 1.0, the total amount of TRX staked by the account for others to get bandwidth |
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 |
success | Boolean | Return data successfully |
meta.page_size | Integer | Response page size |
meta.at | Long | Response timestamp in millisecond |
meta.fingerprint | Integer | Next url fingerprint |
meta.links.next | String | Next url |
data.votes.vote_address | String | SR address |
data.votes.vote_count | Long | Vote count |