Bitcoin Forum
June 01, 2024, 01:33:57 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: how to get bitcoin addresss form transaction hash  (Read 691 times)
visionary (OP)
Hero Member
*****
Offline Offline

Activity: 966
Merit: 587



View Profile
June 06, 2014, 03:22:15 AM
 #1

i want to get a transaction hash's pay address


but i dont find how to do

who can help me
DannyHamilton
Legendary
*
Offline Offline

Activity: 3416
Merit: 4658



View Profile
June 06, 2014, 05:05:17 AM
 #2

i want to get a transaction hash's pay address


but i dont find how to do

who can help me

You have a transaction hash, and you want to know the list of all addresses that received outputs in that transaction?

You could search the blockchain.info website.

blockchain.info also provides an API if you want to send a query from a program.

If the transaction involved an address in your wallet, you can use getrawtransaction and decoderawtransaction.

If the transaction did not involve an address in your wallet, you'll need to set txindex=1 and reindex your blockchain, then you can use getrawtransaction and decoderawtransaction.

If you explain why you want this, and what you are trying to accomplish, there may be a much easier, or better way to handle it.  Perhaps explain what you are trying to accomplish?
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!