fromBase58Check
reddcoinjs-lib v7.0.1-rdd.1 • Docs
reddcoinjs-lib v7.0.1-rdd.1 / address / fromBase58Check
Function: fromBase58Check()
fromBase58Check(
address):Base58CheckResult
Decodes a base58check encoded Bitcoin address and returns the version and hash.
Parameters
• address: string
The base58check encoded Bitcoin address to decode.
Returns
An object containing the version and hash of the decoded address.
Throws
If the address is too short or too long.