API documentation for tradeexecutor.ethereum.rebroadcast.rebroadcast_all Python function.

rebroadcast_all(web3, state, execution_model, routing_model, routing_state)[source]#

Check the state for unconfirmed transactions and attempt to fix them.

  • Check if tx was correctly broadcasted, but we never received a receipt from a node

  • Re-sign txs and rebroadcast if needed


Trades we fixed, old broken txs.

Old broken txs might have been replaced with new txs.

Return type:

Tuple[List[TradeExecution], List[BlockchainTransaction]]