the string to decode as a base58 address
an implementation of sha256 (defaults to the internal WASM implementation)
Returns the sha256 hash of the provided input.
To incrementally construct a sha256 hash (e.g. for streaming), use init
,
update
, and final
.
a Uint8Array to be hashed using sha256
Generated using TypeDoc
Attempt to decode a Base58Address-formatted string. This is more lenient than decodeCashAddress, which also validates the address version.
Returns the contents of the address or an error message as a string.