From d6a1835a10f13639eca7ba4957dfcc9b19cfc95c Mon Sep 17 00:00:00 2001 From: Yuval Niezni Date: Thu, 15 Aug 2024 12:17:29 +0300 Subject: [PATCH] add max tx fee param --- fireblocks_sdk/sdk.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fireblocks_sdk/sdk.py b/fireblocks_sdk/sdk.py index 99bc0843..35e26557 100644 --- a/fireblocks_sdk/sdk.py +++ b/fireblocks_sdk/sdk.py @@ -1474,6 +1474,7 @@ def create_transaction( fee_level=None, fail_on_low_fee=None, max_fee=None, + max_tx_fee=None, gas_limit=None, idempotency_key=None, external_tx_id=None, @@ -1543,6 +1544,9 @@ def create_transaction( if max_fee: body["maxFee"] = max_fee + if max_tx_fee: + body["maxTxFee"] = max_tx_fee + if fail_on_low_fee: body["failOnLowFee"] = fail_on_low_fee