Market Cap: $2.8389T -0.70%
Volume(24h): $167.3711B 6.46%
Fear & Greed Index:

28 - Fear

  • Market Cap: $2.8389T -0.70%
  • Volume(24h): $167.3711B 6.46%
  • Fear & Greed Index:
  • Market Cap: $2.8389T -0.70%
Cryptos
Topics
Cryptospedia
News
CryptosTopics
Videos
Top Cryptospedia

Select Language

Select Language

Select Currency

Cryptos
Topics
Cryptospedia
News
CryptosTopics
Videos

How does a transaction get from a wallet to being included in a block?

A cryptocurrency transaction begins when a user sends funds, creating a signed transaction that's broadcast to the network, validated by nodes, and held in the mempool until miners include it in a block.

Nov 15, 2025 at 03:21 am

Initiation of a Cryptocurrency Transaction

1. When a user decides to send cryptocurrency from their wallet, the process begins with the creation of a transaction. This transaction contains essential data such as the sender's public address, the recipient's public address, the amount being transferred, and a digital signature generated using the sender’s private key.

2. The digital signature ensures that only the rightful owner of the funds can initiate the transfer. Wallet software typically handles this cryptographic process automatically, allowing users to confirm transactions with simple interface actions like clicking “Send.”

3. Once signed, the transaction is not immediately recorded on the blockchain. Instead, it exists in an unsigned state within the wallet until broadcasted to the network. At this stage, it resides locally and has no effect on the ledger.

4. The wallet then broadcasts the transaction to nearby nodes in the peer-to-peer network. These nodes are computers running client software compatible with the blockchain protocol, such as Bitcoin Core or Geth for Ethereum.

5. Upon receipt, each node performs preliminary validation checks. These include verifying the digital signature, ensuring the sender has sufficient balance (based on unspent transaction outputs), and confirming the transaction adheres to protocol rules. Invalid transactions are discarded immediately.

Propagation Across the Network

1. Valid transactions are relayed from node to node across the decentralized network. This propagation happens rapidly due to the gossip protocol, where each node forwards newly received valid transactions to its connected peers.

2. During this phase, the transaction enters a temporary holding area known as the mempool (memory pool). The mempool is maintained individually by each full node and stores all verified transactions waiting to be included in a block.

3. Miners or validators—depending on whether the network uses Proof-of-Work or Proof-of-Stake—monitor the mempool for new transactions. They prioritize which transactions to include based on factors like transaction fees. Higher-fee transactions generally receive faster processing.

4. Some wallets allow users to set custom fee rates, giving them control over confirmation speed. If the fee is too low, the transaction may remain stuck in the mempool for extended periods, especially during times of high network congestion.

5. While sitting in the mempool, a transaction remains malleable in certain protocols. For instance, in Bitcoin, Segregated Witness (SegWit) was introduced to reduce transaction malleability issues that could alter transaction IDs before confirmation.

Block Inclusion and Confirmation

1. A miner or validator collects a set of transactions from the mempool and forms a candidate block. This includes selecting transactions primarily based on fee per byte or gas price, depending on the blockchain.

2. Alongside these transactions, the block contains metadata such as a timestamp, the hash of the previous block, and a nonce (in PoW systems). The miner then attempts to solve a cryptographic puzzle requiring substantial computational effort.

3. Once a valid solution is found, the block is broadcast to the network. Other nodes verify the solution and the validity of every transaction within the block. If everything checks out, the block is appended to the blockchain.

4. The moment a transaction is embedded in a confirmed block, it receives its first confirmation. Each subsequent block added on top increases the number of confirmations, enhancing security against reversal.

5. Most services require multiple confirmations before considering a transaction final. For example, exchanges often wait for six Bitcoin confirmations to mitigate risks associated with chain reorganizations or orphaned blocks.

Frequently Asked Questions

What happens if my transaction doesn’t get confirmed?Transactions can remain unconfirmed due to low fees or network congestion. Users can sometimes use mechanisms like Replace-by-Fee (RBF) or child-pays-for-parent (CPFP) to accelerate confirmation.

Can a transaction be removed from the mempool?Yes, nodes typically evict transactions from their mempool after a timeout period or when memory limits are reached. Also, if a transaction spends inputs that have already been used elsewhere, it becomes invalid and is dropped.

How do I check if my transaction is in the mempool?You can use blockchain explorers like Blockstream.info or Etherscan.io. By entering your transaction ID, you can see whether it’s pending (in the mempool) or already confirmed in a block.

Do all nodes have the same mempool?No, each node maintains its own version of the mempool. Differences arise due to network latency, filtering rules, or transaction policies. However, consensus-critical validation rules ensure only legitimate transactions propagate widely.

Disclaimer:info@kdj.com

The information provided is not trading advice. kdj.com does not assume any responsibility for any investments made based on the information provided in this article. Cryptocurrencies are highly volatile and it is highly recommended that you invest with caution after thorough research!

If you believe that the content used on this website infringes your copyright, please contact us immediately (info@kdj.com) and we will delete it promptly.

Related knowledge

See all articles

User not found or password invalid

Your input is correct