Skip to main content

entryPointHash

For the complete documentation index, see llms.txt

@midnight/ledger v8.0.3


@midnight/ledger / 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