Skip to main content

Interface: TxInput_InNode

Input of a tx, spends an output of a previous tx.

Properties

inputScript

inputScript: string

Script unlocking the output, in hex encoding. Aka. scriptSig in bitcoind parlance.

Defined in

src/ChronikClientNode.ts:1068


outputScript

Optional outputScript: string

Script of the output, in hex encoding. Aka. scriptPubKey in bitcoind parlance. Not present for coinbase txs

Defined in

src/ChronikClientNode.ts:1074


prevOut

prevOut: OutPoint

Points to an output spent by this input.

Defined in

src/ChronikClientNode.ts:1063


sequenceNo

sequenceNo: number

sequence field of the input; can be used for relative time locking.

Defined in

src/ChronikClientNode.ts:1078


token

Optional token: Token_InNode

Token value attached to this input

Defined in

src/ChronikClientNode.ts:1080


value

value: number

Value of the output spent by this input, in satoshis.

Defined in

src/ChronikClientNode.ts:1076