Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/executor / hashArgs

Function: hashArgs()

ts
function hashArgs(args): string;

Defined in: packages/executor/src/spi.ts:151

A stable content hash of the arguments for the ledger's argsHash. It canonicalizes object key order so equal arguments hash equally regardless of property order.

Parameters

ParameterType
argsunknown

Returns

string