Legacy P2PKH (pay-to-pubkey-hash) wrapped as a typed Ladder Script block. Verifies HASH160(pubkey) matches committed hash, then checks signature.
LegacyNon-Invertible
Ladder Diagram
Fields
Field
Data Type
Size
Side
Description
hash160
HASH160
20 B
Conditions
RIPEMD160(SHA256(pubkey)) commitment. Node-computed — the user provides PUBKEY and the node computes this field automatically. Raw hash input is rejected.
pubkey
PUBKEY
32-33 B
Witness
Public key — provided by the user. The node derives HASH160 from this key at creation time. Revealed at spend time.
signature
SIGNATURE
64-65 B
Witness
Signature over the transaction sighash
Wire Format Breakdown
Conditions side (in scriptPubKey):
0x090201HASH160 · 20B= 26 bytes
Witness side (in input witness):
0x090202PUBKEY · 33BSIGNATURE · 64B= 105 bytes
Total (conditions + witness)131 bytes
With rung overhead included. Compressed pubkey (33B) case.
Uses RIPEMD160(SHA256(pubkey)) like Bitcoin P2PKH.
The HASH160 field is node-computed: the user supplies PUBKEY and the node derives the hash commitment automatically. Submitting a raw HASH160 value directly is rejected.
Supports all signature schemes via optional SCHEME field.
The most common legacy Bitcoin output type, now wrapped with typed Ladder Script semantics.
Use Cases
Legacy P2PKH Migration
The most common Bitcoin output type. Wrap existing P2PKH in typed blocks.
Hash-Based Key Binding
HASH160 commitment hides the pubkey until spend time, same as original Bitcoin P2PKH.