Decode and validate a CashAddress, strictly checking the version byte
according to the CashAddress specification. This is important for error
detection in CashAddresses.
For other address-like standards that closely follow the CashAddress
specification (but have alternative version byte requirements), use
decodeCashAddressFormat.
Note, this method requires that CashAddresses include a network prefix. To
decode an address with an unknown prefix, try
decodeCashAddressFormatWithoutPrefix.
Decode and validate a CashAddress, strictly checking the version byte according to the CashAddress specification. This is important for error detection in CashAddresses.
To decode CashAddresses with non-standard
type
s, see decodeCashAddressNonStandard.For other address-like standards that closely follow the CashAddress specification (but have alternative version byte requirements), use decodeCashAddressFormat.
Note, this method requires that CashAddresses include a network prefix. To decode an address with an unknown prefix, try decodeCashAddressFormatWithoutPrefix.
To encode a CashAddress, use encodeCashAddress.