0
I use RPC method getrawtransaction to get whole info about transaction. But if I rigth understood It works only for transaction whose contains at least one unspent output.
How can I get whole info about transaction like getrawtransaction provide for transaction whose all outputs are spent or How does blockcypher implement this?
For example this tx:
https://live.blockcypher.com/btc-testnet/tx/501553f8a27cfb8f661e9c977b923908642c1817ef6037eb104da8dfb892890a/
That's incorrect, getrawtransaction doesn't require transactions to have unspent outputs, if txindex=1 is enabled. For example, http://chainquery.com/bitcoin-api/getrawtransaction/5119419d1bd6af11277d81443852f6e2ffb3bcaddf303335e60aa199ad7a5d36/0 works, although the transaction has no unspent outputs.
– MCCCS – 2018-08-28T10:17:10.6471Yes, sorry It was my mistake, I forgot reboot bitcoin core after change bitcoin.conf file to "txindex=1" and thought that I use new configuration. Thank you for your help! – Yarik Soltys – 2018-08-28T11:48:59.540
You're welcome! Glad if I helped. – MCCCS – 2018-08-28T11:50:58.840