Interface SigningSerializationComponentsBCH

All signing serialization components for a particular transaction input.

Hierarchy

Properties

correspondingOutput: undefined | Uint8Array
locktime: number

A time or block height at which the transaction is considered valid (and can be added to the block chain). This allows signers to create time-locked transactions that may only become valid in the future.

outpointIndex: number

The index (within the previous transaction) of the outpoint being spent by this input.

outpointTransactionHash: Uint8Array

The hash/ID of the transaction from which the outpoint being spent by this input originated.

outputTokenPrefix: Uint8Array

The encoded token prefix of the output being spent (see encodeTokenPrefix).

If the output includes no tokens, a zero-length Uint8Array.

outputValue: Uint8Array

The 8-byte Uint64LE-encoded value of the output being spent in satoshis (see bigIntToBinUint64LE).

sequenceNumber: number

The sequenceNumber associated with the input being validated. See sequenceNumber for details.

transactionOutpoints: Uint8Array

A.K.A. the serialization for hashPrevouts

The signing serialization of all input outpoints. (See BIP143 or Bitcoin Cash's Replay Protected Sighash spec for details.)

transactionOutputs: Uint8Array
transactionSequenceNumbers: Uint8Array
transactionUtxos: Uint8Array

A.K.A. the serialization for hashUtxos

The signing serialization of all UTXOs spent by the transaction's inputs (concatenated in input order).

version: number

The transaction's version.

Generated using TypeDoc