a valid prefix indicating the network for which to encode the address – must be only lowercase letters (for standard CashAddress prefixes, see CashAddressNetworkPrefix)
a single byte indicating the version of this address (for standard CashAddress versions, see CashAddressVersionByte)
the payload to encode
Generated using TypeDoc
Encode a payload as a CashAddress-like string using the CashAddress format.
To encode a standard CashAddress, use encodeCashAddress.