code: def get_tx_receipt(tx_hash):
          
          try:
              Web3Provider.get_web3().eth.waitForTransactionReceipt(tx_hash, timeout=20)
          except Timeout:
              logger.info('Waiting for transaction receipt timed out.')
              return
          return Web3Provider.get_web3().eth.getTransactionReceipt(tx_hash)
docs: Get the receipt of a tx.
  
          :param tx_hash: hash of the transaction
          :return: Tx receipt