Datatypes

Bitcoin P2TR address (Taproot, bc1p)

ID p2traddr

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).

Taproot address of the pay-to-taproot (P2TR) type: witness version 1 with a 32-byte x-only public key (BIP 341), encoded with Bech32m (BIP 350), not Bech32. Mainnet addresses have the prefix bc1p and 62 characters. Lower or upper case, never mixed. Testnet addresses (tb1p) are not matched.

Parent datatype
Cryptocurrency address crypto_address
Categories
Cryptocurrency
Countries
Global (not tied to a country)
Languages
Common to most languages
Presidio
CRYPTO
Check digit
bech32m
Quality
93/100 · missing: second example
Metacrafter rules
no detection rule yet
Supported by tools
Microsoft Presidio

Regular expression

^(?:bc1p[02-9ac-hj-np-z]{58}|BC1P[02-9AC-HJ-NP-Z]{58})$

Python re syntax.

Examples

ValueDescription
bc1p0xlxvlhemja6c4dqv22uapctqupfhlxm9h8z3k2e72q4k9hcz7vqzk5jj0BIP 350 test vector
bc1p0xlxvlhemja6c4dqv22uapctqupfhlxm9h8z3k2e72q4k9hcz7vqzk5jj2 invalidlast character changed, the checksum fails
bc1qrp33g0q5c5txsp9arysrx4k6zdkfs4nce4xj0gdcccefvpysxf3qccfmv3 invalidwitness version 0 address (p2wshaddr)

Translations

LanguageNameDescription
RussianАдрес Bitcoin P2TR (Taproot, bc1p)

Sources

Use this record