oh well!
As a matter of fact
I'm trying to spend 0.00136988 sent to the address : 1EZPifMcq31gXsMM8s4RBDy4T5kkAJtTpo If there's a way I con do it or I got the whole spending scenario wrong?
If you look at the transaction that created the output you are trying to spend, you'll see that it has 2 outputs. You have to specify which output you want to spend.
getrawtransaction 48d57d54d112b3776dcd1bdade84e1b575496228e0d1c4e8c6ed8438dcb85fbf 1
{
"txid": "48d57d54d112b3776dcd1bdade84e1b575496228e0d1c4e8c6ed8438dcb85fbf",
"size": 373,
"version": 1,
"locktime": 0,
"vin": [
{
"txid": "3e7b1a8dbf026d77e62bb896d560dca9b27a576340119fee7d16492d2ace32a4",
"vout": 0,
"sequence": 4294967295
},
{
"txid": "af7d3ded1b8ccd2138bf35a7154f389fd90ac5af2beb73f5b8849d2df69bb572",
"vout": 1,
"sequence": 4294967295
}
],
"vout": [
{
"value": 0.00005775,
"n": 0,
"scriptPubKey": {
"asm": "OP_DUP OP_HASH160 3023e5def45112164a3519728cc27f975e6e39e1 OP_EQUALVERIFY OP_CHECKSIG",
"type": "pubkeyhash",
"addresses": [
"15PYSSX8MTrmPsxkdWSZbZfoYL3JPV1BPd"
]
}
},
{
"value": 0.00136988,
"n": 1,
"scriptPubKey": {
"asm": "OP_DUP OP_HASH160 94b9e905ee5bf75f0bb9b90f1383689f5cdc3a7e OP_EQUALVERIFY OP_CHECKSIG",
"type": "pubkeyhash",
"addresses": [
"1EZPifMcq31gXsMM8s4RBDy4T5kkAJtTpo"
]
}
}
],
"blockhash": "0000000000000000055d59425a4f802b41bc1cbf3437329525ab5d5e6b4687a6",
"confirmations": 137,
}
If you have the private key for 1EZPifMcq31gXsMM8s4RBDy4T5kkAJtTpo in your wallet, then this should work:
createrawtransaction [{\"txid\":\"48d57d54d112b3776dcd1bdade84e1b575496228e0d1c4e8c6ed8438dcb85fbf\",\"vout\":1}] {\"1DAbnF1nDhLWkkMKVqKNHRJF39fwfjdrfB\":0.00136988}
Which should result in a transaction that looks like this:
0100000001bf5fb8dc3884edc6e8c4d1e028624975b5e184deda1bcd6d77b312d1547dd54801000
00000ffffffff011c170200000000001976a914857249351a591cec53e19c9bd8320370b1f4746b
88ac00000000
The difference between this transaction and the one you are trying to sign is that this one is spending the output (vout) where n=1, and you were trying to spend the output (vout) where n=0.