We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Inscription with MAP
Inscription + MAPAn inscription with a MAP tail after the lock, naming the object's fields.
What it is
The same envelope and lock as any inscription, followed by OP_RETURN and a MAP record. The MAP record holds key-value pairs about the object, such as its name, its collection or its traits. Everything after OP_RETURN is data, so the tail never affects who can spend the output.
Script pattern
-
OP_DUP OP_HASH160 <pubkey hash> OP_EQUALVERIFY OP_CHECKSIGA P2PKH lock: who owns the object. -
OP_FALSE OP_IF "ord" OP_1 <type> OP_0 <data> OP_ENDIFThe inscription envelope. -
OP_RETURNEnds the script. What follows is data. -
"1PuQa7K62MiKCtssSLKy1kh56WWU7MtUR5"The MAP prefix. -
"SET" <key> <value> …The object's fields, as pairs.
How it is spent
The owner's signature, as P2PKH.
Background
Collections minted on 1Sat Ordinals commonly use a MAP tail to carry names and traits beside the file.
On chain
Examples coming. They come from the blocks we have typed, and no typed block holds one yet.
Specification
- 1Sat Ordinals documentation
- /api/v1/types/inscription-map
- /api/v1/txs?type=inscription-map every stored tx of this type, newest first, with an API key or signed in.