Search

P2SH

Pay to script hash (P2SH) is an advanced type of transaction used in Bitcoin and other similar cryptocurrencies. Unlike P2PKH, it allows sender to commit funds to a hash of an arbitrary valid script. Currently, P2SH is mainly used for MultiSig and non-native SegWit transactions (P2WPKH-in-P2SH).

Version bytes for P2SH addresses are listed in Trezor coins definitions under address_type_p2sh field of a particular JSON file. For example in Bitcoin, P2SH addresses start with "3" (version bytes 5), while in Litecoin they start with "M" (version bytes 50) etc.