Get asset metadata

Get metadata of a specific asset.

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

Last updated