Overview
This guide explains the transaction flow process on Paxeer Network from submission to finality.Transaction Lifecycle
1
Transaction Created
User creates and signs a transaction
2
Submitted to Mempool
Transaction is broadcast to the network and enters the mempoolStatus: Pending
3
Sequencer Selection
Sequencer selects transactions based on:
- Gas price (base fee + priority fee)
- Nonce order
- Transaction dependencies
4
Block Inclusion
Transaction is included in a blockBlock Time: ~2 seconds
5
Execution
Transaction is executed, state is updatedResult: Success (status: 1) or Failure (status: 0)
6
Finalization
After multiple confirmations, transaction is finalizedRecommended Confirmations: 12+ blocks (~24 seconds)
Detailed Flow Diagram
Transaction States
- Pending
- Mined
- Confirmed
- Finalized
Pending State
Transaction is in the mempool waiting to be included.Characteristics:- Not yet in a block
- Can be replaced (with higher fee)
- Can be dropped if mempool is full
- No guarantee of inclusion
Sequencer Role
The sequencer is responsible for:-
Ordering Transactions
- Selects from mempool based on fees
- Maintains nonce order per account
- Prioritizes higher fee transactions
-
Creating Blocks
- Bundles transactions into blocks
- ~2 second block time target
- Maximum 30M gas per block
-
Executing Transactions
- Runs EVM execution
- Updates state
- Emits events
-
Maintaining State
- Stores current blockchain state
- Provides state access via RPC
- Ensures consistency
Transaction Ordering
Transactions in the mempool are ordered by:1
Priority Fee
Higher priority fee = higher priority
2
Nonce Order
Transactions from same address must be sequential
3
Gas Price
Base fee + priority fee determines total priority
Block Production
Block Structure
Block Time
Target: ~2 seconds per block Factors affecting block time:- Network congestion
- Transaction complexity
- Sequencer performance
State Management
State Transitions
State Root
Each block contains a state root (Merkle root):Confirmations and Finality
Confirmation Levels
| Confirmations | Time | Risk | Use Case |
|---|---|---|---|
| 0 (Pending) | 0s | High | UI preview only |
| 1 | ~2s | Medium | Small transactions |
| 3 | ~6s | Low | Standard transactions |
| 6 | ~12s | Very Low | Important transactions |
| 12+ | ~24s | Minimal | Critical/irreversible |
Checking Finality
Transaction Types
Standard Transfer
Contract Deployment
Contract Interaction
Monitoring Transactions
Real-time Monitoring
Transaction Receipts
Performance Metrics
Network Statistics
| Metric | Value |
|---|---|
| Average Block Time | ~2 seconds |
| Block Gas Limit | 30,000,000 |
| Typical Base Fee | 1-5 gwei |
| Transactions/Second | ~1,500 TPS |
| Finality Time | ~24 seconds (12 blocks) |