obyte.js
GitHubDiscord
0.1.1
0.1.1
  • Byteball.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
  • 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
  • Example
  • Returns
  • Learn more
  1. API

Get asset metadata

Get metadata of a specific asset.

PreviousGet botsNextGet definition

Last updated 6 years ago

Example

const asset = '1OLPCz72F1rJ7IGtmEMuV1LvfLawT9WGOFuHugW2b7c=';

client.api.getAssetMetadata(asset, function(err, result) {
  console.log(result);
});

Returns

{
  metadata_unit: '3H0caQSbAjVOkgvOZLPJ8UTWKVdlRq56moVkqdE0noY=',
  registry_address: 'AM6GTUKENBYA54FYDAKX2VLENFZIMXWG',
  suffix: null
}

Learn more

  • Byteball Wiki:

  • Byteball Market:

https://wiki.byteball.org/Asset
https://byteball.market