HomeGuidesAPI ReferenceChangelog
GuidesAPI ReferenceCommunityDiscordBlogFAQBug BountyAnnouncementsChange Log
API Reference

AccountPermissionUpdate

Update the account's permission.

Log in to see full request history
timestatususer agent
Retrieving recent requests…
LoadingLoading…

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:

FieldTypeDescription
owner_addressstringaccount address
ownerPermissionThe 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
witnessPermissionAccount witness permissions, used by super representative
activesPermission[]List of active permissions for the account
Body Params
string
Defaults to TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g

owner address

json
Defaults to [{ "type": 2, "permission_name": "active0", "threshold": 2, "operations": "7fff1fc0037e0000000000000000000000000000000000000000000000000000", "keys": [{ "address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g", "weight": 1 }, { "address": "TPswDDCAWhJAZGdHPidFg5nEf8TkNToDX1", "weight": 1 }] }]

active permission

json
Defaults to { "type": 0, "permission_name": "owner", "threshold":1, "keys": [{ "address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g", "weight": 1 }] }

owner permission

json

witness permission

boolean
Defaults to true
Responses

Language
Click Try It! to start a request and see the response here! Or choose an example:
application/json