Hello,
I'm trying to sign a raw transaction following your tutorial here
https://www.multichain.com/developers/external-key-management/
when I'm on the signrawtransaction steps I receive this error:
error code: -8
error message:
argument 1 must be hexadecimal string (not '[0100000001c89e205f2af53658e54ce1620ac77ebe0f75b4bd9040f030a337d7c70d4e62010000000000ffffffff0200000000000000003776a914e1dca8651085319899ad83c15f23b89e9f48faac88ac1c73706b710f75b4bd9040f030a337d7c70d4e620114000000000000007500000000000000001976a9140d5f7fae45493ebada770dc87f74a1494f7680f088ac00000000]')
Below the full steps I had followed:
multichain-cli idem createrawsendfrom 12oqCKpM9kW9wCCpJ1ZJxQBNANq3nyo7qBGdPN '{"1XXXXXXX8JXXXXXXiRXXXXXXZvXXXXXXXXu1oG":{"DRLMB":20}}'
{"method":"createrawsendfrom","params":["12oqCKpM9kW9wCCpJ1ZJxQBNANq3nyo7qBGdPN",{"1XXXXXXX8JXXXXXXiRXXXXXXZvXXXXXXXXu1oG":{"DRLMB":20}}],"id":1,"chain_name":"idem"}
0100000001c89e205f2af53658e54ce1620ac77ebe0f75b4bd9040f030a337d7c70d4e62010000000000ffffffff0200000000000000003776a914e1dca8651085319899ad83c15f23b89e9f48faac88ac1c73706b710f75b4bd9040f030a337d7c70d4e620114000000000000007500000000000000001976a9140d5f7fae45493ebada770dc87f74a1494f7680f088ac00000000
multichain-cli idem signrawtransaction [0100000001c89e205f2af53658e54ce1620ac77ebe0f75b4bd9040f030a337d7c70d4e62010000000000ffffffff0200000000000000003776a914e1dca8651085319899ad83c15f23b89e9f48faac88ac1c73706b710f75b4bd9040f030a337d7c70d4e620114000000000000007500000000000000001976a9140d5f7fae45493ebada770dc87f74a1494f7680f088ac00000000] '[]' '["<my private key>"]'
{"method":"signrawtransaction","params":["[0100000001c89e205f2af53658e54ce1620ac77ebe0f75b4bd9040f030a337d7c70d4e62010000000000ffffffff0200000000000000003776a914e1dca8651085319899ad83c15f23b89e9f48faac88ac1c73706b710f75b4bd9040f030a337d7c70d4e620114000000000000007500000000000000001976a9140d5f7fae45493ebada770dc87f74a1494f7680f088ac00000000]",[],["<my private key>"]],"id":1,"chain_name":"idem"}
error code: -8
error message:
argument 1 must be hexadecimal string (not '[0100000001c89e205f2af53658e54ce1620ac77ebe0f75b4bd9040f030a337d7c70d4e62010000000000ffffffff0200000000000000003776a914e1dca8651085319899ad83c15f23b89e9f48faac88ac1c73706b710f75b4bd9040f030a337d7c70d4e620114000000000000007500000000000000001976a9140d5f7fae45493ebada770dc87f74a1494f7680f088ac00000000]')
Can you point me on where I'm wrong?
Thanks a lot