V1PlanOutput
HardKAS SDK / tx-builder/src / V1PlanOutput
Interface: V1PlanOutput
Defined in: packages/tx-builder/src/v1-plan.ts:85
Properties
address
readonlyaddress:string
Defined in: packages/tx-builder/src/v1-plan.ts:86
amountSompi
readonlyamountSompi:string
Defined in: packages/tx-builder/src/v1-plan.ts:87
covenant?
readonlyoptionalcovenant?:object
Defined in: packages/tx-builder/src/v1-plan.ts:89
A continuation: the output is bound to an existing covenant, authorized by that covenant's input.
authorizingInput
readonlyauthorizingInput:number
covenantId
readonlycovenantId:string
role?
readonlyoptionalrole?:"payment"|"change"
Defined in: packages/tx-builder/src/v1-plan.ts:95
"change": the P2PK change back to the funder (F1.4 checks it goes only there). "payment": an output the plan's author declares on purpose (a contract's release, a sweep). Bound outputs and genesis members need no role; any other output is undeclared (V1_OUTPUT_UNDECLARED).