hiro99ma blog

scriptPubKey

目次 (最終更新日:2025/09/09)

scriptPubKey 全体のデータ長は含まない

type scriptPubKey length
P2PKH DUP HASH160 14 <20-byte pubkeyhash> EQUALVERIFY CHECKSIG 25
P2SH HASH160 14 <20-byte scripthash> EQUAL 23
P2WPKH 0014 <20-byte pubkeyhash> 22
P2WSH 0020 <32-byte scripthash> 34
P2TR 5120 <32-byte tweaked pubkey> 34

writer: hiro99ma


 
About me
About me
comment
Comment Form
🏠
Top page
GitHub
GitHub
Twitter
X/Twitter
My page
Homepage