Skip to main content

Transaction Lifecycle

Transactions on HamsterChain move through distinct stages to ensure proper execution and integrity. Here’s an overview from initiation to finalization:

1. Initiate Transaction - Pending

Action: A user initiates a transaction on the HamsterChain network.

Once a transaction is sent, it enters a pending state, awaiting initial confirmation.

How to Track: Use HamsterChain's monitoring tools or the JSON-RPC method eth_getBlockByNumber with pending.

2. Sequencer Validation - Under Review

Action: The transaction is processed by the Sequencer.

Validated transactions are tagged as “sequencer confirmed” or “unsafe” but await final blockchain confirmation.

How to Track: Monitor sequencer validated blocks using eth_getBlockByNumber with safe.

3. Blockchain Confirmation - Confirmed

Action: The transaction is confirmed on the blockchain.

Confirmed transactions are included in a block but can still be subject to reorganization.

How to Track: Check confirmed blocks using eth_getBlockByNumber with safe.

4. Finalization - Finalized

Action: The transaction is finalized on the blockchain.

Finalized transactions are permanently recorded on the blockchain, ensuring data integrity.

How to Track: Monitor finalized transactions through HamsterChain’s interface or use eth_getBlockByNumber with finalized.

Understanding these stages is key to effective transaction management on HamsterChain.