is there a good reference for the protocol for adding colle…

metamitya ·

is there a good reference for the protocol for adding collection metadata to an ordinal inscription? for example it would be cool if i could mint several images in a thread and have them be in the same collection on 3dordi/zoide/1sat ... maybe the title image becomes the collection cover... is this straight forward/possible?

Replies

J1Pelaez ·

The key for an ordinal to belong to a collection is that its metadata, specifically the subTypeData field, must contain the collectionId and subType must be collectionItem. All items in a collection must share the same Collection ID, which is the ordinal used as the collection's Cover.
Here's a link with more documentation. FYI, the collection's Cover is also an ordinal, but its metadata in subType is set as "collection" instead of "collectionItem".
Important: All ordinal metadata is placed after an Op Return in the ordinal inscription transaction.
If you deem it necessary, we can schedule a remote session to explain it to you.
https://docs.1satordinals.com/adding-metadata/collectionitem-subtype

The key for an ordinal to belong to a collection is that its metadata, specifically the subTypeData…