Skip to main content

V1GenesisGroup

HardKAS SDK


HardKAS SDK / tx-builder/src / V1GenesisGroup

Interface: V1GenesisGroup

Defined in: packages/tx-builder/src/v1-plan.ts:98

Properties​

authorizingInput​

readonly authorizingInput: number

Defined in: packages/tx-builder/src/v1-plan.ts:99


contract?​

readonly optional contract?: V1CompiledContract

Defined in: packages/tx-builder/src/v1-plan.ts:102

The contract the group's outputs are locked to (F1.4 checks each is that contract's P2SH).


covenantId?​

readonly optional covenantId?: string

Defined in: packages/tx-builder/src/v1-plan.ts:104

The covenant id the planner expects the group to get (F1.4 recomputes it: COVENANT_GENESIS_ID_MISMATCH).


outputs​

readonly outputs: readonly number[]

Defined in: packages/tx-builder/src/v1-plan.ts:100


states?​

readonly optional states?: readonly Readonly<Record<string, V1ArgValue>>[]

Defined in: packages/tx-builder/src/v1-plan.ts:109

Phase 2 · the State each output of the group starts with, in the order of outputs (encoded into the contract's template). Absent: every output holds the compile record's own state.