Converts a Bech32 or Bech32m encoded address to its corresponding data representation.
The Bech32 or Bech32m encoded address.
An object containing the version, prefix, and data of the address.
If the address uses the wrong encoding.
Converts a Bech32 or Bech32m encoded address to its corresponding data representation.