obyte.js
GitHubDiscord
0.1.3
0.1.3
  • 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
    • 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 template
    • Payment
    • Poll
    • Vote
    • Profile
    • Text
  • Utils
    • Generate a random address
    • Get definition address
    • Is valid address
    • Keep connection alive
  • About
    • About
    • Links
    • Tutorials
Powered by GitBook
On this page
  • Example
  • Returns
  • Learn more
  1. API

Get definition

Get an address definition.

PreviousGet asset metadataNextGet balances

Last updated 6 years ago

Example

const address = 'TMWNLXR42CKIP4A774BQGNVBZAPHY7GH';

client.api.getDefinition(address, function(err, result) {
  console.log(result);
});

Returns

[
  'sig',
  {
    pubkey: 'AsD2GQ3+CSHfFO9CfX8+gBxmxSm9TGweKjWVie0rt/0p'
  }
]

Learn more

  • "21. Addresses" (page 23)

https://obyte.org/Byteball.pdf