Address definition change

Users can update definitions of their addresses while keeping the old address.

Arguments

  • definition_chash string required Indicates the checksummed hash of the new address definition.

  • address string optional When multi-authored, must indicate address.

Returns

Returns the unit hash.

Example

const params = {
  definition_chash: 'I4Z7KFNIYTPHPJ5CA5OFC273JQFSZPOX',
};

client.post.addressDefinitionChange(params, wif, function(err, result) {
  if (err) return console.error(err);
  console.log(result);
});

Learn more

Last updated