Decode and validate a CashAddress, strictly checking the version byte
according to the CashAddress specification. This is important for error
detection in CashAddresses.
This function is similar to decodeCashAddress but supports
non-standard types.
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.
This function is similar to decodeCashAddress but supports non-standard
type
s.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.
For the reverse, see encodeCashAddressNonStandard.