Data type representing a transaction.
An array of inputs included in this transaction.
Input order is critical to signing serializations, and reordering inputs may invalidate transactions.
The locktime at which this transaction is considered valid – a positive
0 to a maximum of
Locktime can be provided as either a timestamp or a block height. Values
500000000 are understood to be a block height (the current
block number in the chain, beginning from block
0). Values greater than
or equal to
500000000 are understood to be a UNIX timestamp.
For validating timestamp values, the median timestamp of the last 11 blocks (Median Time-Past) is used. The precise behavior is defined in BIP113.
sequenceNumber of every transaction input is set to
4294967295), locktime is disabled, and the transaction may be added to a
block even if the specified locktime has not yet been reached. When
locktime is disabled, if an
OP_CHECKLOCKTIMEVERIFY operation is
encountered during the verification of any input, an error is produced, and
the transaction is invalid.
An array of outputs included in this transaction.
Output order is critical to signing serializations, and reordering outputs may invalidate transactions.
The version of this transaction – a positive integer from
0 to a maximum
4294967295. Since BIP68, most transactions use a version of
Generated using TypeDoc