An on-chain transaction takes place on a blockchain with out the help of a second-layer protocol and stays relying on the state of the blockchain to validate it. These transactions are solely deemed reputable when the blockchain updates to reflect a report of the transaction on most of the people ledger.
Since they’re immutable and cannot be altered after they’re validated, these sort of transactions present security and transparency. However, counting on the blockchain and its neighborhood congestion, validations of transactions will not be instantaneous. That’s the place second-layer protocols are available in helpful.
On-chain transactions moreover come at a price, which could fluctuate counting on how loads transaction amount there is on the neighborhood.