What's the correct metadata JSON format for Bitcoin ordinals collections?

Support
Support
  • Updated

If you'd like to add metadata to your Bitcoin ordinals collection, we'll need a JSON file containing your inscription IDs and the associated descriptive metadata. This might include things like a descriptive or custom numbered name for each inscription, or other attributes that describe the visual elements of the inscription's image.

Below is the accepted format for metadata JSON files. Please modify this to your specific collection's needs. You may add any number of associated attributes and trait names.

 

Sample JSON file (right-click download linked file)

Sample JSON preview:

[
{
"id": "inscriptionId",
"meta": {
"name": "NFT #1",
"attributes": [
{ "trait_type": "background", "value": "some-value" },
{ "trait_type": "skin", "value": "some-value" },
{ "trait_type": "shirt", "value": "some-value" },
{ "trait_type": "mouth", "value": "some-value" },
{ "trait_type": "eyes", "value": "some-value" },
{ "trait_type": "nose", "value": "some-value" },
{ "trait_type": "head", "value": "some-value" },
{ "trait_type": "handled", "value": "some-value" }
]
}
},
{
"id": "inscriptionId",
"meta": {
"name": "NFT #2",
"attributes": [
{ "trait_type": "background", "value": "some-value" },
{ "trait_type": "skin", "value": "some-value" },
{ "trait_type": "shirt", "value": "some-value" },
{ "trait_type": "mouth", "value": "some-value" },
{ "trait_type": "eyes", "value": "some-value" },
{ "trait_type": "nose", "value": "some-value" },
{ "trait_type": "head", "value": "some-value" },
{ "trait_type": "handled", "value": "some-value" }
]
}
},
]

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.