All transfers of the notes, bonds, bills of exchange, or other evidences of debt owing to any national banking association, or of deposits to its credit; all assignments of mortgages, sureties on real estate, or of judgments or decrees in its favor; all deposits of money, bullion, or other valuable thing for its use, or for the use of any of its shareholders or creditors; and all payments of money to either, made after the commission of an act of insolvency, or in contemplation thereof, made with a view to prevent the application of its assets in the manner prescribed by chapter 4 of title 62 of the Revised Statutes, or with a view to the preference of one creditor to another, except in payment of its circulating notes, shall be utterly null and void; and no attachment, injunction, or execution, shall be issued against such association or its property before final judgment in any suit, action, or proceeding, in any State, county, or municipal court.
(R.S. § 5242.)