Title: Who can explain this transaction? Post by: OddEvenBets.com on August 11, 2017, 10:27:36 AM Hello,
Transaction is 08c260dbc0bff38ed01985bea499ce9065aace1461d848325fc2b94acb863dbc https://live.blockcypher.com/btc/tx/08c260dbc0bff38ed01985bea499ce9065aace1461d848325fc2b94acb863dbc/ I use command "gettransaction", why don't show Input? show Output only.. (but blockcyper and blockchaininfo show input) Code: { How can I determine input wallet? Thanks! Title: Re: Who can explain this transaction? Post by: aleksej996 on August 11, 2017, 10:51:01 AM You can not see the address from the input, it simply isn't stored in the transaction. Transaction references the input transaction id where the address is listed in it's output.
You can use getrawtransaction 08c260dbc0bff38ed01985bea499ce9065aace1461d848325fc2b94acb863dbc to get the hex of the whole transaction. Then use decoderawtransaction [output of the previous command] And you will see the address under vout->addresses. Title: Re: Who can explain this transaction? Post by: Thirdspace on August 11, 2017, 10:59:55 AM Quote "hex": "0100000001a41d412302f88c4fdcf72b3aa6221e1273b4b9a7ad498f65ec507170ac14fd4800000 0006b483045022100c14f699ed2d668a2f0a2ff145ba7dd524319d4af6f410aec605c482d796315 820220090b6d0835022298f551ac21352ab1819cdf94d8000229e9fc0816a852fadd7d0121029bb 4c12fce28633899a798610856ec576735dd62957328f9b758bb601a94674affffffff01d24d0100 000000001976a9143e68f3765ba0ec07d303ee5ae5528549253dcd3388ac00000000" encoded in the hex, after decode you will see what shown belowso, the input was from hash 48fd14ac... at (output) index 0... which is address 1B2V9VD... look at https://live.blockcypher.com/btc/tx/48fd14ac707150ec658f49ada7b9b473121e22a63a2bf7dc4f8cf80223411da4/ Code: { Title: Re: Who can explain this transaction? Post by: ranochigo on August 11, 2017, 01:02:11 PM Hello, You're using the API of a blockexplorer and they filter the information and provide you with only the information that they deem relevant.Transaction is 08c260dbc0bff38ed01985bea499ce9065aace1461d848325fc2b94acb863dbc https://live.blockcypher.com/btc/tx/08c260dbc0bff38ed01985bea499ce9065aace1461d848325fc2b94acb863dbc/ I use command "gettransaction", why don't show Input? show Output only.. (but blockcyper and blockchaininfo show input) How can I determine input wallet? The easiest way is to probably get the raw transaction and decode it yourself.Thanks! By decoding the raw transaction, this is what you get in JSON format: Code: { In the ScriptSig, the last 65 bytes contains the public key and in this case, "script":"483045022100c14f699ed2d668a2f0a2ff145ba7dd524319d4af6f410aec605c482d79631582022 0090b6d0835022298f551ac21352ab1819cdf94d8000229e9fc0816a852fadd7d0121029bb4c12fce28633899a798610856ec576735dd62957328f9b758bb601a94674a That is your public key and using that, you can find the address associated with the transaction. Title: Re: Who can explain this transaction? Post by: OddEvenBets.com on August 12, 2017, 12:20:09 PM ~ In the ScriptSig, the last 65 bytes contains the public key and in this case, "script":"483045022100c14f699ed2d668a2f0a2ff145ba7dd524319d4af6f410aec605c482d79631582022 0090b6d0835022298f551ac21352ab1819cdf94d8000229e9fc0816a852fadd7d0121029bb4c12fce28633899a798610856ec576735dd62957328f9b758bb601a94674a That is your public key and using that, you can find the address associated with the transaction. I resolved my problem (getraw and decode..) . But interst how can find address with this public key? Title: Re: Who can explain this transaction? Post by: ranochigo on August 12, 2017, 12:39:57 PM I resolved my problem (getraw and decode..) . But interst how can find address with this public key? [1] http://gobittest.appspot.com/Address |