broadcast#
- broadcast(web3, ts, instructions, confirmation_block_count=0, ganache_sleep=0.5)[source]#
Broadcast multiple transations and manage the trade executor state for them.
- Returns:
Map of transaction hashes to watch
- Parameters:
web3 (Web3) –
ts (datetime) –
instructions (List[TradeExecution]) –
confirmation_block_count (int) –
- Return type:
Dict[HexBytes, Tuple[TradeExecution, BlockchainTransaction]]