What is the difference between on-chain and off-chain transactions?

Follow