Function fromBase58Check

  • Decodes a base58check encoded Bitcoin address and returns the version and hash.

    Parameters

    • address: string

      The base58check encoded Bitcoin address to decode.

    Returns Base58CheckResult

    An object containing the version and hash of the decoded address.

    If the address is too short or too long.