post https://api.shasta.trongrid.io/wallet/accountpermissionupdate
Update the account's permission.
Returns
Transaction - JSON object: Unsigned transaction, please refer to the Transaction chapter for the fields contained in it. Since the transaction type is AccountPermissionUpdateContract
, the fields contained in raw_data.contract[0].parameter.value
in the transaction are as follows:
Field | Type | Description |
---|---|---|
owner_address | string | account address |
owner | Permission | The owner permission of the account. The fields contained in Permission are as follows: type - int: permission type; permission_name - string: permission name; threshold - int64: threshold; parent_id - int32: currently only 0; operations - string: permission; keys - Key[]: the addresses and weights that jointly own the permission, up to 5 keys are allowed |
witness | Permission | Account witness permissions |
actives | Permission[] | List of active permissions for the account |