aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2024-02-24 09:56:28 -0500
committerluigi1111 <luigi1111w@gmail.com>2024-02-24 09:56:28 -0500
commitf9a7f2a13612253dfc9db04ac015c97c54c07c2d (patch)
treea5b2beb5168244149486a5dcc3edf573b6ecbae0 /utils
parent8eab181fe13536224b569110d8f74bbde0874d3d (diff)
parent51d7a6921c8d6a337773f261a04301ef75ee5e3b (diff)
downloadmonzero-core-f9a7f2a13612253dfc9db04ac015c97c54c07c2d.tar.gz
monzero-core-f9a7f2a13612253dfc9db04ac015c97c54c07c2d.tar.xz
monzero-core-f9a7f2a13612253dfc9db04ac015c97c54c07c2d.zip
Merge pull request #8945
51d7a69 wallet: feature: transfer amount with fee included (jeffro256)
Diffstat (limited to 'utils')
-rw-r--r--utils/python-rpc/framework/wallet.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/python-rpc/framework/wallet.py b/utils/python-rpc/framework/wallet.py
index 37e91034b..1e10e1f86 100644
--- a/utils/python-rpc/framework/wallet.py
+++ b/utils/python-rpc/framework/wallet.py
@@ -38,13 +38,14 @@ class Wallet(object):
self.port = port
self.rpc = JSONRPC('{protocol}://{host}:{port}'.format(protocol=protocol, host=host, port=port if port else 18090+idx))
- def transfer(self, destinations, account_index = 0, subaddr_indices = [], priority = 0, ring_size = 0, unlock_time = 0, payment_id = '', get_tx_key = True, do_not_relay = False, get_tx_hex = False, get_tx_metadata = False):
+ def transfer(self, destinations, account_index = 0, subaddr_indices = [], priority = 0, ring_size = 0, unlock_time = 0, payment_id = '', get_tx_key = True, do_not_relay = False, get_tx_hex = False, get_tx_metadata = False, subtract_fee_from_outputs = []):
transfer = {
'method': 'transfer',
'params': {
'destinations': destinations,
'account_index': account_index,
'subaddr_indices': subaddr_indices,
+ 'subtract_fee_from_outputs': subtract_fee_from_outputs,
'priority': priority,
'ring_size' : ring_size,
'unlock_time' : unlock_time,