Sei supports both legacy and EIP-1559 transactions. However, the fee model differs from Ethereum in three ways that affect how you estimate and set gas.
Legacy transactions (type 0) on Sei must meet a minimum gas price set by on-chain governance. Governance proposals can change this floor, so do not hard-code a specific value.To read the current minimum, use eth_gasPrice:
import { createPublicClient, http } from 'viem';import { sei } from 'viem/chains';const client = createPublicClient({ chain: sei, transport: http() });const gasPrice = await client.getGasPrice();
import { ethers } from 'ethers';const provider = new ethers.JsonRpcProvider('https://evm-rpc.sei-apis.com');const feeData = await provider.getFeeData();const gasPrice = feeData.gasPrice;
Sei supports EIP-1559 transactions (type 2), but it does not burn the base fee. All fees go to validators. On Ethereum, part of the fee is burned.This does not affect how you construct or send transactions. maxFeePerGas and maxPriorityFeePerGas work as expected. It matters only if your application models token supply or shows fee-burn information to users.
const fees = await client.estimateFeesPerGas();// fees.maxFeePerGas and fees.maxPriorityFeePerGas are usable as-is
const feeData = await provider.getFeeData();// feeData.maxFeePerGas and feeData.maxPriorityFeePerGas are usable as-is
For dynamic-fee (type 2) transactions, the effectiveGasPrice field of the transaction receipt reports the actual price charged, not the fee cap. That price is min(baseFee + maxPriorityFeePerGas, maxFeePerGas). This matches standard EIP-1559 semantics. Clients such as ethers and Hardhat therefore see the same effectiveGasPrice behavior that they expect from Ethereum.In practice, when your priority tip plus the base fee stays below maxFeePerGas, the receipt reports baseFee + maxPriorityFeePerGas, not maxFeePerGas. To compute what a transaction paid, use the receipt’s effectiveGasPrice, not maxFeePerGas.
On Sei, governance can adjust the gas cost of SSTORE (a write to contract storage). The current cost is 72,000 gas on both Sei Mainnet and Sei Testnet. For details, see Differences with Ethereum. Treat this number as the current value, not a constant. Do not hard-code storage write estimates in your application.Always use eth_estimateGas for any transaction that writes to storage:
const gas = await client.estimateGas({ account, to: contractAddress, data: encodedCalldata,});// Add a buffer for governance changes during high-activity periodsconst gasWithBuffer = (gas * 120n) / 100n; // 20% buffer
const gas = await provider.estimateGas({ from: signer.address, to: contractAddress, data: encodedCalldata,});
Estimate the absolute storage-write cost with a live eth_estimateGas call against a Sei RPC. A Foundry forge test --gas-report --fork-url <sei rpc> report forks the chain state, but it runs the standard EVM gas schedule of revm. It therefore shows SSTORE at the Ethereum cost (approximately 22,100) instead of the Sei cost (approximately 72,000). Use the report for relative profiling of your own logic.
Sei precompiles charge gas based on the work that each call does:
Before a precompile decodes its arguments, it charges gas for the calldata. The charge grows with the calldata length and with the size of any string arguments. A call that cannot pay this charge reverts before the precompile runs.
The JSON precompile also charges 100 gas per byte of JSON input.
The pointer view precompile also charges for the state that each lookup reads.
The P256 precompile also charges a fixed 3,450 gas per verification, the same as RIP-7212 P256VERIFY. If the call cannot pay it, the call fails with an out-of-gas error.
Because the cost depends on your calldata, do not hard-code gas limits for precompile calls. Use eth_estimateGas, as shown in the example above.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Sei Docs","description":"Official documentation for Sei — the high-performance EVM blockchain with sub-second finality, parallel execution, and full Ethereum compatibility.","colors":{"primary":"#600014","light":"#b99ba1","dark":"#34050d"},"logo":{"light":"https://mintcdn.com/seilabs/KM_kZG8zqelKUw6O/logo/light.svg?fit=max\u0026auto=format\u0026n=KM_kZG8zqelKUw6O\u0026q=85\u0026s=1f2c5a9b7231bea8694c23e8043c5ce5","dark":"https://mintcdn.com/seilabs/KM_kZG8zqelKUw6O/logo/dark.svg?fit=max\u0026auto=format\u0026n=KM_kZG8zqelKUw6O\u0026q=85\u0026s=2104f0f447a64c696dda722d11262d40","href":"/"},"favicon":{"light":"https://mintcdn.com/seilabs/KM_kZG8zqelKUw6O/favicon.svg?fit=max\u0026auto=format\u0026n=KM_kZG8zqelKUw6O\u0026q=85\u0026s=e7ccdf171c842892541c4ecb96adc119","dark":"https://mintcdn.com/seilabs/KM_kZG8zqelKUw6O/favicon.svg?fit=max\u0026auto=format\u0026n=KM_kZG8zqelKUw6O\u0026q=85\u0026s=e7ccdf171c842892541c4ecb96adc119"},"api":{"playground":{"display":"interactive"}},"appearance":{"default":"dark"},"background":{"color":{"light":"#f5f5f7","dark":"#000000"}},"navbar":{"links":[{"href":"https://github.com/sei-protocol","label":"GitHub"}]},"footer":{"socials":{"x":"https://x.com/SeiNetwork","github":"https://github.com/sei-protocol","discord":"https://discord.com/invite/sei","linkedin":"https://www.linkedin.com/company/sei-foundation","telegram":"https://t.me/seinetwork","website":"https://www.sei.io"},"links":[{"header":"Developers","items":[{"label":"GitHub","href":"https://github.com/sei-protocol"},{"label":"Builder Toolkit","href":"https://sei-foundation.notion.site/Sei-Ecosystem-Builders-Toolkit-836deaebca204452909d0bf9365d8116"},{"label":"Builder Chat","href":"https://t.me/+KZdhZ1eE-G01NmZk"}]},{"header":"Ecosystem","items":[{"label":"Dashboard","href":"https://dashboard.sei.io"},{"label":"Ecosystem Hub","href":"https://www.sei.io/ecosystem"},{"label":"Join the Ecosystem","href":"https://sei-forms.typeform.com/join-ecosystem"},{"label":"Bridge","href":"https://dashboard.sei.io/bridge"},{"label":"Stake","href":"https://dashboard.sei.io/stake"}]},{"header":"Explorers","items":[{"label":"Seiscan","href":"https://seiscan.io"},{"label":"Seistream","href":"https://seistream.app"}]},{"header":"Community","items":[{"label":"X (Twitter)","href":"https://x.com/SeiNetwork"},{"label":"Discord","href":"https://discord.com/invite/sei"},{"label":"Telegram","href":"https://t.me/seinetwork"},{"label":"Blog","href":"https://blog.sei.io"},{"label":"Brand Kit","href":"/learn/general-brand-kit"}]}]},"search":{"prompt":"Search the Sei docs..."},"seo":{"metatags":{"og:site_name":"Sei Docs","twitter:site":"@SeiNetwork","twitter:creator":"@SeiNetwork","twitter:card":"summary_large_image"},"indexing":"navigable"},"fonts":{"family":"Lateral Variable","source":"https://dashboard.sei.io/fonts/Lateral-StandardRegular.woff2","format":"woff2"},"icons":{"library":"fontawesome"},"styling":{"eyebrows":"breadcrumbs","codeblocks":"dark","latex":true},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","grok","aistudio","mcp","add-mcp","cursor","vscode"],"display":"header"},"thumbnails":{"appearance":"dark","background":"https://mintcdn.com/seilabs/uQW6y0POxDwVedX9/assets/og-template.png?fit=max\u0026auto=format\u0026n=uQW6y0POxDwVedX9\u0026q=85\u0026s=2ff5e66e77f71d754b59f7477451548e"},"interaction":{"drilldown":false},"navigation":{"global":{"anchors":[]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"seilabs","hasAudioNarration":false,"actualSubdomain":"seilabs","customDomains":["docs.sei.io"],"gitSource":{"type":"github","owner":"sei-protocol","repo":"sei-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae8359b26d449f6e4d76447","collectionId":"2fd60cbe-a18c-4179-b95c-1eefc1ee07a8","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae8359b26d449f6e4d76447"},"feedback":{"thumbs":false,"edits":true,"issues":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae8359b26d449f6e4d76447","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"EVM","count":79},{"language":"default","tag":"Smart Contracts","count":31},{"language":"default","tag":"Learn","count":28},{"language":"default","tag":"Ecosystem Tutorials","count":20},{"language":"default","tag":"Cookbook","count":19},{"language":"default","tag":"AI","count":18},{"language":"default","tag":"Precompiles","count":18},{"language":"default","tag":"Nodes","count":13},{"language":"default","tag":"Essentials","count":10},{"language":"default","tag":"Node Operations","count":8}]},"assistantConfig":{"enableStarterQuestions":true,"enableContextualStarterQuestions":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@font-face{font-family:\"Lateral Variable\";src:url(https://dashboard.sei.io/fonts/Lateral-StandardLight.woff2) format(\"woff2\"),url(https://dashboard.sei.io/fonts/Lateral-StandardLight.woff) format(\"woff\");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:\"Lateral Variable\";src:url(https://dashboard.sei.io/fonts/Lateral-StandardRegular.woff2) format(\"woff2\"),url(https://dashboard.sei.io/fonts/Lateral-StandardRegular.woff) format(\"woff\");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:\"Lateral Variable\";src:url(https://dashboard.sei.io/fonts/Lateral-StandardMedium.woff2) format(\"woff2\");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:\"Lateral Variable\";src:url(https://dashboard.sei.io/fonts/Lateral-CondensedBold.woff2) format(\"woff2\"),url(https://dashboard.sei.io/fonts/Lateral-CondensedBold.woff) format(\"woff\");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:\"Lateral Condensed\";src:url(https://dashboard.sei.io/fonts/Lateral-CondensedMedium.woff2) format(\"woff2\");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:\"Lateral Condensed\";src:url(https://dashboard.sei.io/fonts/Lateral-CondensedBold.woff2) format(\"woff2\"),url(https://dashboard.sei.io/fonts/Lateral-CondensedBold.woff) format(\"woff\");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:\"Items Text\";src:url(https://dashboard.sei.io/fonts/ItemsText-Book.woff2) format(\"woff2\"),url(https://dashboard.sei.io/fonts/ItemsText-Book.woff) format(\"woff\");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:\"ABC Repro Mono\";src:url(https://dashboard.sei.io/fonts/ABCReproMono-Regular.woff2) format(\"woff2\"),url(https://dashboard.sei.io/fonts/ABCReproMono-Regular.woff) format(\"woff\");font-weight:400;font-style:normal;font-display:swap}:root{--sei-black:#000000;--sei-white:#ffffff;--sei-cream:#e6d4c3;--sei-grey-25:#f5f5f7;--sei-grey-30:#ececee;--sei-grey-50:#cccccc;--sei-grey-75:#999999;--sei-grey-100:#999999;--sei-grey-200:#666666;--sei-grey-300:#333333;--sei-grey-400:#333333;--sei-grey-600:#131313;--sei-maroon-25:#b99ba1;--sei-maroon-50:#b05c6c;--sei-maroon-100:#600014;--sei-maroon-200:#34050d;--sei-gold-25:#d6c9ac;--sei-gold-100:#966f22;--sei-gold-200:#5d4a22;--sei-live:#38df00;--sei-error:#fa0c00;--sei-diagram-ok:#1a7a00;--sei-diagram-error:#c20a00;--sei-diagram-warning:#b45309;--sei-diagram-gold:var(--sei-gold-100);--sei-font-body:\"Lateral Variable\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto,\n \"Helvetica Neue\", Arial, sans-serif;--sei-font-display:\"Lateral Condensed\", \"Lateral Variable\", -apple-system, BlinkMacSystemFont,\n \"Segoe UI\", sans-serif;--sei-font-serif:\"Items Text\", Georgia, \"Times New Roman\", serif;--sei-font-mono:\"ABC Repro Mono\", \"SF Mono\", Monaco, \"Cascadia Mono\", \"Roboto Mono\", Menlo,\n Courier, monospace;--sei-radius-sm:2px;--sei-radius-md:4px;--sei-card-bg-light:#ffffff;--sei-card-bg-dark:#000000;--sei-card-border-light:#ececee;--sei-card-border-dark:#1f1f1f;--sei-card-divider-light:#ececee;--sei-card-divider-dark:#262626;--sei-page-bg-light:#f5f5f7;--sei-page-bg-dark:#000000;--sei-page-px:24px;--sei-sidebar-w:220px;--sei-gutter:40px;--sei-toc-w:180px;--sei-layout-max:1536px}.dark{color-scheme:dark;--sei-diagram-ok:#10b981;--sei-diagram-error:#ef4444;--sei-diagram-warning:#f59e0b;--sei-diagram-gold:var(--sei-gold-25)}body,html{font-family:var(--sei-font-body);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-feature-settings:\"ss01\",\"cv11\"}.font-mono,[class*=font-mono],code,kbd,pre,samp{font-family:var(--sei-font-mono)!important}.prose h3,.prose h4,.prose h5,.prose h6,h3,h4,h5,h6{font-family:var(--sei-font-body);letter-spacing:-.015em;font-weight:700}.prose h1,.prose h2,h1,h2{font-family:var(--sei-font-display);letter-spacing:-.02em;font-weight:700}.prose h2,h2{letter-spacing:-.015em}.sei-eyebrow,[class*=eyebrow]{font-family:var(--sei-font-mono);text-transform:uppercase;font-size:10px;letter-spacing:.04em;color:var(--sei-gold-100);font-weight:400}.dark .sei-eyebrow,.dark [class*=eyebrow]{color:var(--sei-gold-25)}.card{border-radius:var(--sei-radius-sm)!important;border:1px solid var(--sei-card-border-light)!important;background:var(--sei-card-bg-light)!important;transition:background-color .15s ease,border-color .15s ease!important;position:relative;overflow:hidden}.dark .card{border-color:var(--sei-card-border-dark)!important;background:var(--sei-card-bg-dark)!important}.card:hover{border-color:rgba(96,0,20,.35)!important;background:rgba(96,0,20,.02)!important}.dark .card:hover{border-color:rgba(185,155,161,.25)!important;background:rgba(96,0,20,.08)!important}.card h2,.card h3,.card h4{letter-spacing:-.015em!important;font-weight:700!important}.card-group,.columns{gap:12px!important}.callout{border-radius:var(--sei-radius-sm)!important;border-width:1px 1px 1px 3px!important;padding:14px 18px!important;font-size:14px!important;line-height:1.55!important}.callout>div:not([data-component-part=callout-icon]){color:var(--sei-grey-600)!important}.dark .callout>div:not([data-component-part=callout-icon]){color:var(--sei-grey-25)!important}.callout[data-callout-type=info]{background:rgba(128,128,128,.06)!important;border-color:rgba(128,128,128,.18)!important;border-left-color:var(--sei-grey-200)!important}.callout[data-callout-type=info] [data-component-part=callout-icon] svg{color:var(--sei-grey-200)!important}.dark .callout[data-callout-type=info]{background:rgba(128,128,128,.09)!important;border-color:rgba(128,128,128,.2)!important;border-left-color:var(--sei-grey-75)!important}.dark .callout[data-callout-type=info] [data-component-part=callout-icon] svg{color:var(--sei-grey-75)!important}.callout[data-callout-type=note]{background:rgba(59,130,246,.05)!important;border-color:rgba(59,130,246,.16)!important;border-left-color:#2563eb!important}.callout[data-callout-type=note] [data-component-part=callout-icon] svg{color:#2563eb!important}.dark .callout[data-callout-type=note]{background:rgba(59,130,246,.08)!important;border-color:rgba(147,197,253,.16)!important;border-left-color:#93c5fd!important}.dark .callout[data-callout-type=note] [data-component-part=callout-icon] svg{color:#93c5fd!important}.callout[data-callout-type=check],.callout[data-callout-type=tip]{background:rgba(56,223,0,.05)!important;border-color:rgba(56,223,0,.2)!important;border-left-color:#1a7a00!important}.callout[data-callout-type=check] [data-component-part=callout-icon] svg,.callout[data-callout-type=tip] [data-component-part=callout-icon] svg{color:#1a7a00!important}.dark .callout[data-callout-type=check],.dark .callout[data-callout-type=tip]{background:rgba(56,223,0,.07)!important;border-color:rgba(56,223,0,.18)!important;border-left-color:var(--sei-live)!important}.dark .callout[data-callout-type=check] [data-component-part=callout-icon] svg,.dark .callout[data-callout-type=tip] [data-component-part=callout-icon] svg{color:var(--sei-live)!important}.callout[data-callout-type=warning]{background:rgba(150,111,34,.06)!important;border-color:rgba(150,111,34,.2)!important;border-left-color:var(--sei-gold-100)!important}.callout[data-callout-type=warning] [data-component-part=callout-icon] svg{color:var(--sei-gold-100)!important}.dark .callout[data-callout-type=warning]{background:rgba(214,201,172,.06)!important;border-color:rgba(214,201,172,.15)!important;border-left-color:var(--sei-gold-25)!important}.dark #sidebar .sidebar-title,.dark .callout[data-callout-type=warning] [data-component-part=callout-icon] svg{color:var(--sei-gold-25)!important}.callout[data-callout-type=danger]{background:rgba(96,0,20,.05)!important;border-color:rgba(96,0,20,.18)!important;border-left-color:var(--sei-maroon-100)!important}.callout[data-callout-type=danger] [data-component-part=callout-icon] svg{color:var(--sei-maroon-100)!important}.dark .callout[data-callout-type=danger]{background:rgba(96,0,20,.12)!important;border-color:rgba(185,155,161,.18)!important;border-left-color:var(--sei-maroon-25)!important}.dark .callout[data-callout-type=danger] [data-component-part=callout-icon] svg{color:var(--sei-maroon-25)!important}.prose table,article table,table{border-radius:var(--sei-radius-sm)!important;border-collapse:collapse!important;overflow:hidden}.prose thead,article thead,table thead{background:0 0!important}.prose tbody td,.prose thead th,article tbody td,article thead th,table tbody td,table thead th{padding-top:10px!important;padding-bottom:10px!important;border-bottom:1px solid var(--sei-card-border-light)!important}.prose thead th,article thead th,table thead th{font-family:var(--sei-font-mono)!important;text-transform:uppercase!important;font-size:11px!important;letter-spacing:.04em!important;font-weight:400!important;color:var(--sei-grey-200)!important}.dark .prose thead th,.dark article thead th,.dark table thead th{color:var(--sei-grey-75)!important;border-bottom-color:var(--sei-card-border-dark)!important}.prose tbody td,article tbody td,table tbody td{font-size:14px!important}.dark .prose tbody td,.dark article tbody td,.dark table tbody td{border-bottom-color:var(--sei-card-border-dark)!important}.prose tbody tr:last-child td,article tbody tr:last-child td,table tbody tr:last-child td{border-bottom:none!important}.prose td code,.prose th code,article td code,table td code{font-family:var(--sei-font-mono)!important;font-size:.85em!important;padding:.1em .4em!important;background:rgba(96,0,20,.06)!important;border:1px solid rgba(96,0,20,.1)!important;border-radius:var(--sei-radius-sm)!important}.dark .prose td code,.dark .prose th code,.dark article td code,.dark table td code{background:rgba(185,155,161,.1)!important;border-color:rgba(185,155,161,.15)!important;color:var(--sei-cream)!important}.prose :not(pre)>code,article :not(pre)>code{font-family:var(--sei-font-mono)!important;font-size:.88em!important;padding:.12em .4em!important;background:rgba(96,0,20,.06);border:1px solid rgba(96,0,20,.1);border-radius:var(--sei-radius-sm);color:var(--sei-maroon-100)}.dark .prose :not(pre)>code,.dark article :not(pre)>code{background:rgba(185,155,161,.1);border-color:rgba(185,155,161,.15);color:var(--sei-cream)}.prose h1 code,.prose h2 code,.prose h3 code,.prose h4 code{background:0 0!important;border:0!important;padding:0!important;color:inherit!important}.prose pre,.shiki,article pre,pre[class*=shiki]{border-radius:var(--sei-radius-sm)!important;font-family:var(--sei-font-mono)!important;font-size:13px!important;line-height:1.55!important;border:1px solid var(--sei-card-border-dark)!important}.dark .prose pre,.dark .shiki,.dark article pre,.dark pre[class*=shiki]{background-color:var(--sei-grey-600)!important;border-color:var(--sei-card-border-dark)!important}.code-block,.code-block [class*=code-block-background]{border-radius:0!important}.code-block .shiki,.code-block pre{border:0!important;border-radius:0!important;background:0 0!important}.dark .code-block .shiki,.dark .code-block pre{background:0 0!important}.dark .code-block [class*=code-block-background]{background-color:var(--sei-grey-600)!important}.sei-eco-grid figure,.sei-eco-grid figure img{margin:0!important;border-radius:0!important;max-width:none!important}.sei-faucet-verify,.sei-network-tab{color:#525252!important}.sei-network-tab:hover,.sei-network-tab[data-active=true]{color:#171717!important}.dark .sei-network-tab{color:#a3a3a3!important}.dark .sei-network-tab:hover,.dark .sei-network-tab[data-active=true]{color:#fff!important}.sei-faucet-verify[data-verified=true]{color:#15803d!important}.dark .sei-faucet-verify{color:#a3a3a3!important}.dark .sei-faucet-verify[data-verified=true]{color:#4ade80!important}.prose a:not([class*=card]):not([class*=button]),article a:not([class*=card]):not([class*=button]){color:var(--sei-maroon-100);text-decoration:none;border-bottom:1px solid rgba(96,0,20,.25);transition:color .15s ease,border-color .15s ease}.prose a:not([class*=card]):not([class*=button]):hover,article a:not([class*=card]):not([class*=button]):hover{color:var(--sei-maroon-200);border-bottom-color:var(--sei-maroon-100)}.dark .prose a:not([class*=card]):not([class*=button]),.dark article a:not([class*=card]):not([class*=button]){color:var(--sei-maroon-25);border-bottom-color:rgba(185,155,161,.4)}.dark .prose a:not([class*=card]):not([class*=button]):hover,.dark article a:not([class*=card]):not([class*=button]):hover{color:var(--sei-cream);border-bottom-color:var(--sei-cream)}.prose h1 a[href^=\"#\"],.prose h2 a[href^=\"#\"],.prose h3 a[href^=\"#\"],.prose h4 a[href^=\"#\"]{border-bottom:none!important}.steps [class*=step-indicator]{background-color:var(--sei-maroon-100)!important;color:var(--sei-white)!important;border-radius:var(--sei-radius-sm)!important}.dark .steps [class*=step-indicator]{background-color:var(--sei-maroon-200)!important;color:var(--sei-cream)!important}[role=tab][aria-selected=true],[role=tab][data-state=active]{color:var(--sei-maroon-100)!important;border-color:var(--sei-maroon-100)!important}.code-group [role=tab][aria-selected=true],.code-group [role=tab][data-state=active],.codeblock-dark [role=tab][aria-selected=true],.codeblock-dark [role=tab][data-state=active],.dark [role=tab][aria-selected=true],.dark [role=tab][data-state=active]{color:var(--sei-maroon-25)!important;border-color:var(--sei-maroon-25)!important}@media (min-width:1024px){div:has(>#sidebar){max-width:var(--sei-layout-max)!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:var(--sei-page-px)!important}#sidebar{width:var(--sei-sidebar-w)!important;min-width:var(--sei-sidebar-w)!important;left:0!important;margin-left:0!important}#content-area{flex:1 1 0%!important;width:auto!important;min-width:0!important;margin-left:0!important;margin-right:0!important;padding-left:var(--sei-gutter)!important;padding-right:var(--sei-gutter)!important}#content-container>div:has(>#content-area){gap:0!important}}@media (min-width:1280px){#content-side-layout{flex:0 0 var(--sei-toc-w)!important;width:var(--sei-toc-w)!important;min-width:var(--sei-toc-w)!important;max-width:var(--sei-toc-w)!important}#table-of-contents-layout{width:100%!important;min-width:0!important;max-width:none!important;padding-left:0!important}}#footer{margin-left:0!important;width:100%!important;max-width:100%!important}#footer>div{width:100%!important;max-width:var(--sei-layout-max)!important}@media (min-width:1024px){#footer>div{padding-left:var(--sei-page-px)!important;padding-right:var(--sei-page-px)!important}}#content-area>header{border-bottom:1px solid var(--sei-card-border-light);padding-bottom:12px}.dark #content-area>header{border-bottom-color:var(--sei-card-divider-dark)}#sidebar-content [class*=bg-gradient-to-b]{display:none!important}#sidebar-content{padding-left:calc(var(--sei-page-px) - 1rem)!important;padding-top:16px!important}#sidebar-content,#sidebar-content [data-component-part=scroll-area-viewport]{padding-right:8px!important}#sidebar,#sidebar-content{font-size:12px;letter-spacing:-.005em;line-height:1.25}#sidebar a,#sidebar button{padding-right:4px!important;border-radius:var(--sei-radius-sm)!important;min-height:0!important;line-height:1.3!important;transition:background-color .12s ease,color .12s ease}#sidebar button[aria-expanded]{padding-top:4px!important;padding-bottom:4px!important}#sidebar .sidebar-group-header{margin-top:10px!important;margin-bottom:4px!important}#sidebar .sidebar-title{font-family:var(--sei-font-mono)!important;text-transform:uppercase!important;font-size:10px!important;letter-spacing:.08em!important;color:var(--sei-gold-100)!important;font-weight:400!important;line-height:1.2!important}#sidebar a[aria-current=page]{background-color:rgba(96,0,20,.08)!important;color:var(--sei-maroon-100)!important;font-weight:500!important;border-left:2px solid var(--sei-maroon-100)!important}.dark #sidebar a[aria-current=page]{background-color:rgba(185,155,161,.08)!important;color:var(--sei-maroon-25)!important;border-left-color:var(--sei-maroon-25)!important}#navbar{border-bottom:1px solid rgba(0,0,0,.08)}.dark #navbar{border-bottom-color:var(--sei-grey-300)}@media (min-width:1024px){#navbar>div:not(#navbar-transition){max-width:var(--sei-layout-max)!important;margin-left:auto!important;margin-right:auto!important}#navbar div:has(>.nav-tabs),#navbar div:has(>div>div>#search-bar-entry){margin-left:0!important;margin-right:0!important;padding-left:var(--sei-page-px)!important;padding-right:var(--sei-page-px)!important}}#navbar a,.toc-item a{font-size:13px;letter-spacing:-.005em}#navbar a[class*=button-primary],#navbar button[class*=primary]{background-color:var(--sei-maroon-100)!important;color:var(--sei-white)!important;border:1px solid var(--sei-maroon-100)!important;border-radius:var(--sei-radius-sm)!important;font-weight:500;transition:background-color .15s ease}#navbar a[class*=button-primary]:hover,#navbar button[class*=primary]:hover{background-color:var(--sei-maroon-200)!important;border-color:var(--sei-maroon-200)!important}.dark #navbar a[class*=button-primary],.dark #navbar button[class*=primary]{color:var(--sei-cream)!important}.toc-item a{font-size:12.5px!important;color:var(--sei-grey-200);transition:color .12s ease}.dark .toc-item a{color:var(--sei-grey-75)}.toc-item a:hover{color:var(--sei-maroon-100)}.dark .toc-item a:hover{color:var(--sei-maroon-25)}.toc-item a[aria-current]{color:var(--sei-maroon-100)!important;border-left:2px solid var(--sei-maroon-100)}.dark .toc-item a[aria-current]{color:var(--sei-maroon-25)!important;border-left-color:var(--sei-maroon-25)}[class*=search] input,input[type=search]{font-family:var(--sei-font-body)!important;border-radius:var(--sei-radius-sm)!important;border:1px solid rgba(0,0,0,.12)!important;background-color:var(--sei-grey-25)!important}.dark [class*=search] input,.dark input[type=search]{background-color:var(--sei-grey-600)!important;border-color:var(--sei-grey-300)!important;color:var(--sei-white)!important}[class*=search] input:focus,input[type=search]:focus{outline:2px solid var(--sei-maroon-100);outline-offset:-1px;border-color:transparent!important}.dark [class*=search] input:focus,.dark input[type=search]:focus{outline-color:var(--sei-maroon-25)}[class*=highlight],[class*=search] mark,mark{background-color:rgba(96,0,20,.2)!important;color:inherit!important;padding:.1em .2em;border-radius:var(--sei-radius-sm)}.dark mark{background-color:rgba(185,155,161,.35)!important}.prose blockquote:not([class*=callout]),article blockquote:not([class*=callout]){border-left:3px solid var(--sei-maroon-100);background:rgba(96,0,20,.04);padding:14px 18px;border-radius:var(--sei-radius-sm);font-style:normal;color:var(--sei-grey-200)}.dark .prose blockquote:not([class*=callout]),.dark article blockquote:not([class*=callout]){border-left-color:var(--sei-maroon-25);background:rgba(96,0,20,.1);color:var(--sei-grey-75)}.prose hr,article hr,hr{border:0;border-top:1px solid var(--sei-card-border-light);margin:2.5rem 0}.dark .prose hr,.dark article hr,.dark hr{border-top-color:var(--sei-card-border-dark)}[class*=accordion],details{border:1px solid var(--sei-card-border-light)!important;background:0 0!important}.dark [class*=accordion],.dark details{border-color:var(--sei-card-border-dark)!important}[class*=accordion] button[aria-expanded],[class*=accordion] summary,summary{padding:12px 16px!important;font-weight:500!important;letter-spacing:-.01em!important;cursor:pointer}[class*=accordion] button[aria-expanded]:hover,summary:hover{background:rgba(96,0,20,.03)!important}.dark [class*=accordion] button[aria-expanded]:hover,.dark summary:hover{background:rgba(185,155,161,.05)!important}.frame,[class*=Frame],[class*=accordion],details,figure{border-radius:var(--sei-radius-sm)!important}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:rgba(0,0,0,.15);border-radius:3px}.dark ::-webkit-scrollbar-thumb{background:rgba(255,255,255,.12)}::-webkit-scrollbar-thumb:hover{background:rgba(96,0,20,.4)}.dark ::-webkit-scrollbar-thumb:hover{background:rgba(185,155,161,.3)}.chat-assistant-floating-input{display:none!important}"}],"page":{"pagePath":"evm/evm-parity/gas-and-fees","slug":"/evm/evm-parity/gas-and-fees","pageMetadata":{"title":"Gas and Fees","description":"Sei gas price floor, EIP-1559 fee model differences, and SSTORE cost","href":"/evm/evm-parity/gas-and-fees"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Sei gas price floor, EIP-1559 fee model differences, and SSTORE cost\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`gas-and-fees`,children:`Gas and fees`}),`\n`,_jsx(_components.p,{children:`Sei supports both legacy and EIP-1559 transactions. However, the fee model differs from Ethereum in three ways that affect how you estimate and set gas.`}),`\n`,_jsx(Heading,{level:`2`,id:`legacy-gas-price-floor`,children:`Legacy gas price floor`}),`\n`,_jsx(_components.p,{children:`Legacy transactions (type 0) on Sei must meet a minimum gas price set by on-chain governance. Governance proposals can change this floor, so do not hard-code a specific value.`}),`\n`,_jsxs(_components.p,{children:[`To read the current minimum, use `,_jsx(_components.code,{children:`eth_gasPrice`}),`:`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`viem`,numberOfLines:`5`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`createPublicClient`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`http`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 'viem'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`sei`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 'viem/chains'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` client`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`createPublicClient`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`chain:`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` sei`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`transport:`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` http`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`() });`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` gasPrice`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`getGasPrice`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`ethers`,numberOfLines:`5`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`ethers`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 'ethers'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` provider`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`new`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` ethers`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`JsonRpcProvider`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'https://evm-rpc.sei-apis.com'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` feeData`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` provider`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`getFeeData`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` gasPrice`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`feeData`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`gasPrice`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`eip-1559-fee-model`,children:`EIP-1559 fee model`}),`\n`,_jsx(_components.p,{children:`Sei supports EIP-1559 transactions (type 2), but it does not burn the base fee. All fees go to validators. On Ethereum, part of the fee is burned.`}),`\n`,_jsxs(_components.p,{children:[`This does not affect how you construct or send transactions. `,_jsx(_components.code,{children:`maxFeePerGas`}),` and `,_jsx(_components.code,{children:`maxPriorityFeePerGas`}),` work as expected. It matters only if your application models token supply or shows fee-burn information to users.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`viem`,numberOfLines:`2`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` fees`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`estimateFeesPerGas`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`// fees.maxFeePerGas and fees.maxPriorityFeePerGas are usable as-is`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`ethers`,numberOfLines:`2`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` feeData`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` provider`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`getFeeData`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`// feeData.maxFeePerGas and feeData.maxPriorityFeePerGas are usable as-is`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`effective-gas-price-on-receipts`,children:`Effective gas price on receipts`}),`\n`,_jsxs(_components.p,{children:[`For dynamic-fee (type 2) transactions, the `,_jsx(_components.code,{children:`effectiveGasPrice`}),` field of the transaction receipt reports the `,_jsx(_components.strong,{children:`actual price charged`}),`, not the fee cap. That price is `,_jsx(_components.code,{children:`min(baseFee + maxPriorityFeePerGas, maxFeePerGas)`}),`. This matches standard EIP-1559 semantics. Clients such as ethers and Hardhat therefore see the same `,_jsx(_components.code,{children:`effectiveGasPrice`}),` behavior that they expect from Ethereum.`]}),`\n`,_jsxs(_components.p,{children:[`In practice, when your priority tip plus the base fee stays below `,_jsx(_components.code,{children:`maxFeePerGas`}),`, the receipt reports `,_jsx(_components.code,{children:`baseFee + maxPriorityFeePerGas`}),`, not `,_jsx(_components.code,{children:`maxFeePerGas`}),`. To compute what a transaction paid, use the receipt’s `,_jsx(_components.code,{children:`effectiveGasPrice`}),`, not `,_jsx(_components.code,{children:`maxFeePerGas`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`sstore-cost`,children:`SSTORE cost`}),`\n`,_jsxs(_components.p,{children:[`On Sei, governance can adjust the gas cost of `,_jsx(_components.code,{children:`SSTORE`}),` (a write to contract storage). The current cost is `,_jsx(_components.strong,{children:`72,000 gas`}),` on both Sei Mainnet and Sei Testnet. For details, see `,_jsx(_components.a,{href:`/evm/differences-with-ethereum#sstore-gas-cost`,children:`Differences with Ethereum`}),`. Treat this number as the current value, not a constant. Do not hard-code storage write estimates in your application.`]}),`\n`,_jsxs(_components.p,{children:[`Always use `,_jsx(_components.code,{children:`eth_estimateGas`}),` for any transaction that writes to storage:`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`viem`,numberOfLines:`8`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` gas`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`estimateGas`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` account`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` to:`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` contractAddress`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` data:`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` encodedCalldata`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`// Add a buffer for governance changes during high-activity periods`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` gasWithBuffer`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = (`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`gas`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` * `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`120`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`n`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`) / `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`100`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`n`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`; `}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`// 20% buffer`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`ethers`,numberOfLines:`5`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` gas`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` provider`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`estimateGas`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` from:`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` signer`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`address`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` to:`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` contractAddress`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` data:`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` encodedCalldata`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})})]}),`\n`,_jsxs(Warning,{children:[`Estimate the absolute storage-write cost with a live `,_jsx(_components.code,{children:`eth_estimateGas`}),` call against a Sei RPC. A Foundry `,_jsx(_components.code,{children:`forge test --gas-report --fork-url \u003csei rpc>`}),` report forks the chain `,_jsx(_components.em,{children:`state`}),`, but it runs the standard EVM gas schedule of revm. It therefore shows `,_jsx(_components.code,{children:`SSTORE`}),` at the Ethereum cost (approximately 22,100) instead of the Sei cost (approximately 72,000). Use the report for relative profiling of your own logic.`]}),`\n`,_jsx(Heading,{level:`2`,id:`gas-for-precompile-calls`,children:`Gas for precompile calls`}),`\n`,_jsx(_components.p,{children:`Sei precompiles charge gas based on the work that each call does:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Before a precompile decodes its arguments, it charges gas for the calldata. The charge grows with the calldata length and with the size of any `,_jsx(_components.code,{children:`string`}),` arguments. A call that cannot pay this charge reverts before the precompile runs.`]}),`\n`,_jsx(_components.li,{children:`The JSON precompile also charges 100 gas per byte of JSON input.`}),`\n`,_jsx(_components.li,{children:`The pointer view precompile also charges for the state that each lookup reads.`}),`\n`,_jsxs(_components.li,{children:[`The P256 precompile also charges a fixed 3,450 gas per verification, the same as RIP-7212 `,_jsx(_components.code,{children:`P256VERIFY`}),`. If the call cannot pay it, the call fails with an out-of-gas error.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Because the cost depends on your calldata, do not hard-code gas limits for precompile calls. Use `,_jsx(_components.code,{children:`eth_estimateGas`}),`, as shown in the example above.`]}),`\n`,_jsx(Heading,{level:`2`,id:`summary`,children:`Summary`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Behavior`}),_jsx(_components.th,{children:`Ethereum`}),_jsx(_components.th,{children:`Sei`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Legacy gas floor`}),_jsx(_components.td,{children:`Protocol minimum`}),_jsx(_components.td,{children:`Governance-set, can change`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Base fee`}),_jsx(_components.td,{children:`Burned`}),_jsx(_components.td,{children:`Paid to validators`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`SSTORE cost`}),_jsx(_components.td,{children:`Fixed by EIP`}),_jsx(_components.td,{children:`Governance-adjustable`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`estimateGas`})}),_jsx(_components.td,{children:`Always correct to use`}),_jsx(_components.td,{children:`Required. Do not hard-code storage costs.`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Gas and Fees","description":"Sei gas price floor, EIP-1559 fee model differences, and SSTORE cost","href":"/evm/evm-parity/gas-and-fees"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Gas and fees","slug":"gas-and-fees","depth":1,"children":[]},{"title":"Legacy gas price floor","slug":"legacy-gas-price-floor","depth":2,"children":[]},{"title":"EIP-1559 fee model","slug":"eip-1559-fee-model","depth":2,"children":[{"title":"Effective gas price on receipts","slug":"effective-gas-price-on-receipts","depth":3,"children":[]}]},{"title":"SSTORE cost","slug":"sstore-cost","depth":2,"children":[]},{"title":"Gas for precompile calls","slug":"gas-for-precompile-calls","depth":2,"children":[]},{"title":"Summary","slug":"summary","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"seilabs","siteName":"Sei Docs","title":"Gas and Fees - Sei Docs","contextualStarterQuestions":[{"_id":"6ad0cd112d924a17cf938f44","deploymentId":"682e200b1012ca3b8f763c7d","questionText":"How do I get the current gas price?","status":"active","generatedBy":"contextual","path":"evm/evm-parity/gas-and-fees","createdAt":"2026-10-15T12:54:41.568Z","updatedAt":"2026-10-15T12:54:41.568Z","__v":0},{"_id":"6ad0cd112d924a17cf938f45","deploymentId":"682e200b1012ca3b8f763c7d","questionText":"Does Sei burn transaction fees?","status":"active","generatedBy":"contextual","path":"evm/evm-parity/gas-and-fees","createdAt":"2026-10-15T12:54:41.568Z","updatedAt":"2026-10-15T12:54:41.568Z","__v":0},{"_id":"6ad0cd112d924a17cf938f46","deploymentId":"682e200b1012ca3b8f763c7d","questionText":"What is the effective gas price?","status":"active","generatedBy":"contextual","path":"evm/evm-parity/gas-and-fees","createdAt":"2026-10-15T12:54:41.568Z","updatedAt":"2026-10-15T12:54:41.568Z","__v":0}],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-15T12:54:36.120Z","originalFileLocation":"evm/evm-parity/gas-and-fees.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Sei gas price floor, EIP-1559 fee model differences, and SSTORE cost\">\u003cmeta data-mint-head name=\"application-name\" content=\"Sei Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/seilabs/1tferBvdraLpuX9t/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/seilabs/1tferBvdraLpuX9t/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/seilabs/1tferBvdraLpuX9t/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/seilabs/1tferBvdraLpuX9t/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/seilabs/1tferBvdraLpuX9t/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/seilabs/1tferBvdraLpuX9t/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/seilabs/1tferBvdraLpuX9t/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/seilabs/1tferBvdraLpuX9t/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/seilabs/1tferBvdraLpuX9t/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Gas and Fees - Sei Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Sei gas price floor, EIP-1559 fee model differences, and SSTORE cost\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Sei Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.sei.io/evm/evm-parity/gas-and-fees\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://seilabs.mintlify.app/_mintlify/api/og/v2?division=EVM+Compatibility\u0026amp;title=Gas+and+Fees\u0026amp;description=Sei+gas+price+floor%2C+EIP-1559+fee+model+differences%2C+and+SSTORE+cost\u0026amp;theme=3defe93b60e4f9f5b7f905ca\u0026amp;signature=93b9d4df77e9418e2bf4e78ec5c972f5d59de9ae04f77e4efa437706f937d254\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Gas and Fees - Sei Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Sei gas price floor, EIP-1559 fee model differences, and SSTORE cost\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://seilabs.mintlify.app/_mintlify/api/og/v2?division=EVM+Compatibility\u0026amp;title=Gas+and+Fees\u0026amp;description=Sei+gas+price+floor%2C+EIP-1559+fee+model+differences%2C+and+SSTORE+cost\u0026amp;theme=3defe93b60e4f9f5b7f905ca\u0026amp;signature=93b9d4df77e9418e2bf4e78ec5c972f5d59de9ae04f77e4efa437706f937d254\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/seilabs/1tferBvdraLpuX9t/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Sei Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#600014\">\u003cmeta data-mint-head name=\"twitter:creator\" content=\"@SeiNetwork\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.sei.io/evm/evm-parity/gas-and-fees\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/evm/evm-parity/gas-and-fees.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.sei.io/#organization\",\"name\":\"Sei Docs\",\"url\":\"https://docs.sei.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/seilabs/KM_kZG8zqelKUw6O/logo/light.svg?fit=max\u0026auto=format\u0026n=KM_kZG8zqelKUw6O\u0026q=85\u0026s=1f2c5a9b7231bea8694c23e8043c5ce5\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.sei.io#website\",\"name\":\"Sei Docs\",\"url\":\"https://docs.sei.io\",\"publisher\":{\"@id\":\"https://docs.sei.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.sei.io/evm/evm-parity/gas-and-fees#webpage\",\"url\":\"https://docs.sei.io/evm/evm-parity/gas-and-fees\",\"name\":\"Gas and Fees\",\"description\":\"Sei gas price floor, EIP-1559 fee model differences, and SSTORE cost\",\"dateModified\":\"2026-10-15T12:54:36.120Z\",\"isPartOf\":{\"@id\":\"https://docs.sei.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.sei.io/evm/evm-parity/gas-and-fees#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.sei.io/evm/evm-parity/gas-and-fees#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Essentials\",\"item\":\"https://docs.sei.io/evm/networks\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"EVM Compatibility\",\"item\":\"https://docs.sei.io/evm/differences-with-ethereum\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Gas and Fees\",\"item\":\"https://docs.sei.io/evm/evm-parity/gas-and-fees\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.sei.io/evm/evm-parity/gas-and-fees#article\",\"headline\":\"Gas and Fees\",\"name\":\"Gas and Fees\",\"description\":\"Sei gas price floor, EIP-1559 fee model differences, and SSTORE cost\",\"url\":\"https://docs.sei.io/evm/evm-parity/gas-and-fees\",\"mainEntityOfPage\":{\"@id\":\"https://docs.sei.io/evm/evm-parity/gas-and-fees#webpage\"},\"dateModified\":\"2026-10-15T12:54:36.120Z\",\"publisher\":{\"@id\":\"https://docs.sei.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.sei.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Sei Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Sei Docs","nav":{"global":{"anchors":[]},"tabs":[{"tab":"Learn","pages":[{"title":"Learn","href":"/learn"}]},{"tab":"EVM","groups":[{"group":"Overview","pages":[{"title":"Sei EVM - High Performance Ethereum Virtual Machine","sidebarTitle":"Home","href":"/evm"}]},{"group":"Essentials","pages":[{"title":"Sei EVM Networks","sidebarTitle":"Network Information","href":"/evm/networks"},{"group":"EVM Compatibility","pages":[{"title":"Sei EVM vs Ethereum: Key Differences","sidebarTitle":"Divergence from Ethereum","href":"/evm/differences-with-ethereum"},{"title":"EVM Compatibility","sidebarTitle":"Compatibility Matrix","href":"/evm/evm-parity/evm-compatibility"},{"title":"Finality and Block Tags","description":"How Sei instant finality affects block tag behavior and pending state","href":"/evm/evm-parity/finality"},{"title":"Gas and Fees","href":"/evm/evm-parity/gas-and-fees"},{"title":"Transaction Types","description":"Which Ethereum transaction types are supported on Sei","href":"/evm/evm-parity/transaction-types"},{"title":"WebSocket Connections","href":"/evm/evm-parity/websocket"},{"title":"Signing","href":"/evm/evm-parity/signing"}]},{"title":"Migrate Your EVM dApp to Sei","sidebarTitle":"Migrate from Other EVMs","href":"/evm/migrate-from-other-evms"},{"title":"Migrate from Solana to Sei EVM","sidebarTitle":"Migrate from Solana","href":"/evm/migrate-from-solana"}]},{"group":"seid CLI","pages":[{"title":"Installing seid CLI","href":"/evm/installing-seid-cli"},{"title":"Querying the EVM","href":"/evm/querying-the-evm"},{"title":"Transactions with seid","href":"/evm/transactions-with-seid"},{"title":"Changelog","href":"/evm/changelog"}]},{"group":"Frontend Development","pages":[{"title":"Sei Global Wallet Integration Guide","sidebarTitle":"Sei Global Wallet","href":"/evm/sei-global-wallet"},{"title":"Building a Frontend for Sei EVM: A Comprehensive Guide","sidebarTitle":"Building a Frontend","href":"/evm/building-a-frontend"},{"title":"In-App Swaps - Symphony Integration Guide","sidebarTitle":"In-App Swaps","href":"/evm/in-app-swaps"}]},{"group":"Smart Contracts","pages":[{"title":"EVM General Guide for Sei Blockchain","sidebarTitle":"EVM (General)","href":"/evm/evm-general"},{"title":"Sei EVM Development with Hardhat","sidebarTitle":"EVM with Hardhat","href":"/evm/evm-hardhat"},{"title":"Sei EVM Smart Contract Development with Foundry","sidebarTitle":"EVM with Foundry","href":"/evm/evm-foundry"},{"title":"Python Quickstart (web3.py)","sidebarTitle":"Python (web3.py)","href":"/evm/python-quickstart"},{"title":"Using the OpenZeppelin Contract Wizard with Sei EVM","sidebarTitle":"EVM Contract Wizard","href":"/evm/evm-wizard"},{"title":"Solidity Development Resources for Sei EVM","sidebarTitle":"Solidity Resources","href":"/evm/solidity-resources"},{"group":"Best Practices","pages":[{"title":"Optimizing Contracts for Parallelization","sidebarTitle":"Optimizing for Parallelization","href":"/evm/best-practices/optimizing-for-parallelization"},{"title":"Zeroing Out Stale State","href":"/evm/best-practices/zeroing-stale-state"}]},{"title":"Debugging for EVM","href":"/evm/debugging-contracts"},{"group":"Debug Tracing","pages":[{"title":"Debug Tracing Overview","sidebarTitle":"Overview","href":"/evm/tracing/index"},{"title":"JavaScript Tracers","href":"/evm/tracing/javascript-tracers"},{"title":"Troubleshooting Guide","href":"/evm/tracing/troubleshooting"}]},{"title":"Verify Contracts","href":"/evm/evm-verify-contracts"},{"group":"Precompiles","pages":[{"title":"Precompile Example Usage","sidebarTitle":"Example Usage","href":"/evm/precompiles/example-usage"},{"title":"Distribution Precompile","sidebarTitle":"Distribution","href":"/evm/precompiles/distribution"},{"title":"Governance Precompile Usage","sidebarTitle":"Governance","href":"/evm/precompiles/governance"},{"title":"JSON Precompile Usage","sidebarTitle":"JSON","href":"/evm/precompiles/json"},{"title":"Oracle Precompile (Retired)","sidebarTitle":"Oracle","href":"/evm/precompiles/oracle"},{"title":"Staking Precompile","sidebarTitle":"Staking","href":"/evm/precompiles/staking"},{"title":"P256 Precompile","sidebarTitle":"P256","href":"/evm/precompiles/p256-precompile"},{"group":"Cosmos","pages":[{"title":"Example Usage","href":"/evm/precompiles/cosmwasm-precompiles/example-usage"},{"title":"Address Precompile","sidebarTitle":"Address","href":"/evm/precompiles/cosmwasm-precompiles/addr"},{"title":"Bank Precompile","sidebarTitle":"Bank","href":"/evm/precompiles/cosmwasm-precompiles/bank"},{"title":"CosmWasm Precompile","sidebarTitle":"CosmWasm","href":"/evm/precompiles/cosmwasm-precompiles/cosmwasm"}]},{"title":"Auth Precompile","sidebarTitle":"Auth","href":"/evm/precompiles/auth"},{"title":"Authz Precompile","sidebarTitle":"Authz","href":"/evm/precompiles/authz"},{"title":"Evidence Precompile","sidebarTitle":"Evidence","href":"/evm/precompiles/evidence"},{"title":"Mint Precompile","sidebarTitle":"Mint","href":"/evm/precompiles/mint"},{"title":"Params Precompile","sidebarTitle":"Params","href":"/evm/precompiles/params"},{"title":"Slashing Precompile","sidebarTitle":"Slashing","href":"/evm/precompiles/slashing"},{"title":"Upgrade Precompile","sidebarTitle":"Upgrade","href":"/evm/precompiles/upgrade"}]}]},{"group":"sei-js Library","pages":[{"title":"@sei-js SDK","sidebarTitle":"Introduction","href":"/evm/sei-js/index"},{"title":"Scaffold Sei","href":"/evm/sei-js/create-sei"},{"title":"Templates","sidebarTitle":"Templates","href":"/evm/templates"},{"title":"@sei-js/registry","sidebarTitle":"@sei-js/registry","href":"/evm/sei-js/registry"}]},{"group":"Ecosystem Tutorials","pages":[{"group":"Indexers","pages":[{"title":"Envio","href":"/evm/indexer-providers/envio"},{"title":"Goldsky","href":"/evm/indexer-providers/goldsky"},{"title":"The Graph","href":"/evm/indexer-providers/the-graph"},{"title":"GoldRush API Integration","sidebarTitle":"Goldrush by Covalent","href":"/evm/indexer-providers/goldrush"},{"title":"Sim by Dune","href":"/evm/indexer-providers/dune-sim"},{"title":"Moralis","href":"/evm/indexer-providers/moralis"}]},{"group":"Wallet Integrations","pages":[{"title":"Social logins with Particle Connect","sidebarTitle":"Particle","href":"/evm/wallet-integrations/particle"},{"title":"Pimlico Account Abstraction Integration","sidebarTitle":"Pimlico","href":"/evm/wallet-integrations/pimlico"},{"title":"Thirdweb","sidebarTitle":"Thirdweb(4337)","href":"/evm/wallet-integrations/thirdweb"},{"title":"Thirdweb EIP-7702 Integration Guide","sidebarTitle":"Thirdweb(7702)","href":"/evm/wallet-integrations/thirdweb-7702"}]},{"group":"Bridging","pages":[{"title":"Enable Onramps, Swapping \u0026 Bridging on Any EVM Chain","sidebarTitle":"Thirdweb","href":"/evm/bridging/thirdweb"},{"title":"LayerZero V2 on SEI - Complete Integration Guide","sidebarTitle":"LayerZero","href":"/evm/bridging/layerzero"}]},{"title":"USDC on Sei","href":"/evm/usdc-on-sei"},{"title":"Dune Analytics","href":"/evm/dune"},{"title":"Nonce Lanes: Concurrent Submission from One Account","sidebarTitle":"Nonce Lanes","href":"/evm/nonce-lanes"},{"group":"Oracles","pages":[{"title":"Chainlink Data Streams","href":"/evm/oracles/chainlink"},{"title":"RedStone","sidebarTitle":"Redstone","href":"/evm/oracles/redstone"},{"title":"API3","href":"/evm/oracles/api3"},{"title":"Pyth Network","href":"/evm/oracles/pyth-network"}]},{"group":"VRF","pages":[{"title":"Pyth Network VRF Integration","sidebarTitle":"Pyth Network","href":"/evm/vrf/pyth-network-vrf"}]}]},{"group":"Reference","pages":[{"title":"Transactions","sidebarTitle":"Transaction Overview","href":"/evm/transactions"},{"title":"Sei EVM JSON-RPC API Reference","sidebarTitle":"RPC Reference","href":"/evm/reference"},{"title":"Viewing Tokens in MetaMask","sidebarTitle":"View Tokens","href":"/evm/tokens"},{"title":"Analytics Setup","href":"/evm/analytics-setup"},{"title":"Ecosystem Contracts","href":"/evm/ecosystem-contracts"}]},{"group":"Hardware Wallets","pages":[{"title":"Ledger Setup (EVM)","href":"/evm/ledger-ethers"}]}]},{"tab":"Cookbook","pages":[{"title":"Cookbook","href":"/evm/cookbook"}]},{"tab":"Nodes","pages":[{"title":"Nodes","href":"/node"}]},{"tab":"AI","pages":[{"title":"AI","href":"/ai"}]}]},"basePath":"","title":"Gas and Fees - Sei Docs","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":[],"chunks":[]}