V1PlanInput
HardKAS SDK / tx-builder/src / V1PlanInput
Interface: V1PlanInput
Defined in: packages/tx-builder/src/v1-plan.ts:61
Properties
address
readonlyaddress:string
Defined in: packages/tx-builder/src/v1-plan.ts:64
amountSompi
readonlyamountSompi:string
Defined in: packages/tx-builder/src/v1-plan.ts:63
blockDaaScore?
readonlyoptionalblockDaaScore?:string
Defined in: packages/tx-builder/src/v1-plan.ts:67
computeBudget
readonlycomputeBudget:number
Defined in: packages/tx-builder/src/v1-plan.ts:73
u16; script units allowed = budget × 10,000 + 9,999. Explicit: there is no estimator.
contract?
readonlyoptionalcontract?:V1ContractRef
Defined in: packages/tx-builder/src/v1-plan.ts:75
Required for p2sh and covenant inputs; absent for p2pk.
covenantId?
readonlyoptionalcovenantId?:string
Defined in: packages/tx-builder/src/v1-plan.ts:70
Set for a covenant's UTXO (the node reports it).
isCoinbase?
readonlyoptionalisCoinbase?:boolean
Defined in: packages/tx-builder/src/v1-plan.ts:68
kind
readonlykind:V1InputKind
Defined in: packages/tx-builder/src/v1-plan.ts:71
outpoint
readonlyoutpoint:object
Defined in: packages/tx-builder/src/v1-plan.ts:62
index
readonlyindex:number
transactionId
readonlytransactionId:string
scriptPublicKey
readonlyscriptPublicKey:string
Defined in: packages/tx-builder/src/v1-plan.ts:66
"<2-byte version><script>" hex, as the node lists it.
sequence?
readonlyoptionalsequence?:string
Defined in: packages/tx-builder/src/v1-plan.ts:82
V1-ENGINE-2 · the input's sequence (u64, decimal), for a contract with a relative time lock (this.age…); 0 when
absent. The node decides whether the lock is met (SEQUENCE_LOCK_REJECTED); the signature hash commits to it.
signer?
readonlyoptionalsigner?:string
Defined in: packages/tx-builder/src/v1-plan.ts:77
The account whose key signs a p2pk input.