execute_safe_tx
Documentation for eth_defi.safe.execute.execute_safe_tx function.
- execute_safe_tx(self, tx_sender_private_key, tx_gas=None, tx_gas_price=None, tx_nonce=None, block_identifier='latest', eip1559_speed=None, gas_fee=None)
Fixex broken SafeTx.execute().
See the orignal as
safe_eth.safe.safe_tx.SafeTx.execute()Handle gas fees correctly, don’t fail randomly
- Parameters
gas_fee (eth_defi.gas.GasPriceSuggestion) – Gas fee to apply to the transaction, don’t try to use broken Safe logic to get gas fee filled in, as it will result to broken transactions rejected by the node.
self (safe_eth.safe.safe_tx.SafeTx) –
tx_sender_private_key (str) –
block_identifier (Optional[Union[Literal['latest', 'earliest', 'pending', 'safe', 'finalized'], eth_typing.evm.BlockNumber, eth_typing.evm.Hash32, eth_typing.encoding.HexStr, hexbytes.main.HexBytes, int]]) –
eip1559_speed (Optional[safe_eth.eth.ethereum_client.TxSpeed]) –
- Return type
Tuple[hexbytes.main.HexBytes, web3.types.TxParams]