sdk.core.policyidtohash
Home > @blaze-cardano/sdk > Core > PolicyIdToHash
Core.PolicyIdToHash() function
Converts a PolicyId to a Hash28ByteBase16 format.
Signature:
declare function PolicyIdToHash(policy: PolicyId): Hash28ByteBase16;
Parameters
Parameter |
Type |
Description |
---|---|---|
policy |
The policy ID to be converted. |
Returns:
{Hash28ByteBase16} The converted hash in Hash28ByteBase16 format.