Skip to main content

TxHashPreimage

bitcoinjs-lib v0.2.9-beta.16


bitcoinjs-lib / TxHashPreimage

Type Alias: TxHashPreimage

TxHashPreimage: object

Defined in: packages/scrypt-ts-btc/src/smart-contract/types/structs.ts:183

The digest data used to calculate the Traditional Transaction ID (txid) consists of the transaction's core components (inputs, outputs) without the witness information.

Type declaration​

inputCount​

inputCount: ByteString

inputPrevOutputIndexList​

inputPrevOutputIndexList: FixedArray\<ByteString, typeof TX_INPUT_COUNT_MAX>

inputPrevTxHashList​

inputPrevTxHashList: FixedArray\<ByteString, typeof TX_INPUT_COUNT_MAX>

inputScriptList​

inputScriptList: FixedArray\<ByteString, typeof TX_INPUT_COUNT_MAX>

inputSequenceList​

inputSequenceList: FixedArray\<ByteString, typeof TX_INPUT_COUNT_MAX>

locktime​

locktime: ByteString

outputCount​

outputCount: ByteString

outputSatoshisList​

outputSatoshisList: FixedArray\<ByteString, typeof TX_OUTPUT_COUNT_MAX>

outputScriptLenList​

outputScriptLenList: FixedArray\<ByteString, typeof TX_OUTPUT_COUNT_MAX>

outputScriptList​

outputScriptList: FixedArray\<ByteString, typeof TX_OUTPUT_COUNT_MAX>

version​

version: ByteString

Onchain​