entryPointHash
@midnight-ntwrk/compact-runtime v0.14.0
@midnight-ntwrk/compact-runtime / entryPointHash
Function: entryPointHash()
function entryPointHash(entryPoint): string;
Computes the (hex-encoded) hash of a given contract entry point. Used in composable contracts to reference the called contract's entry point ID in-circuit.
Parameters
entryPoint
string | Uint8Array<ArrayBufferLike>
Returns
string