transaction inspect
Legacy spelling: this command was previously spelled
transaction-inspect. Both spellings work, but only the nested spelling shown here appears inhelpand tab completion (v1.4.5+).
Print the summary of a transaction.
The main purpose of this command is to inspect the result of transaction compose or transaction sign before broadcasting to the network.
Note: this only works for transactions whose inputs have not been spent yet (i.e. it will not work if the transaction has already been included in a block). It also does not support certain input types such as account-based inputs.
Usage
transaction inspect <TRANSACTION>
Arguments
<TRANSACTION>: Hex encoded transaction or PartiallySignedTransaction.
Example Output
Transaction summary:
Transaction id: <tx_id>
=== BEGIN OF INPUTS ===
- Transaction(<prev_tx_id>, 0)
=== END OF INPUTS ===
=== BEGIN OF OUTPUTS ===
- Transfer(<address>, 10.5)
- Transfer(<change_address>, 0.499)
=== END OF OUTPUTS ===
Number of inputs: 1
Total signatures: 0
Valid signatures: 0
Invalid signatures: 0
Missing signatures: 1
Related
transaction compose: Compose a transaction to inspect.transaction sign: Sign a transaction before inspecting.node submit-transaction: Broadcast after verifying.