Byte layouts
Claim output
6a 0b 50515342 02 4d 50515342 00
│ │ │ │ │ │ └ target output index
│ │ │ │ │ └ ticker "PQSB"
│ │ │ │ └ "M" = mint
│ │ │ └ version
│ │ └ magic "PQSB"
│ └ push 11
└ OP_RETURN
Lock script
Total 1,985 bytes:
offset length content
0 1,659 79 × ( 14 ‖ C_i ) commitments, 20 bytes each
1,659 291 fixed body (below), one byte depends on the level
1,950 35 21 ‖ owner public key (33 bytes) ‖ ac OP_CHECKSIG
Fixed body, hex, with <D1> = 38 (80-bit) or 37 (88-bit):
014f797a015179a988014e7a7a01527aa6880151797a015379a98801507a51937a01547aa688
0153797a015579a98801527a52937a01567aa6880155797a015779a98801547a53937a01587a
a68801577a7a015879a988015a7a7a015b79a988015d7a7a015e79a98801607a7a016179a988
01637a7a016479a988
6d × 33
785379ad53798201<D1>8878adabadad
785379ad537982013b8878adabadad × 8
Reading the first group: 01 4f push 79, 79 PICK, 7a ROLL, 01 51 push 81, 79 PICK, a9 HASH160, 88 EQUALVERIFY, 01 4e push 78, 7a 7a ROLL ROLL, 01 52 push 82, 7a ROLL, a6 SHA256, 88 EQUALVERIFY. Positions 1–3 insert 5n 93 (OP_n ADD). Each verification group is 78 53 79 ad 53 79 82 01 <D_ℓ> 88 78 ad ab ad ad = OVER 3 PICK CHECKSIGVERIFY 3 PICK SIZE push(D_ℓ) EQUALVERIFY OVER CHECKSIGVERIFY CODESEPARATOR CHECKSIGVERIFY CHECKSIGVERIFY.
Counted opcodes: 10 + 3·11 + 5·5 + 33 + 9·11 + 1 = 201.
Source: reconstructed from Espresso's mainnet spend fa160ab0659890d7d6945f63fd84448b074f1592d476b4fed931254778cd57b4 (block 978,542) and checked byte for byte against it; the body above was dumped from a test-network lock and differs from the mainnet one only in <D1>.
Witness
item size (80-bit) content
0 71–73 owner signature, hash type 01
1–5 59, 33, 60, 33, ≤1 position 8: T, A, Σ, B, j
6–10 … position 7
11–15 … position 6
16–20 … position 5
21–25 … position 4
26–31 32, 59, 33, 60, 33, ≤1 position 3: tag, T, A, Σ, B, j
32–37 … position 2
38–43 … position 1
44–49 32, 56, 33, 60, 33, ≤1 position 0 (T is 55 at 88-bit)
50 1,985 lock script
Mainnet item sizes (fa160ab0…57b4, 88-bit): [71, (59,33,60,33,1)×5, (32,59,33,60,33,1)×3, 32,55,33,60,33,1, 1985].
Short signature T and opening Σ
30 L 02 15 3b78ce563f89a0ed9414f5aa28ad0d96d6795f9c63 02 sl s… 01
└ r = x(½G), 21 bytes └ s └ SIGHASH_ALL
T length D_ℓ fixes sl; openings are 60 bytes in all observed spends.
A real mint
Test-network mint 03b4ed472bd5a7b80120409beab9d2e80976c33355b023cf43e56b632f1d834f (scaled-down level 64, first limit 58; layout otherwise identical). Size 4,048 B, weight 4,453, 1,114 vB.
02000000 version
0001 segwit marker, flag
01 inputs
aa56d6d7108fff48634d9ea8fd70d393845c855ecf871409f844f15b53bb074c prev txid (internal order)
01000000 prev vout 1
00 scriptSig empty
d3f60880 sequence 0x8008f6d3 (nonce)
03 outputs
e803000000000000 16 0014ef2c287d26c67661acdb1a2151b3c5c5fc606441 1,000 sat → units
0000000000000000 0d 6a0b50515342024d5051534200 claim
4006000000000000 16 0014ef2c287d26c67661acdb1a2151b3c5c5fc606441 1,600 sat change
33 51 witness items
47 3044…01 3b 3038…01 21 03bd… 3c 3039…01 21 02b7… 01 1d … fdc107 14cf540f…ac
f69a911e locktime 512,858,870 (nonce)
Input value 5,000 sat, fee 2,400 sat.