Base64-encoded metadata hash in Asset

Hi,

I wanted to know what was the use for the particular field (“am”) a base64-encoded metadata hash in an asset. And if it is possible to retrieve this field from an asset without owning it by anyone. If it is only possible after owning the asset then how to read this using goal or SDK.

Thank you :slight_smile:

Hi @anupcoded,

All the fields of assets are public to anyone.

The am field is meant to contain the hash of some document / metadata describing the asset. One way of using it is to set the URL au to some PDF/text/… document (or webpage containing a link to such a document) and put the hash of the document in the field am. See https://github.com/algorandfoundation/specs/blob/master/dev/ledger.md#assets for details about the fields of assets.