Skip to main content

/wallet/accountpermissionupdate REST API Endpoint

Update the account's permission.

Updated on
Oct 04, 2023

Body Parameters

owner_address
string
REQUIRED

The owner address

actives
string
REQUIRED

The active permission

owner
integer
REQUIRED

The owner permission

witness
integer
REQUIRED

The witness permission

visible
boolean

A boolean value indicating whether the address is in base58 format

Returns

visible

A boolean value indicating whether the transaction was successful

txid

The transaction id

raw_data

An object that contains the transaction details with the following fields:

contract

An array of objects containing information about the exchange transaction contract

contract_index

The contract index

parameter

An object containing the exchange transaction contract parameters

value

An object containing the values of the exchange transaction contract parameters

owner

The amount of the token being injected in the exchange

keys

The amount of the token being injected in the exchange

address

The TRON blockchain address associated with the key

weight

The weight determines the influence or importance of the key in the permission structure

permission_name

The name of the permission level

threshold

It determines the required number of keys to authorize actions associated with the active permission

owner_address

The owner address of the exchange pair

active

An object that represents the active permission settings for a blockchain account

operations

The hexadecimal value representing a bitmask or set of permissions associated with the active permission level

type

It indicates the type of permission

permission_name

The name of the permission level

threshold

It determines the required number of keys to authorize actions associated with the active permission

keys

The key objects associated with the active permission level which contains the following fields:

address

The blockchain address associated with the key

weight

The weight or importance of the key within the permission structure

type_url

The URL of the exchange transaction contract type

type

The type of the exchange transaction contract

ref_block_bytes

The ref block bytes of the transaction

ref_block_hash

The ref block hash of the transaction

expiration

This is a timestamp indicating the expiration time of the transaction in milliseconds

timestamp

This is a timestamp indicating the time at which the transaction was created in milliseconds

raw_data_hex

The hexadecimal representation of the raw data in the transactio

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free