Constructs a new Input. Will throw an error if depositNonce
is set alongside
any non-zero blockNum
, txIdx
, or outIdx
.
The block number of the output being spent by this input.
The deposit nonce being spent by this input.
The index of the output being spent by this input.
The index of the transaction containing the output being spent by this input.
Returns the keccak256 hash of this input for use in signatures.
Serializes the input to an array that can be encoded as RLP.
Serializes the input to an RLP-encoded Buffer
.
Returns a 'zero' input - that is, an input whose fields are all zero. Used in TransactionBody objects to represent null inputs.
Generated using TypeDoc
A transaction input.