Bitcoin Forum
May 02, 2024, 07:10:38 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to Get Previous output from Raw transaction ?  (Read 489 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.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714677038
Hero Member
*
Offline Offline

Posts: 1714677038

View Profile Personal Message (Offline)

Ignore
1714677038
Reply with quote  #2

1714677038
Report to moderator
nelisky
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001


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: 3388
Merit: 4613



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!