Metadata Template
How to use the metadata template and the placeholders it contains
Metadata Template
You can identify placeholders by the form how they are written, anything could be a placeholder if they are framed with <>.
Also make sure to use strings (" ") and not only values. E.g. "traitcount": "12" would be correct. "traitcount: 12 would NOT be correct.
File section
Add files directly to the metadata template
Placeholders and fields
policy_id
asset_name
Since the recent update of NMKR Studio, the asset_name can hold special characters and spaces.
display_name
image
The <ipfs_link> placeholder of this field will be replaced by the IPFS hash of your token. If your token has not only an image as mainfile, but also images as subfiles, this field will specify the thumbnail of your project and it could make sense to add a smaller sized version of your image/animated gif here.
mediaType
This field defines the file format of the thumbnail image, or if used in the file section below a subfile, the <mime_type> placeholder will automatically replace by the file format of the file.
src
detail data
description and extended description with more than 63 characters
You can add up to 63 characters to the description without using an array. If you want to add a longer description, please use the array method to break your text into multiple lines:
Custom placeholders
Custom placeholders are very helpful to add your tokens so-called traits or token specific values. To specify unique placeholders you have to add a custom field to your metadata template. It is recommended to add them below the "description" line in the metadata code. To add a custom field, please give the custom field a "name" and then the <placeholder> as below:
Custom placeholders to name the stack (pool.pm)
Pool.pm stacks NFTs of a collection, if you want to name this stack you can use custom fields like:
But if the project should share the same stack name anyway, you would like to put hard values in there without using the placeholder method (remove <>):
Links in the metadata
Links can be easily added directly to your metadata with custom fields.
Also, when using https// links in your metadata, you need to respect the 63 characters limit per line. Please add links like stated below in an array.
To add a link to a field name, without showing the whole link, please use the following format.
Of course, this format can be combined with an array.
Last updated