Bch Transaction
Bitcoin transaction
Properties
Which blockchain is this transaction for
inputs to this transaction
Total quantity of satoshis spent (input into this transaction), including grouped satoshis
Return the outpoints in this transaction
outputs of this transaction
Total quantity of satoshis sent (output from this transaction), including grouped satoshis
Functions
Add an input to this transaction (at the end)
Add an output to this transaction (at the end)
Return the sighash that allows new inputs and/or outputs to be appended to the transaction. This commits to all existing inputs and outputs.
Return the sighash that signs the first N inputs/outputs. Pass Int.MAX_VALUE to sign "all", otherwise pass a number to sign those. This commits to the first inputs and outputs.
Returns true if this transaction is a coinbase tx
Return true if this is an ownership challenge transaction. This means that this transaction is invalid and so can never be actually committed to the blockchain.
Overwrite all inputs with the provided list
Overwrite all outputs with the provided list
Serialize this transaction into a byte array (using network serialization)