Bitcoin Forum
June 25, 2024, 07:06:04 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to get a Transaction out of the blockchain?  (Read 657 times)
tormate (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
February 13, 2014, 03:46:01 PM
 #1

Is it possible to gt transaction details with the tx Id out of the blockchain using the coindeamon when the Transaction isnt relatet to an wallet account? I mean is there some kind of a blockexplorer function within the Deamon? "gettransaction" works only for my own transactions. Or is there a other way if i dont want to use a public blockexplorer.

Thx

tormate (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
February 15, 2014, 03:36:14 PM
 #2

no ideas?
philipmicklon
Full Member
***
Offline Offline

Activity: 176
Merit: 100


View Profile
February 16, 2014, 07:15:40 AM
 #3

Is it possible to gt transaction details with the tx Id out of the blockchain using the coindeamon when the Transaction isnt relatet to an wallet account? I mean is there some kind of a blockexplorer function within the Deamon? "gettransaction" works only for my own transactions. Or is there a other way if i dont want to use a public blockexplorer.

Thx



You would need to use https://github.com/bitcoin-abe/bitcoin-abe
flatfly
Legendary
*
Offline Offline

Activity: 1078
Merit: 1016

760930


View Profile
February 16, 2014, 08:29:05 AM
 #4

You can make getrawtransaction work for any transaction (not just one of your own)
by adding txindex=1 to your conf file.  (This might require re-indexing the blockchain)

I'm using this method in the RPC version of my chainsnort tool, so I've verified that it works.
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!