user86117: I use the RPC method getrawtransaction to get the whole info for a transaction. But if I understood right, it works only for transactions which contain at least one unspent output.
How can I get the whole info as provided by getrawtransaction for a transaction whose outputs are all spent. Or how does Blockcypher implement this?
For example this tx:
https://live.blockcypher.com/btc-testnet/tx/501553f8a27cfb8f661e9c977b923908642c1817ef6037eb104da8dfb892890a/

user38618: If I understand the question correctly, what you’re looking for is a “txindex=1” in your ‘bitcoin.conf’. It allows you to run ‘getrawtransaction’ to recall transactions that don’t spend from your wallet/don’t pay to your wallet/are not in the mempool. Furthermore, it’s named “Index transactions by TXID”.

86117: <p>I use the RPC method <code>getrawtransaction</code> to get the whole info for a transaction. But if I understood right, it works only for transactions which contain at least one unspent output.</p>
<p>How can I get the whole info as provided by <code>getrawtransaction</code> for a transaction whose outputs are all spent. Or how does Blockcypher implement this?</p>
<p>For example this tx:
<a href="https://live.blockcypher.com/btc-testnet/tx/501553f8a27cfb8f661e9c977b923908642c1817ef6037eb104da8dfb892890a/" rel="nofollow noreferrer">https://live.blockcypher.com/btc-testnet/tx/501553f8a27cfb8f661e9c977b923908642c1817ef6037eb104da8dfb892890a/</a></p>
 38618: <p>If I understand the question correctly, what you’re looking for is a “txindex=1” in your ‘bitcoin.conf’. It allows you to run ‘getrawtransaction’ to recall transactions that don’t spend from your wallet/don’t pay to your wallet/are not in the mempool. Furthermore, it’s named “Index transactions by TXID”.</p>
