Function toBase58Check

  • Converts a hash to a Base58Check-encoded string.

    Parameters

    • hash: Uint8Array

      The hash to be encoded.

    • version: number

      The version byte to be prepended to the encoded string.

    Returns string

    The Base58Check-encoded string.