bitcoin-cli listtransactions=> get the txid
bitcoin-cli getrawtransaction "txid"=> get the raw transaction
bitcoin-cli decoderawtransaction "rawtransaction"Now, you'll see about anything you need in json format:
- the txid
- the size
- all info about all inputs (txid, vout, signatures,...)
- all info about the outputs (value, n, scripts, type, addresses,...)
- ...
If you don't need all this info, you can also receive part of the information using one step less:
bitcoin-cli listtransactions=> get the txid
bitcoin-cli gettransaction "txid"Using these steps, you'll see part of the info