In any case, an hardware wallet would be better, if you mean a transaction, then in an hardware wallet, the blockchain sends a signal to your wallet in offline mode, this is, in my opinion, the most proven method and the safest than all the others. Yes, and all seasoned people always advise a hardware wallet in any case, under any circumstances.