Bitcoin Forum
May 03, 2024, 12:10:29 AM *
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.
1714695029
Hero Member
*
Offline Offline

Posts: 1714695029

View Profile Personal Message (Offline)

Ignore
1714695029
Reply with quote  #2

1714695029
Report to moderator
1714695029
Hero Member
*
Offline Offline

Posts: 1714695029

View Profile Personal Message (Offline)

Ignore
1714695029
Reply with quote  #2

1714695029
Report to moderator
The grue lurks in the darkest places of the earth. Its favorite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714695029
Hero Member
*
Offline Offline

Posts: 1714695029

View Profile Personal Message (Offline)

Ignore
1714695029
Reply with quote  #2

1714695029
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: 4615



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!