The most common address types used on bitcoin and bitcoin-like networks. Each address type represents a commonly used locking bytecode pattern.
Pay to Public Key (P2PK). This address type is uncommon, and primarily occurs in early blocks because the original satoshi implementation mined rewards to P2PK addresses.
There are no standardized address formats for representing a P2PK address.
Instead, most applications use the
Pay to Public Key Hash (P2PKH). The most common address type. P2PKH addresses lock funds using a single private key.
Pay to Script Hash (P2SH). An address type which locks funds to the hash of a script provided in the spending transaction. See BIP13 for details.
AddressType represents an address using an unknown or uncommon
locking bytecode pattern for which no standardized address formats exist.
Generated using TypeDoc