obyte.js
GitHubDiscord
0.1.12
0.1.12
  • Obyte.js
  • Getting started
    • Quick start
    • Testnet
  • 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
    • Get definition
    • Get balances
    • Get profile units
    • Autonomous Agents
      • Dry run AA
      • Get AA state vars
      • Get AAs by base AAs
      • Get AA responses
    • Core
      • Catchup
      • Get hash tree
      • Get light props
      • Post joint
      • Pick divisible coins for amount
      • Heartbeat
  • Post
    • Address definition change
    • Attestation
    • Asset
    • Asset attestors
    • Data
    • Data feed
    • Definition
    • Definition template
    • Payment
    • Poll
    • Vote
    • Profile
    • Text
    • Multi
  • Utils
    • Sign a message
    • Validate signed message
    • Generate a random address
    • Get definition address
    • Is valid address
    • Keep connection alive
  • 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.

PreviousHeartbeatNextAttestation

Last updated 4 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) {
  if (err) return console.error(err);
  console.log(result);
});

Learn more

  • 21. Addresses (page 23)

https://obyte.org/Byteball.pdf