Encode a payload as a CashAddress-like string using the CashAddress format.
Note that this function defaults to throwing encoding errors. To handle errors in a type-safe way, set throwErrors to false.
throwErrors
false
For the reverse, see decodeCashAddressFormat.
To encode a standard CashAddress, use encodeCashAddress.
Generated using TypeDoc
Encode a payload as a CashAddress-like string using the CashAddress format.
Note that this function defaults to throwing encoding errors. To handle errors in a type-safe way, set
throwErrors
tofalse
.For the reverse, see decodeCashAddressFormat.
To encode a standard CashAddress, use encodeCashAddress.