- Retrieve the main information from the transaction from a public API or a node (using for instance `bitcoin-cli gettransaction`). You might need to convert some fields depending on the API used.
- Store the following values in a variable `tx` in your solution `send-transaction-to-peer.js`:
- Transaction hash `txid`.
- Transaction fee `fee` (in Bitcoins, negative integer).
- Transaction amount `amount` (in Bitcoins, negative integer).
- Transaction date `time.
> The submitted transaction information needs to be related to a recent (no more than 48 h) transaction!