Wow! Thank you. How do you create a hex transaction from TX id?
You can't. Transaction HASH cannot be reversed by design. However, bitcoin nodes store the txid along with the raw transaction itself, which you can query from the RPC console by using
getrawtransaction <txid> on a node running with -txindex.