Author

Topic: how to get bitcoin addresss form transaction hash (Read 705 times)

legendary
Activity: 3472
Merit: 4801
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?
hero member
Activity: 966
Merit: 587
i want to get a transaction hash's pay address


but i dont find how to do

who can help me
Jump to: