I am sending a transaction using:
sign_txn = web3.eth.account.signTransaction(token_tx, private_key=private_key)
tx_hash = web3.eth.sendRawTransaction(sign_txn.rawTransaction)
and I want to wait for the confirmation of the transaction to continue the work of my script, how can I do this so as not to lose extra time waiting for verification when the transaction is already completed?