Web3 HTTPProvider
.
YOUR_CHAINSTACK_ENDPOINT
.ThreadPoolExecutor
to check pending transactions simultaneously, making everything quicker.pretty_print_transaction()
. After that, the main function will stop, but you can tweak the loop if you want it to keep watching for new transactions.