mirror of
https://github.com/monero-project/monero.git
synced 2025-01-31 15:05:57 +00:00
51d7a6921c
To transfer ~5 XMR to an address such that your balance drops by exactly 5 XMR, provide a `subtractfeefrom` flag to the `transfer` command. For example: transfer 76bDHojqFYiFCCYYtzTveJ8oFtmpNp3X1TgV2oKP7rHmZyFK1RvyE4r8vsJzf7SyNohMnbKT9wbcD3XUTgsZLX8LU5JBCfm 5 subtractfeefrom=all If my walet balance was exactly 30 XMR before this transaction, it will be exactly 25 XMR afterwards and the destination address will receive slightly less than 5 XMR. You can manually select which destinations fund the transaction fee and which ones do not by providing the destination index. For example: transfer 75sr8AAr... 3 74M7W4eg... 4 7AbWqDZ6... 5 subtractfeefrom=0,2 This will drop your balance by exactly 12 XMR including fees and will spread the fee cost proportionally (3:5 ratio) over destinations with addresses `75sr8AAr...` and `7AbWqDZ6...`, respectively. Disclaimer: This feature was paid for by @LocalMonero. |
||
---|---|---|
.. | ||
api | ||
CMakeLists.txt | ||
message_store.cpp | ||
message_store.h | ||
message_transporter.cpp | ||
message_transporter.h | ||
node_rpc_proxy.cpp | ||
node_rpc_proxy.h | ||
ringdb.cpp | ||
ringdb.h | ||
wallet2.cpp | ||
wallet2.h | ||
wallet_args.cpp | ||
wallet_args.h | ||
wallet_errors.h | ||
wallet_light_rpc.h | ||
wallet_rpc_helpers.h | ||
wallet_rpc_payments.cpp | ||
wallet_rpc_server.cpp | ||
wallet_rpc_server.h | ||
wallet_rpc_server_commands_defs.h | ||
wallet_rpc_server_error_codes.h |