Skip to main content

hashNativeScript

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

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

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

Arguments

1. nativeScript

nativeScript: NativeScript

Returns

number[]