curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/accountpermissionupdate \
--header 'Content-Type: application/json' \
--data '
{
"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
"owner": {
"type": 0,
"permission_name": "owner",
"threshold": 1,
"keys": [
{
"address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
"weight": 1
}
]
},
"witness": {
"type": 1,
"permission_name": "witness",
"threshold": 1,
"keys": [
{
"address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
"weight": 1
}
]
},
"actives": [
{
"type": 2,
"permission_name": "active",
"threshold": 1,
"operations": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF",
"keys": [
{
"address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
"weight": 1
}
]
}
],
"visible": true
}
'{
"visible": true,
"txID": "<string>",
"raw_data": {},
"raw_data_hex": "<string>"
}curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/accountpermissionupdate \
--header 'Content-Type: application/json' \
--data '
{
"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
"owner": {
"type": 0,
"permission_name": "owner",
"threshold": 1,
"keys": [
{
"address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
"weight": 1
}
]
},
"witness": {
"type": 1,
"permission_name": "witness",
"threshold": 1,
"keys": [
{
"address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
"weight": 1
}
]
},
"actives": [
{
"type": 2,
"permission_name": "active",
"threshold": 1,
"operations": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF",
"keys": [
{
"address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
"weight": 1
}
]
}
],
"visible": true
}
'{
"visible": true,
"txID": "<string>",
"raw_data": {},
"raw_data_hex": "<string>"
}owner_address — the account address whose permissions are being updatedowner — optional object containing owner permission settings with threshold and keyswitness — optional object containing witness permission settings with threshold and keysactives — optional array of active permission objects with threshold, operations, and keysvisible — optional boolean parameter. When set to true, addresses are in base58 format. Default is false.visible — indicates the address format used in the responsetxID — the transaction hashraw_data — raw transaction data including:
contract — array containing the permission update contractref_block_bytes — reference block bytesref_block_hash — reference block hashexpiration — transaction expiration timestamptimestamp — transaction creation timestampraw_data_hex — hexadecimal representation of the raw transactionwallet/accountpermissionupdate method is used for:
curl --request POST \
--url 'https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/accountpermissionupdate' \
--header 'Content-Type: application/json' \
--data '{
"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
"owner": {
"type": 0,
"permission_name": "owner",
"threshold": 1,
"keys": [
{ "address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g", "weight": 1 }
]
},
"actives": [
{
"type": 2,
"permission_name": "active",
"threshold": 1,
"operations": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF",
"keys": [
{ "address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g", "weight": 1 }
]
}
],
"visible": true
}'
operations must be a 32‑byte hex string (64 hex chars) representing the allowed operations bitmask.keys entry requires an address and weight. The sum of weights for a permission must be greater than or equal to its threshold.visible: true, or hex addresses with visible: false.Show child attributes
32-byte hex bitmask of allowed operations
Was this page helpful?