Bitcoin Forum
July 01, 2024, 02:18:28 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Who can explain this transaction?  (Read 439 times)
OddEvenBets.com (OP)
Full Member
***
Offline Offline

Activity: 1022
Merit: 100



View Profile WWW
August 11, 2017, 10:27:36 AM
 #1

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:
{
  "amount": 0.00085458,
  "confirmations": 23,
  "blockhash": "0000000000000000007230ccf310546803dd67408e91a4e33182be2486c7273e",
  "blockindex": 26,
  "blocktime": 1502428636,
  "txid": "08c260dbc0bff38ed01985bea499ce9065aace1461d848325fc2b94acb863dbc",
  "walletconflicts": [
  ],
  "time": 1502381966,
  "timereceived": 1502381966,
  "bip125-replaceable": "no",
  "details": [
    {
      "account": "",
      "address": "16gzd25KU6tU89YsNNbGbzshvx3512YL1h",
      "category": "receive",
      "amount": 0.00085458,
      "label": "",
      "vout": 0
    }
  ],
  "hex": "0100000001a41d412302f88c4fdcf72b3aa6221e1273b4b9a7ad498f65ec507170ac14fd48000000006b483045022100c14f699ed2d668a2f0a2ff145ba7dd524319d4af6f410aec605c482d796315820220090b6d0835022298f551ac21352ab1819cdf94d8000229e9fc0816a852fadd7d0121029bb4c12fce28633899a798610856ec576735dd62957328f9b758bb601a94674affffffff01d24d0100000000001976a9143e68f3765ba0ec07d303ee5ae5528549253dcd3388ac00000000"
}

How can I determine input wallet?

Thanks!


███████████████████████████████████████
OddEvenBets - it's not my domain now! I lost it.
 
████████████████████████████████████████████████████████
aleksej996
Sr. Member
****
Offline Offline

Activity: 490
Merit: 389


Do not trust the government


View Profile
August 11, 2017, 10:51:01 AM
 #2

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.
Thirdspace
Hero Member
*****
Offline Offline

Activity: 1232
Merit: 738


Mixing reinvented for your privacy | chipmixer.com


View Profile
August 11, 2017, 10:59:55 AM
 #3

Quote
"hex": "0100000001a41d412302f88c4fdcf72b3aa6221e1273b4b9a7ad498f65ec507170ac14fd4800000 0006b483045022100c14f699ed2d668a2f0a2ff145ba7dd524319d4af6f410aec605c482d796315 820220090b6d0835022298f551ac21352ab1819cdf94d8000229e9fc0816a852fadd7d0121029bb 4c12fce28633899a798610856ec576735dd62957328f9b758bb601a94674affffffff01d24d0100 000000001976a9143e68f3765ba0ec07d303ee5ae5528549253dcd3388ac00000000"
encoded in the hex, after decode you will see what shown below
so, the input was from hash 48fd14ac... at (output) index 0... which is address 1B2V9VD...
look at https://live.blockcypher.com/btc/tx/48fd14ac707150ec658f49ada7b9b473121e22a63a2bf7dc4f8cf80223411da4/

Code:
{
   "lock_time":0,
   "size":192,
   "inputs":[
      {
         "prev_out":{
            "index":0,
            "hash":"48fd14ac707150ec658f49ada7b9b473121e22a63a2bf7dc4f8cf80223411da4"
         },
         "script":"483045022100c14f699ed2d668a2f0a2ff145ba7dd524319d4af6f410aec605c482d796315820220090b6d0835022298f551ac21352ab1819cdf94d8000229e9fc0816a852fadd7d0121029bb4c12fce28633899a798610856ec576735dd62957328f9b758bb601a94674a"
      }
   ],
   "version":1,
   "vin_sz":1,
   "hash":"08c260dbc0bff38ed01985bea499ce9065aace1461d848325fc2b94acb863dbc",
   "vout_sz":1,
   "out":[
      {
         "script_string":"OP_DUP OP_HASH160 3e68f3765ba0ec07d303ee5ae5528549253dcd33 OP_EQUALVERIFY OP_CHECKSIG",
         "address":"16gzd25KU6tU89YsNNbGbzshvx3512YL1h",
         "value":85458,
         "script":"76a9143e68f3765ba0ec07d303ee5ae5528549253dcd3388ac"
      }
   ]
}

ranochigo
Legendary
*
Offline Offline

Activity: 2982
Merit: 4193



View Profile
August 11, 2017, 01:02:11 PM
 #4

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)
You're using the API of a blockexplorer and they filter the information and provide you with only the information that they deem relevant.

How can I determine input wallet?

Thanks!
The easiest way is to probably get the raw transaction and decode it yourself.
By decoding the raw transaction, this is what you get in JSON format:
Code:
{
   "lock_time":0,
   "size":192,
   "inputs":[
      {
         "prev_out":{
            "index":0,
            "hash":"48fd14ac707150ec658f49ada7b9b473121e22a63a2bf7dc4f8cf80223411da4"
         },
         "script":"483045022100c14f699ed2d668a2f0a2ff145ba7dd524319d4af6f410aec605c482d796315820220090b6d0835022298f551ac21352ab1819cdf94d8000229e9fc0816a852fadd7d0121029bb4c12fce28633899a798610856ec576735dd62957328f9b758bb601a94674a"
      }
   ],
   "version":1,
   "vin_sz":1,
   "hash":"08c260dbc0bff38ed01985bea499ce9065aace1461d848325fc2b94acb863dbc",
   "vout_sz":1,
   "out":[
      {
         "script_string":"OP_DUP OP_HASH160 3e68f3765ba0ec07d303ee5ae5528549253dcd33 OP_EQUALVERIFY OP_CHECKSIG",
         "address":"16gzd25KU6tU89YsNNbGbzshvx3512YL1h",
         "value":85458,
         "script":"76a9143e68f3765ba0ec07d303ee5ae5528549253dcd3388ac"
      }
   ]
}

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.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
OddEvenBets.com (OP)
Full Member
***
Offline Offline

Activity: 1022
Merit: 100



View Profile WWW
August 12, 2017, 12:20:09 PM
 #5


~

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?

███████████████████████████████████████
OddEvenBets - it's not my domain now! I lost it.
 
████████████████████████████████████████████████████████
ranochigo
Legendary
*
Offline Offline

Activity: 2982
Merit: 4193



View Profile
August 12, 2017, 12:39:57 PM
 #6


I resolved my problem (getraw and decode..) .

But interst how can find address with this public key?
Your public key is from the ECDSA keypair. With the public key, it is used to generate the address that you see. The exact procedure is quite long so I'll just include the link which can do this for you[1].

[1] http://gobittest.appspot.com/Address

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
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!