Understanding Chain Deposits: On-Chain vs. Off-Chain Transactions