Bitcoin Forum
November 11, 2024, 08:38:35 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to Get Previous output from Raw transaction ?  (Read 506 times)
ftc-c (OP)
Newbie
*
Offline Offline

Activity: 31
Merit: 0


View Profile
May 27, 2014, 02:34:28 PM
 #1

I want to get  "Amount" and "From address"  in Transactions of the input section.  But when I use the RPC command, I have a errors.

bitcoind getrawtransaction "f3c78bfeeafc01bb398542dde2ea4fc0296d8091065c600688ed2bb1f0eded42" "1"
error: {"code":-5,"message":"No information available about transaction"}

How to Get Previous output from Raw transaction ?  Any help here would appreciated.
nelisky
Legendary
*
Offline Offline

Activity: 1540
Merit: 1002


View Profile
May 27, 2014, 02:38:20 PM
 #2

You'll need to start the client with -txindex=1 so it keeps an index of all transactions (and not just the ones involving your wallet). It will take some time to build the index first time you run it, and you'll also need to pass -reindex=1 that first time.
DannyHamilton
Legendary
*
Offline Offline

Activity: 3486
Merit: 4832



View Profile
May 28, 2014, 04:33:10 AM
 #3

That transactionID does not exist in the bitcoin blockchain.  Where did you get it from?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!