Skip to main content

Interface: TxInput

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/ChronikClient.ts:919


outputScript

outputScript: undefined | string

Script of the output, in hex encoding. Aka. scriptPubKey in bitcoind parlance.

Defined in

src/ChronikClient.ts:924


prevOut

prevOut: OutPoint

Points to an output spent by this input.

Defined in

src/ChronikClient.ts:914


sequenceNo

sequenceNo: number

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

Defined in

src/ChronikClient.ts:928


slpBurn

slpBurn: undefined | SlpBurn

SLP tokens burned by this input, or undefined if no burn occured.

Defined in

src/ChronikClient.ts:930


slpToken

slpToken: undefined | SlpToken

SLP tokens spent by this input, or undefined if the tokens were burned or if there were no tokens in the output spent by this input.

Defined in

src/ChronikClient.ts:935


value

value: string

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

Defined in

src/ChronikClient.ts:926