If I send this command to a view-only wallet rpc instance, how can I "sign_transfer" it so I can submit it? I tried pasting the tx_blob into a file and running sign_transfer with cli wallet. I'm hoping to do this signing via rpc, if possible.

$~/bin/monero-gui-v0.11.1.0$ curl -X POST -d '{"jsonrpc":"2.0","id":"0","method":"transfer","params":{"destinations":[{"amount":1000000000000,"address":"A16nFcW5XuU6Hm2owV4g277yWjjY6cVZy5YgE15HS6C8JujtUUP51jP7pBECqk78QW8K78yNx9LB4iB8jY3vL8vw3JhiQuX"}],"mixin":5,"get_tx_key": true,"get_tx_hex":true,"do_not_relay":true}}' -H 'Content-Type: application/json'

{ "id": "0", "jsonrpc": "2.0", "result": { "fee": 17892560000, "tx_blob": "02000202000685850c84f506ae9c01f11c9b5ba......" "tx_hash": "498f41d95f9a62ac4840dcf75c0a3723052f2645c73666f7806d5fabde459d5b", "tx_key": "255add51ae34a7e8d54f2ab6a2cac387ce0400d2810b6e37c310f24c9cc59201" } }

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.