Ethereum is an open source software platform in which thousands of decentralized applications (DApps) run their own cryptocurrency ETH (ETH), which can be sent and received around the world without any interference from third parties.

Ethereum was first developed in 2013 by Russian-Canadian programmer Vitalik Buterin and is a platform for self-efficient, eternal and immutable DApps with applications ranging from economics to games to art.

DApps, often referred to as smart contracts, are Ethereum transaction protocols that automatically perform certain functions and actions, such as processing transactions with predefined terms and agreements. Sending or canceling a transaction or allowing a pending transaction in Ethereum are actions related to how smart contracts work.

What is an Ethereum transaction?
Transactions are encrypted, signed instructions from accounts.

The Ethereum network supports two main types of transactions: contract spread transactions, a non-recipient transaction type, and regular transactions, which are the simplest types of transactions used to transfer ETH from one wallet to another.

A sent and regular Ethereum transaction includes a sender ID or signature, which is generated when the sender’s private key signs the transaction and confirms that the sender has approved a specific Ethereum transaction. The recipient’s address, the amount of ETH to be transferred from sender to recipient, information about Ethereum transaction fees, and an optional field to include arbitrary data are all part of the normal Ethereum transaction offered.

Ethereum transactions must be restored to be valid and charge the sender.

Ethereum miners validate legitimate transactions to be rewarded for their work in creating the new ETH. When a miner solves a cryptographic (mathematical) puzzle, the transaction is considered confirmed. Ethereum, like Bitcoin (BTC), has a Proof of Work (PoW) system to prevent cyberattacks by a single person or group.

The obligation of users to pay transaction fees when using blockchain protects the Ethereum network from erroneous or malicious computational tasks, such as users sending blockchain spam overloading meaningless transactions.

Ethereum Transaction Life Cycle
An Ethereum transaction goes through a series of states, starting from an unknown state until it is confirmed in a block.

Unknown: Unknown status refers to a transaction that the network has not seen or processed.

Waiting: When a transaction is on hold, it waits for the miners to retrieve and process what is called a bulk transaction, also called a “memory pool”. As miners favor higher gas prices, transactions with lower gas prices may be weakened in the suspended phase for a longer period. Deals with lower gas prices can never be resumed, so they are forever stuck in a suspended state.

In a block: When a miner selects a transaction and mines it inside a block, he goes to the block. Transactions in a block are called null transactions. If a block forks, a transaction in the block can return to a suspended state. When a processed transaction (i.e. a transaction in the case of a block) is canceled by the network, it is called a forked transaction.

Superseded: If any of the following conditions occur, a transaction can be moved from pending to overwriting:

A new transaction with the same nonce from the same sender goes into blocking status, or
Another transaction with the same non-cash value and 12% higher gas price goes into the waiting stage, this time from the same sender.
Ethereum transaction confirmations
Ethereum Transaction Confirmations are the number of blocks generated since the first block that contained the transaction.

The current Ethereum transaction must receive a certain number of confirmations. The higher the gas charge, the more confidence that the Ethereum network has processed and recognized the transaction.

The last blocks can be reorganized, giving the impression that the transaction has failed. However, the transaction can be part of another block and remain valid. The likelihood of reorganization decreases with each subsequent mined block, i.e. the more confirmations, the more stable the transaction.

Ethereum transaction confirmations
The transaction fee is the incentive that users pay to block miners. It is used to send a specific transaction on the Ethereum blockchain.

Source: CoinTelegraph