Get sender address from RPC api

Started by chida, January 14, 2014, 05:47:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lib

#2
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?

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
Forum Donation: PforumPLfVQXTi4QpQqKwoChXHkoHcxGuA
Personal Address: PakhuBkqTu4oTHJ4ZffvzVwCGCMfuqazgm

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?
BTC: 12A5tZgivCa7BVF4YbQdtSedFzanpCbupb
MMC: MBayoLj9WEWTsCk8n45G37tDSSJP2Dd9k5
PTS: PiVUjNkwk6VKrKWCMtA7NkqFhfkqR5pnCS