Transaction Lifecycle
Unlike other EVM chains where you need to wait for multiple confirmations, Sei’s consensus mechanism provides immediate transaction finality. Once a transaction is included in a block, it cannot be reversed.
Gas Mechanics
Gas is a unit of computational work in the EVM that helps prevent spam and allocate resources efficiently:Transaction Structure
EVM transactions in Sei follow the Ethereum transaction format with standard properties:- Transaction Properties
- Transaction Types
- Example Request
- Example Response
Transaction Guidelines
Transaction Best Practices:
- Set appropriate gas parameters: Use network conditions to estimate optimal values for
maxFeePerGasandmaxPriorityFeePerGas. - Manage nonces carefully: Track and increment nonces correctly to avoid transaction failures.
- Use typed transactions: Prefer EIP-1559 transactions (type 2) for more predictable fees.
- Implement proper error handling: Account for potential transaction failures and revert reasons.
- Verify recipient addresses: Always double-check destination addresses, as transactions cannot be reversed.
Additional Resources
RPC Reference
Complete documentation of Sei’s EVM RPC endpoints for transaction creation and monitoring
Gas & Fees
Learn more about gas calculation, fee estimation, and cost optimization on Sei
Accounts
Understanding Externally Owned Accounts and Contract Accounts on Sei