Create CTransaction from hash

+1 vote
Hello! I would like to know if there is any function inside the source code which could be used to create a CTransaction from a given hash. Something like that, or similar:

CTransaction& tx = hash.GetTx();

Thank you very much!
asked Jun 30, 2017 by anonymous

1 Answer

0 votes
You can't convert a hash to a transaction (unless the transaction is already stored) because the hash is a 1-way function of the transaction payload.
answered Jun 30, 2017 by MultiChain
...