Skip to main content
Version: 0.2.38

sdk.core.hashaspubkeyhex

Home > @blaze-cardano/sdk > Core > HashAsPubKeyHex

Core.HashAsPubKeyHex() function

Converts a Hash28ByteBase16 to an Ed25519PublicKeyHex format.

Signature:

declare function HashAsPubKeyHex(hash: Hash28ByteBase16): Ed25519PublicKeyHex;

Parameters

Parameter

Type

Description

hash

Hash28ByteBase16

The hash to be converted.

Returns:

Ed25519PublicKeyHex

{Ed25519PublicKeyHex} The converted hash in Ed25519PublicKeyHex format.