HomeGuidesAPI ReferenceChangelog
GuidesAPI ReferenceCommunityDiscordBlogFAQBug BountyAnnouncementsChange Log
API Reference

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

Account's owner permission. Fields in Permission object contains:

  • type (int): Permission type.
  • permission_name (string): Name of the permission (e.g., ""owner"").
  • threshold (int64): Minimum combined weight of signatures required.
  • parent_id (int32): Parent permission ID (defaults to 0).
  • operations (string): A 32-byte hex string representing the allowed operations.
  • keys (Key[]): List of associated addresses and weights (max 5).

witness

Permission

Witness permission details for a Super Representative (SR) account.

actives

Permission[]

List of active permissions for the account.

Language
Click Try It! to start a request and see the response here!