Skip to main content

hashNativeScript

Calculates the blake2b-224 (28 bytes) hash of the NativeScript.

Note: before calculating the hash a 0 byte is prepended to the CBOR bytes

export function hashNativeScript(nativeScript: NativeScript): number[]