Decode and validate a Base58Address, strictly checking the version and
payload length.
Because the Wallet Import Format (WIF) private key serialization format uses
the Base58Address format, some libraries allow WIF key decoding via the same
method as base58 address decoding. This method accepts only Base58Address
types, but WIF keys can be decoded with decodePrivateKeyWif.
For other address-like standards that closely follow the Base58Address
format (but have alternative version byte requirements), use
decodeBase58AddressFormat.
Decode and validate a Base58Address, strictly checking the version and payload length.
Because the Wallet Import Format (WIF) private key serialization format uses the Base58Address format, some libraries allow WIF key decoding via the same method as base58 address decoding. This method accepts only Base58Address types, but WIF keys can be decoded with decodePrivateKeyWif.
For other address-like standards that closely follow the Base58Address format (but have alternative version byte requirements), use decodeBase58AddressFormat.
To encode a Base58Address, see encodeBase58Address.