Skip to main content
Sei supports EVM transactions, allowing compatibility with Ethereum-based tools and contracts. Transactions are signed messages originating from an externally owned account (EOA) that trigger state changes on the blockchain.

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:
Gas Requirements for Common Operations:
  • Simple SEI transfer: 21,000 gas
  • ERC-20 transfer: ~45,000 gas
  • Contract deployment: Varies based on contract size and complexity
  • Always estimate gas before sending transactions using eth_estimateGas

Transaction Structure

EVM transactions in Sei follow the Ethereum transaction format with standard properties:

Transaction Guidelines

Transaction Best Practices:
  • Set appropriate gas parameters: Use network conditions to estimate optimal values for maxFeePerGas and maxPriorityFeePerGas.
  • 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