Is it legal to check all the transaction records of executives when the company goes public?

Legal.

Because a company will go through a series of complicated anti-corruption procedures before going public, generally speaking, a company needs senior executives to provide bank flow, which is mainly aimed at related party transactions and interest transfer, that is, to check whether there are forged performance, illegal kickbacks, misappropriation of company property, etc. , and usually only the controlling shareholder and actual controller are required to provide it.