Skip to main content
Update the account’s permission. This method will use 30 Compute Units.

Parameters

  • owner_address - String - The account address to be modified, converted to a hex string
  • active - JSON object - Active permission
  • owner - JSON object - Owner permission
  • visible - Boolean - Optional. Specifies whether the address is in Base58 format (default: false)

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: