Brownie – How to Send Transactions Without Confirmation Wait

browniecpp-ethereumweb3.py

Is there is a way in Brownie to send a transaction without waiting for confirmation, like an async way?

Best Answer

so you just need to pass 'required_confs':0 dict with request like that:

token = interface.ERC20(tokenContract)
token.transfer(toAddress, amount, {'from': account, 'required_confs':0})
Related Topic