Skip to main content

deriveIntentWorkflowId

HardKAS SDK


HardKAS SDK / artifacts/src / deriveIntentWorkflowId

Function: deriveIntentWorkflowId()

deriveIntentWorkflowId(intent): string

Defined in: packages/artifacts/src/tx-plan.ts:39

Deterministic default workflowId for a root plan: the single derivation (IC-7.4) over the plan's transfer INTENT (who pays whom, how much, on which network, from which outpoints). Never derived from the artifact's own hash (IC-1′.5); the digest is the domain digest (IC-1′.7).

Parameters​

intent​

amountSompi​

string

fromAddress​

string

mode​

string

networkId​

string

outpoints​

object[]

toAddress​

string

Returns​

string