Bitcoin Cash address (CashAddr)
ID bitcoin_cash_address
DatatypeNot PIIidentifierDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
Address of Bitcoin Cash in the CashAddr format: the network prefix bitcoincash (it may be omitted), a colon and a Base32 payload with a version byte, the hash and a 40-bit BCH-code checksum. With a 160-bit hash the payload has 42 characters and starts with q (P2PKH) or p (P2SH). Lower case is preferred and upper case is allowed, never mixed. Addresses with longer hashes, testnet prefixes (bchtest, bchreg) and legacy Base58 addresses, which look like Bitcoin's, are not matched.
- Parent datatype
- Cryptocurrency address
crypto_address - Categories
- Cryptocurrency
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- Quality
- 80/100 · missing: mapping (Wikidata, Schema.org, ...), detector coverage
- Metacrafter rules
- no detection rule yet
- Supported by tools
- no tool record lists this type yet
Regular expression
^(?:(?:bitcoincash:)?[qp][02-9ac-hj-np-z]{41}|(?:BITCOINCASH:)?[QP][02-9AC-HJ-NP-Z]{41})$
Python re syntax.
Examples
| Value | Description |
|---|---|
| bitcoincash:qpm2qsznhks23z7629mms6s4cwef74vcwvy22gdx6a | P2PKH example of the CashAddr specification (legacy 1BpEi6DfDAUFd7GtittLSdBeYJvcoaVggu) |
| bitcoincash:ppm2qsznhks23z7629mms6s4cwef74vcwvn0h829pq | P2SH example of the CashAddr specification |
| qr95sy3j9xwd2ap32xkykttr4cvcu7as4y0qverfuy | Example of the CashAddr specification without the prefix |
| bitcoincash:Qpm2qsznhks23z7629mms6s4cwef74vcwvy22gdx6a invalid | mixed case is not allowed |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Адрес Bitcoin Cash (CashAddr) |
Sources
- doc: https://github.com/bitcoincashorg/bitcoincash.org/blob/master/spec/cashaddr.md
- wikipedia: https://en.wikipedia.org/wiki/Bitcoin_Cash
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/bitcoin_cash_address - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/cryptocurrency/bitcoin_cash_address.yamlon GitHub