bitcoinSegwitAddress property

String bitcoinSegwitAddress
getter/setter pair

Bitcoin (Segwit) Address

Pay-to-Witness-Public-Key-hash (P2WPKH) Invoice address format: Bech32m 42 aplhanumeric characters, case insensitive Starts with bc1q.

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

Implementation

static String bitcoinSegwitAddress = r'^(bc1q)[a-zA-Z0-9]{38}$';