Static
decodeDecode an address string to a DoublePublicKey
.
The address string to decode.
A DoublePublicKey
instance representing the decoded address.
Static
encodeEncode a DoublePublicKey
to an address string using the specified encoding
The DoublePublicKey
to encode.
The desired address encoding format (Bech32
or Bech32M
).
The encoded address as a string.
Provides static utility methods for encoding and decoding addresses.
This class is intended to be used as a static container and should not be instantiated.
Examples: