Hey, I'm using web3.py for my bot.
I wanted to ask; is there a way to wait for the next block? Sorta like a time.sleep() but it executes the next line when there's a next block

Jul 5, 2021, 8:42 AM
Right now I have to do time.sleep(3) but sometimes it gets out of sync
Jul 5, 2021, 8:42 AM

© 2024 Draquery.com All rights reserved.