Skip to main content
Modify account name. This method will use 30 Compute Units.

Parameters

  • owner_address - String - The account address to be modified, converted to a hex string
  • account_name - String - The name of the account, converted to a hex string
  • visible - Boolean - Optional. Specifies whether the address is in Base58 format (default: false)
  • Permission_id - int32 -Optional. For multi-signature use

Returns

Transaction - JSON object: Unsigned transaction, please refer to the Transaction chapter for the fields contained in it. Since the transaction type is AccountUpdateContract, the fields contained in raw_data.contract[0].parameter.value in the transaction are as follows: