Segwit Address
class SegwitAddress
Represents a BIP 0173 address.
Constructors
Link copied to clipboard
Creates an address from a string representation.
Link copied to clipboard
Creates a segwit-version-0 address from a public key and HRP prefix.
Functions
Link copied to clipboard
Returns the address string representation.
Link copied to clipboard
Compares two addresses for equality.
Link copied to clipboard
Determines if the string is a valid Bech32 address.
Link copied to clipboard
Returns the witness program
Link copied to clipboard
Returns the human-readable part.