isBitcoinTaprootAddress method

bool isBitcoinTaprootAddress()

Bitcoin (Taproot) Address

Pay-to-Taproot (P2TR) Invoice address format: Bech32m 62 aplhanumeric characters, case insensitive Starts with bc1p.

References: https://bitcoin.design/guide/glossary/address/ https://blog.trezor.io/bitcoin-addresses-and-how-to-use-them-35e7312098ff

Implementation

bool isBitcoinTaprootAddress() => RegVal.hasMatch(
      this,
      RegexPattern.bitcoinTaprootAddress,
    );