obyte.js
GitHubDiscord
0.1.0
0.1.0
  • Byteball.js
  • Getting started
    • Quick start
  • Client
    • Subscribe
    • Just saying
  • API
    • Get witnesses
    • Get peers
    • Get joint
    • Get last MCI
    • Get history
    • Get attestation
    • Get attestations
    • Get bots
    • Get asset metadata
    • Core
      • Catchup
      • Get hash tree
      • Get light props
      • Post joint
      • Pick divisible coins for amount
  • Post
    • Address definition change
    • Attestation
    • Asset
    • Asset attestors
    • Data
    • Data feed
    • Definition template
    • Payment
    • Poll
    • Vote
    • Profile
    • Text
  • Utils
    • Generate a random address
  • About
    • About
    • Links
    • Tutorials
Powered by GitBook
On this page
  • Arguments
  • Returns
  • Learn more
  1. Post

Address definition change

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

PreviousPick divisible coins for amountNextAttestation

Last updated 6 years ago

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) {
  console.log(result);
});

Learn more

  • 21. Addresses (page 23)

https://byteball.org/Byteball.pdf