Skip to main content

core.policyidtohash

Home > @blaze-cardano/core > PolicyIdToHash

PolicyIdToHash() function

Converts a PolicyId to a Hash28ByteBase16 format.

Signature:

export declare function PolicyIdToHash(policy: PolicyId): Hash28ByteBase16;

Parameters

Parameter

Type

Description

policy

PolicyId

The policy ID to be converted.

Returns:

Hash28ByteBase16

{Hash28ByteBase16} The converted hash in Hash28ByteBase16 format.