Documentation Index
Fetch the complete documentation index at: https://seilabs-docs-evm-reference-and-sei-js-examples.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Gas and Fees
Sei supports both legacy and EIP-1559 transactions, but the fee model differs from Ethereum in three ways that affect how you estimate and set gas.Legacy Gas Price Floor
Legacy transactions (type 0) on Sei must meet a minimum gas price set by on-chain governance. This floor can change via governance proposals — do not hard-code a specific value. Useeth_gasPrice to read the current minimum:
EIP-1559 Fee Model
Sei supports EIP-1559 transactions (type 2), but does not burn the base fee. Fees go entirely to validators rather than being partially burned as on Ethereum. This does not affect how you construct or send transactions —maxFeePerGas and maxPriorityFeePerGas work as expected. It is relevant only if your application models token supply or displays fee-burn information to users.
SSTORE Cost
The gas cost ofSSTORE (writing to contract storage) is governance-adjustable on Sei. Do not hard-code storage write estimates in your application.
Always use eth_estimateGas for any transaction that writes to storage:
Summary
| Behavior | Ethereum | Sei |
|---|---|---|
| Legacy gas floor | Protocol minimum | Governance-set, can change |
| Base fee | Burned | Paid to validators |
| SSTORE cost | Fixed by EIP | Governance-adjustable |
estimateGas | Always correct to use | Required — do not hard-code storage costs |