Main > Technical Support

Get sender address from RPC api

(1/1)

lib:

--- Quote from: chida on January 14, 2014, 05:47:11 pm ---hi and sorry,

i try to understand this world and i try to crate a game/services.

My program in c# .net call the wallet by RPC, but how i can get sender address ?

for now i can get the transaction on specific account by listtransactions, i try getrawtransaction verbose or decoderawtransaction, but i can't get the address of sender.

Can you help me?

From same code on github I understand that is possible or necessary analize all blockchain for get the sender address because is necessary analise all out address.
May be sufficient the single raw transaction?

--- End quote ---

So the problem is "get the senders address from a transaction"? Have you considered the api provide by https://blockchain.info/api/blockchain_api ?
Guess you can use this method http://blockchain.info/rawtx/$tx_hash to get the senders address.
Like this one https://blockchain.info/rawtx/f2149245ecb9e7634b49c7feae3014dda62cdc6448a0647eecfc6f56f5d2e611

chida:
hi and sorry,

i try to understand this world and i try to crate a game/services.

My program in c# .net call the wallet by RPC, but how i can get sender address ?

for now i can get the transaction on specific account by listtransactions, i try getrawtransaction verbose or decoderawtransaction, but i can't get the address of sender.

Can you help me?

From same code on github I understand that is possible or necessary analize all blockchain for get the sender address because is necessary analise all out address.
May be sufficient the single raw transaction?

Navigation

[0] Message Index

Go to full version