POST
/
95e61622bf6a8af293978377718e3b77
/
wallet
/
accountpermissionupdate
wallet/accountpermissionupdate
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": [
      {}
    ]
  },
  "witness": {
    "type": 1,
    "permission_name": "witness",
    "threshold": 1,
    "keys": [
      {}
    ]
  },
  "actives": [
    {
      "type": 2,
      "permission_name": "active",
      "threshold": 1,
      "operations": "<string>",
      "keys": [
        {}
      ]
    }
  ],
  "visible": true
}'
{
  "visible": true,
  "txID": "<string>",
  "raw_data": {},
  "raw_data_hex": "<string>"
}
TRON API method that updates the permissions of an account on the TRON blockchain. This method allows modification of owner, witness, and active permissions for multi-signature account management.
Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • owner_address — the account address whose permissions are being updated
  • owner — optional object containing owner permission settings with threshold and keys
  • witness — optional object containing witness permission settings with threshold and keys
  • actives — optional array of active permission objects with threshold, operations, and keys
  • visible — optional boolean parameter. When set to true, addresses are in base58 format. Default is false.

Response

  • visible — indicates the address format used in the response
  • txID — the transaction hash
  • raw_data — raw transaction data including:
    • contract — array containing the permission update contract
    • ref_block_bytes — reference block bytes
    • ref_block_hash — reference block hash
    • expiration — transaction expiration timestamp
    • timestamp — transaction creation timestamp
  • raw_data_hex — hexadecimal representation of the raw transaction

Use case

The wallet/accountpermissionupdate method is used for:
  • Setting up multi-signature accounts with custom permission structures
  • Modifying existing account permissions and thresholds
  • Managing witness permissions for Super Representative accounts
  • Implementing advanced security models for institutional accounts
Note: The returned transaction must be signed and broadcast to complete the permission update.

Body

application/json

Response

200 - application/json

Unsigned account permission update transaction

The response is of type object.