Bitcoin Forum
May 21, 2024, 04:27:46 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Getting transaction information  (Read 788 times)
sd (OP)
Hero Member
*****
Offline Offline

Activity: 730
Merit: 500



View Profile
August 17, 2012, 02:20:39 PM
 #1

What's the most pragmatic way to get information on a given transaction? For a transaction ID I'd like to know how much and from which addresses BTC was sent, and how much and to which addresses it was sent to. This should include transactions that have not made their way into the block chain yet.

I'd rather not rely on an external service like a block explorer. Running my own seems like overkill but it's an option. I noticed ABE doesn't tell me about uncommitted transactions anyway. The standard client seems limited in the information it gives out. i.e. it won't tell me the address bitcoins sent to me are sent from and won't tell me anything about transactions I'm not involved in.

gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4186
Merit: 8421



View Profile WWW
August 17, 2012, 06:27:33 PM
 #2

and won't tell me anything about transactions I'm not involved in.
Run bitcoin from get.  Use getrawtransaction with the decode flag.
sd (OP)
Hero Member
*****
Offline Offline

Activity: 730
Merit: 500



View Profile
August 17, 2012, 07:33:18 PM
 #3

and won't tell me anything about transactions I'm not involved in.
Run bitcoin from get.  Use getrawtransaction with the decode flag.

Wait, what?

I'm using bitcoind from https://github.com/gavinandresen/bitcoin-git.git
This claims to be version 69900 and I see no reference to getrawtransactions.

What git repo are you guys using?
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4186
Merit: 8421



View Profile WWW
August 17, 2012, 08:36:12 PM
 #4

Wait, what?
I'm using bitcoind from https://github.com/gavinandresen/bitcoin-git.git
This claims to be version 69900 and I see no reference to getrawtransactions.
What git repo are you guys using?

Thats not the official git repository, thats gavin's staging repository for pull requests.

The official one is https://github.com/bitcoin/bitcoin/ and it's linked from the bitcoin.org site.

The RPC is getrawtransaction (no s).

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!