Bitcoin P2PKH address
ID p2pkhaddr
DatatypeNot PIIidentifier
Legacy Bitcoin address of the pay-to-public-key-hash (P2PKH) type. It is the Base58Check encoding of the version byte 0 and the 20-byte RIPEMD-160 hash of the SHA-256 hash of a public key, so it always starts with 1. Most such addresses have 33 or 34 characters; each leading zero byte of the hash adds a 1 and makes the address shorter. Testnet P2PKH addresses start with m or n and are not matched.
- Parent datatype
- Cryptocurrency address
crypto_address - Categories
- Cryptocurrency
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- AutoType benchmark
bitcoin- Presidio
CRYPTO- python-stdnum
stdnum.bitcoin- Check digit
base58check- Quality
- 93/100 · missing: authoritative source link
- Metacrafter rules
- 2 rules (1 by field name, 1 by value)
p2pkhaddrdata, common/cryptocurrency.yamlp2pkhaddr_by_fieldfield, common/cryptocurrency.yaml
- Supported by tools
- Auto-Type, DataPrep, Great Expectations Semantic Types Expectations, metacrafter, OpenMetadata auto-classification, Microsoft Presidio, python-stdnum
Regular expression
^1[1-9A-HJ-NP-Za-km-z]{25,33}$
Python re syntax.
Examples
| Value | Description |
|---|---|
| 1PMycacnJaSqwwJqjawXBErnLsZ7RkXUAs | Address derived step by step in the Bitcoin Wiki article on version 1 addresses |
| 1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2 | Example address of the Bitcoin Wiki article on invoice addresses |
| 1PMycacnJaSqwwJqjawXBErnLsZ7RkXUAt invalid | last character changed, the checksum fails |
| 3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy invalid | P2SH address (p2shaddr) |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Адрес Bitcoin P2PKH |
Sources
- other: https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses
- other: https://en.bitcoin.it/wiki/Invoice_address
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/p2pkhaddr - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/cryptocurrency/p2pkhaddr.yamlon GitHub