{"version":1,"pages":[{"id":"tqgKz0pdqcFz0TMC61jN","title":"Home","pathname":"/","siteSpaceId":"sitesp_A78es","description":"The official documentation for MegaETH — the first real-time blockchain.","breadcrumbs":[{"label":"Documentation"}]},{"id":"lGGrHItzlSo7fGfW30b0","title":"Architecture","pathname":"/architecture","siteSpaceId":"sitesp_A78es","description":"MegaETH network architecture — how transactions flow from submission through execution, streaming, and L1 settlement.","breadcrumbs":[{"label":"Documentation"}]},{"id":"60Y3WuXnrzpNGSrNmnkr","title":"Mini-Blocks","pathname":"/mini-block","siteSpaceId":"sitesp_A78es","description":"MegaETH mini-blocks — what they are, how they differ from EVM blocks, and what they mean for your application.","breadcrumbs":[{"label":"Documentation"}]},{"id":"dt6H9BO2KFE8gOJFKG7I","title":"Get Started","pathname":"/user-guide/get-started","siteSpaceId":"sitesp_A78es","description":"Get started with MegaETH — connect your wallet, bridge ETH, and explore the network.","breadcrumbs":[{"label":"Documentation"},{"label":"User Guide"}]},{"id":"PBptDvMTY9hLFkiJXJCs","title":"Connect to MegaETH","pathname":"/user-guide/connect","siteSpaceId":"sitesp_A78es","description":"Connect your wallet to MegaETH — chain parameters, RPC endpoints, and block explorers for Mainnet and Testnet.","breadcrumbs":[{"label":"Documentation"},{"label":"User Guide"}]},{"id":"9FlMSH8FfNDPpwzM4eHa","title":"Get Funds on Mainnet","pathname":"/user-guide/bridge","siteSpaceId":"sitesp_A78es","description":"Bridge assets to MegaETH — supported bridges, cross-chain swaps, and fiat on-ramps.","breadcrumbs":[{"label":"Documentation"},{"label":"User Guide"}]},{"id":"leSPFKdFZ843Jug6Hj9U","title":"Force-include a transaction","pathname":"/user-guide/force-inclusion","siteSpaceId":"sitesp_A78es","description":"How to force-include a transaction on MegaETH by submitting it directly to Ethereum via Etherscan, bypassing the sequencer.","breadcrumbs":[{"label":"Documentation"},{"label":"User Guide"}]},{"id":"7H8tENzyeTjcatNLjHWW","title":"Get ETH on Testnet","pathname":"/user-guide/faucet","siteSpaceId":"sitesp_A78es","description":"MegaETH testnet faucet — request limits, eligibility, and how to get testnet ETH.","breadcrumbs":[{"label":"Documentation"},{"label":"User Guide"}]},{"id":"hy6ybDe3fChy4E5r2cz9","title":"Featured Apps","pathname":"/user-guide/apps","siteSpaceId":"sitesp_A78es","description":"Featured apps on MegaETH — DeFi, gaming, NFTs, and the Rabbithole portal.","breadcrumbs":[{"label":"Documentation"},{"label":"User Guide"}]},{"id":"X4LvZcOZYlzs0wDFNvez","title":"User FAQ","pathname":"/user-guide/faq","siteSpaceId":"sitesp_A78es","description":"Frequently asked questions for MegaETH users — wallet issues, testnet ETH, and faucet.","breadcrumbs":[{"label":"Documentation"},{"label":"User Guide"}]},{"id":"1B4XsWbSpJqPqBEwjoV8","title":"Overview","pathname":"/developer-docs/overview","siteSpaceId":"sitesp_A78es","description":"Overview of developing on MegaETH — EVM compatibility, gas estimation, debugging, and bridging.","breadcrumbs":[{"label":"Documentation"},{"label":"Developer Docs"}]},{"id":"muRqzBsalRZERvmQ7rQ7","title":"Bridge ERC-20 Tokens","pathname":"/developer-docs/bridge-erc20","siteSpaceId":"sitesp_A78es","description":"How to deploy and bridge an ERC-20 token from Ethereum to MegaETH using the OP Stack Standard Bridge.","breadcrumbs":[{"label":"Documentation"},{"label":"Developer Docs"}]},{"id":"zprVAxScTotxhh24azY9","title":"Send Transaction","pathname":"/developer-docs/overview-1","siteSpaceId":"sitesp_A78es","description":"How to submit transactions on MegaETH — deploy contracts, estimate gas, and debug failures.","breadcrumbs":[{"label":"Documentation"},{"label":"Developer Docs"}]},{"id":"38y1yavrp1r6tgby1JY3","title":"Contracts & Tokens","pathname":"/developer-docs/overview-1/contracts","siteSpaceId":"sitesp_A78es","description":"Key contract addresses and tokens on MegaETH and Ethereum Mainnet.","breadcrumbs":[{"label":"Documentation"},{"label":"Developer Docs"},{"label":"Send Transaction"}]},{"id":"9LaTkWTdLkhElQx91mfV","title":"Gas Estimation","pathname":"/developer-docs/overview-1/gas-estimation","siteSpaceId":"sitesp_A78es","description":"How to estimate gas on MegaETH — code examples, toolchain configuration, and common pitfalls.","breadcrumbs":[{"label":"Documentation"},{"label":"Developer Docs"},{"label":"Send Transaction"}]},{"id":"5k4WaXu35TBGkO9lYEd3","title":"Debugging Transactions","pathname":"/developer-docs/overview-1/debugging","siteSpaceId":"sitesp_A78es","description":"Debug failing transactions on MegaETH — trace with debug_traceTransaction, replay with mega-evme, and diagnose gas errors.","breadcrumbs":[{"label":"Documentation"},{"label":"Developer Docs"},{"label":"Send Transaction"}]},{"id":"iPbiwiBIS6aGuthCe8iu","title":"Force Inclusion — Foundry","pathname":"/developer-docs/overview-1/force-inclusion","siteSpaceId":"sitesp_A78es","description":"Force-include a transaction on MegaETH using Foundry (cast or forge) — step-by-step guide for scripted and automated submissions.","breadcrumbs":[{"label":"Documentation"},{"label":"Developer Docs"},{"label":"Send Transaction"}]},{"id":"HDdsevF7j6nQV3BJaTlp","title":"Read from MegaETH","pathname":"/developer-docs/overview-2","siteSpaceId":"sitesp_A78es","description":"How to query state and data from MegaETH — JSON-RPC methods, rate limiting, subscriptions, and real-time queries.","breadcrumbs":[{"label":"Documentation"},{"label":"Developer Docs"}]},{"id":"yIbrjWnZjuINHiuIMadM","title":"Realtime API","pathname":"/developer-docs/overview-2/realtime-api","siteSpaceId":"sitesp_A78es","description":"MegaETH Realtime API — how to use MegaETH's low-latency extensions to Ethereum JSON-RPC for real-time data access.","breadcrumbs":[{"label":"Documentation"},{"label":"Developer Docs"},{"label":"Read from MegaETH"}]},{"id":"7chTuBGuygtmPRpMUyXS","title":"RPC Reference","pathname":"/developer-docs/overview-2/rpc-reference","siteSpaceId":"sitesp_A78es","breadcrumbs":[{"label":"Documentation"},{"label":"Developer Docs"},{"label":"Read from MegaETH"}]},{"id":"Dbcgb8o9uQNMR9yoEZL9","title":"eth_subscribe","pathname":"/developer-docs/overview-2/rpc-reference/eth_subscribe","siteSpaceId":"sitesp_A78es","description":"eth_subscribe — WebSocket subscriptions for real-time logs, state changes, mini-blocks, and block headers on MegaETH.","breadcrumbs":[{"label":"Documentation"},{"label":"Developer Docs"},{"label":"Read from MegaETH"},{"label":"RPC Reference"}]},{"id":"ngDIzrITKjil77eAJvrC","title":"eth_callAfter","pathname":"/developer-docs/overview-2/rpc-reference/eth_callafter","siteSpaceId":"sitesp_A78es","description":"eth_callAfter — execute eth_call after waiting for an account's nonce to reach a target value.","breadcrumbs":[{"label":"Documentation"},{"label":"Developer Docs"},{"label":"Read from MegaETH"},{"label":"RPC Reference"}]},{"id":"aKgiRZSWTNcze2Hd7kc4","title":"eth_getLogsWithCursor","pathname":"/developer-docs/overview-2/rpc-reference/eth_getlogswithcursor","siteSpaceId":"sitesp_A78es","description":"eth_getLogsWithCursor — paginated log queries using a cursor for incremental retrieval of large datasets.","breadcrumbs":[{"label":"Documentation"},{"label":"Developer Docs"},{"label":"Read from MegaETH"},{"label":"RPC Reference"}]},{"id":"i1UpZZMDiLQ9YSH4Ad2J","title":"realtime_sendRawTransaction","pathname":"/developer-docs/overview-2/rpc-reference/realtime_sendrawtransaction","siteSpaceId":"sitesp_A78es","description":"realtime_sendRawTransaction — submit a transaction and receive the receipt in a single call without polling.","breadcrumbs":[{"label":"Documentation"},{"label":"Developer Docs"},{"label":"Read from MegaETH"},{"label":"RPC Reference"}]},{"id":"eXiMV4nlzVhz9iV5GcNX","title":"Error Codes","pathname":"/developer-docs/overview-2/rpc-reference/error-codes","siteSpaceId":"sitesp_A78es","description":"MegaETH JSON-RPC error codes — HTTP status codes, RPC error codes, explanations, and mitigations.","breadcrumbs":[{"label":"Documentation"},{"label":"Developer Docs"},{"label":"Read from MegaETH"},{"label":"RPC Reference"}]},{"id":"IEmeYDIFM1n2oKUu1enr","title":"Transaction Execution","pathname":"/developer-docs/overview-3","siteSpaceId":"sitesp_A78es","description":"How MegaEVM differs from standard Ethereum — contract size limits, gas forwarding, and precompile overrides.","breadcrumbs":[{"label":"Documentation"},{"label":"Developer Docs"}]},{"id":"5LtB1XGpSECqw0EdEkuF","title":"Gas Model","pathname":"/developer-docs/overview-3/gas-model","siteSpaceId":"sitesp_A78es","description":"MegaETH dual gas model — compute gas, storage gas, bucket multiplier, resource limits, and developer tips.","breadcrumbs":[{"label":"Documentation"},{"label":"Developer Docs"},{"label":"Transaction Execution"}]},{"id":"sfrP8yTISeoj8wAAwOio","title":"Resource Limits","pathname":"/developer-docs/overview-3/resource-limits","siteSpaceId":"sitesp_A78es","description":"MegaETH resource limits — 7 per-transaction and per-block ceilings on gas, compute, data, KV updates, state growth, transaction size, and DA size.","breadcrumbs":[{"label":"Documentation"},{"label":"Developer Docs"},{"label":"Transaction Execution"}]},{"id":"9MeBnCZkmzuOSnePIWMu","title":"Volatile Data Access","pathname":"/developer-docs/overview-3/volatile-data","siteSpaceId":"sitesp_A78es","description":"Volatile data access on MegaETH — what triggers the 20M compute gas cap, best practices for reading block data and oracle state, and common pitfalls.","breadcrumbs":[{"label":"Documentation"},{"label":"Developer Docs"},{"label":"Transaction Execution"}]},{"id":"d9zoyDLpGQSwIXme7eUU","title":"System Contracts","pathname":"/developer-docs/overview-3/system-contracts","siteSpaceId":"sitesp_A78es","description":"MegaETH system contracts — addresses, interfaces, preconditions, and usage examples.","breadcrumbs":[{"label":"Documentation"},{"label":"Developer Docs"},{"label":"Transaction Execution"}]},{"id":"j08fucLvDWC8mawCGEyB","title":"Build with AI","pathname":"/developer-docs/build-with-ai","siteSpaceId":"sitesp_A78es","description":"AI coding skills and tools for building on MegaETH with Claude Code, Cursor, Windsurf, and other AI assistants.","breadcrumbs":[{"label":"Documentation"},{"label":"Developer Docs"}]},{"id":"SSR2qvHrm3q8qxpnGK7f","title":"Tooling & Infrastructure","pathname":"/developer-docs/tooling","siteSpaceId":"sitesp_A78es","description":"Developer tooling and infrastructure partners on MegaETH — RPC providers, block explorers, oracles, indexers, bridges, wallets, account abstraction, developer tooling, and more.","breadcrumbs":[{"label":"Documentation"},{"label":"Developer Docs"}]},{"id":"mGZEa8PfQHU5ixGyg2wd","title":"Verifiable Randomness (VRF)","pathname":"/developer-docs/vrf","siteSpaceId":"sitesp_A78es","description":"Verifiable onchain randomness on MegaETH via DrandOracleQuicknet — a preinstalled, stateless BLS12-381 verifier for the public drand quicknet beacon.","breadcrumbs":[{"label":"Documentation"},{"label":"Developer Docs"}]},{"id":"56NsgWIGO45Dx4AoaPB9","title":"Onchain Payments","pathname":"/developer-docs/payments","siteSpaceId":"sitesp_A78es","description":"How to accept onchain payments in a MegaETH dapp — the HTTP 402 \"pay then retry\" pattern, the x402 and MPP protocol families, and five concrete payment flows (one-time and pay-as-you-go, user-paid and","breadcrumbs":[{"label":"Documentation"},{"label":"Developer Docs"}]},{"id":"wP6Ox3iE29gxS44mH2Cs","title":"Developer FAQ","pathname":"/developer-docs/faq","siteSpaceId":"sitesp_A78es","description":"Frequently asked questions for MegaETH developers — EVM compatibility, gas, transactions, mini-blocks, RPC, and tooling.","breadcrumbs":[{"label":"Documentation"},{"label":"Developer Docs"}]},{"id":"R83i84MMzeZtLvlyBcAm","title":"Stateless Validation","pathname":"/node-operation/stateless-validation","siteSpaceId":"sitesp_A78es","description":"Run a stateless validator to independently verify every MegaETH block on commodity hardware using SALT witnesses.","breadcrumbs":[{"label":"Documentation"},{"label":"Node Operation"}]},{"id":"SfRq6dM26dzFfDG2YCQw","title":"Validator Architecture","pathname":"/node-operation/stateless-validation/validator-architecture","siteSpaceId":"sitesp_A78es","description":"Architecture and implementation guide for building a MegaETH-compatible stateless validator.","breadcrumbs":[{"label":"Documentation"},{"label":"Node Operation"},{"label":"Stateless Validation"}]},{"id":"hdT4kb2vC2Y2zzQQLUku","title":"Get Block Witness","pathname":"/node-operation/stateless-validation/witness","siteSpaceId":"sitesp_A78es","description":"mega_getBlockWitness — fetch the SALT + MPT witness needed to stateless-verify a MegaETH block.","breadcrumbs":[{"label":"Documentation"},{"label":"Node Operation"},{"label":"Stateless Validation"}]},{"id":"76Qg4HmTQAXyRLqHOEKP","title":"Debug Trace Server","pathname":"/node-operation/debug-trace-server","siteSpaceId":"sitesp_A78es","description":"Self-host debug_* and trace_* RPC methods for MegaETH by replaying blocks with SALT witnesses — no archive node required.","breadcrumbs":[{"label":"Documentation"},{"label":"Node Operation"}]},{"id":"RpK98Eypl4ew2eHmxmsl","title":"MegaETH Specification","pathname":"/spec","siteSpaceId":"sitesp_3DqXu","description":"MegaETH formal specification — normative behavioral definitions for EVM execution, system contracts, oracle services, and protocol upgrades.","breadcrumbs":[{"label":"Specification"}]},{"id":"yzWIzNn3eDSA1Quxci9F","title":"Hardforks and Specs","pathname":"/spec/hardfork-spec","siteSpaceId":"sitesp_3DqXu","description":"MegaETH hardfork and spec versioning — how behavioral changes are versioned, activated, and tracked across network upgrades.","breadcrumbs":[{"label":"Specification"}]},{"id":"dnKRdmkD4odPgBZKv4i1","title":"Overview","pathname":"/spec/megaevm/overview","siteSpaceId":"sitesp_3DqXu","description":"MegaEVM specification index — dual gas model, resource limits, gas detention, system contracts, and per-spec behavioral history.","breadcrumbs":[{"label":"Specification"},{"label":"MegaEVM"}]},{"id":"2mY9iijUNUY2ghfiua5r","title":"Dual Gas Model","pathname":"/spec/megaevm/dual-gas-model","siteSpaceId":"sitesp_3DqXu","description":"MegaETH dual gas model specification — compute gas, storage gas, SALT bucket multiplier, and per-operation storage gas schedule.","breadcrumbs":[{"label":"Specification"},{"label":"MegaEVM"}]},{"id":"bpff1s5jbGPvypNGrr6m","title":"Resource Limits","pathname":"/spec/megaevm/resource-limits","siteSpaceId":"sitesp_3DqXu","description":"MegaETH per-transaction and per-block resource limits — compute gas, data size, KV updates, and state growth ceilings with enforcement semantics.","breadcrumbs":[{"label":"Specification"},{"label":"MegaEVM"}]},{"id":"pTPtJb4Ft2reTh1p1tlp","title":"Resource Accounting","pathname":"/spec/megaevm/resource-accounting","siteSpaceId":"sitesp_3DqXu","description":"MegaETH resource accounting specification — counter semantics, revert behavior, and per-opcode metering for compute gas, data size, KV updates, and state growth.","breadcrumbs":[{"label":"Specification"},{"label":"MegaEVM"}]},{"id":"2wfcxlmmbQ0Z2PMuG8JU","title":"Gas Detention","pathname":"/spec/megaevm/gas-detention","siteSpaceId":"sitesp_3DqXu","description":"MegaETH gas detention specification — compute gas caps triggered by volatile data access (block environment, oracle SLOAD).","breadcrumbs":[{"label":"Specification"},{"label":"MegaEVM"}]},{"id":"6wlTMbxK2VEC4fhSqmcv","title":"Gas Forwarding","pathname":"/spec/megaevm/gas-forwarding","siteSpaceId":"sitesp_3DqXu","description":"MegaETH 98/100 gas forwarding rule — CALL, DELEGATECALL, STATICCALL, CALLCODE, and CREATE/CREATE2 forwarding semantics.","breadcrumbs":[{"label":"Specification"},{"label":"MegaEVM"}]},{"id":"MslWBVWz5NZT7yjSIdDn","title":"Contract Limits","pathname":"/spec/megaevm/contract-limits","siteSpaceId":"sitesp_3DqXu","description":"MegaETH contract size limits — 512 KB max bytecode, 536 KB max initcode, inherited from MiniRex.","breadcrumbs":[{"label":"Specification"},{"label":"MegaEVM"}]},{"id":"IlISONksuCITfT8Oxf5R","title":"Precompiles","pathname":"/spec/megaevm/precompiles","siteSpaceId":"sitesp_3DqXu","description":"MegaETH precompile gas overrides — KZG Point Evaluation and ModExp cost schedules diverging from standard Ethereum.","breadcrumbs":[{"label":"Specification"},{"label":"MegaEVM"}]},{"id":"fnnARFZZT5JB8zGOweNp","title":"SELFDESTRUCT","pathname":"/spec/megaevm/selfdestruct","siteSpaceId":"sitesp_3DqXu","description":"SELFDESTRUCT opcode on MegaETH — EIP-6780 semantics, same-transaction destruction, beneficiary account metering, and spec history from MiniRex to Rex5.","breadcrumbs":[{"label":"Specification"},{"label":"MegaEVM"}]},{"id":"1RcUHxdXI9vegLPKhSPR","title":"Overview","pathname":"/spec/system-contracts/overview","siteSpaceId":"sitesp_3DqXu","description":"MegaETH system contract registry — addresses, whitelisting rules, and protocol-level execution constraints.","breadcrumbs":[{"label":"Specification"},{"label":"System Contracts"}]},{"id":"qTBHlC9xUIWDcAtVMNUc","title":"Oracle","pathname":"/spec/system-contracts/oracle","siteSpaceId":"sitesp_3DqXu","description":"MegaETH Oracle system contract — address, storage layout, hint forwarding, and gas detention trigger.","breadcrumbs":[{"label":"Specification"},{"label":"System Contracts"}]},{"id":"RMUptsyfQnaZjtzzfwF4","title":"High-Precision Timestamp","pathname":"/spec/system-contracts/high-precision-timestamp","siteSpaceId":"sitesp_3DqXu","description":"High-Precision Timestamp system contract — sub-second timestamp oracle service backed by Oracle storage.","breadcrumbs":[{"label":"Specification"},{"label":"System Contracts"}]},{"id":"IZBA9EIv8wzAM2JSmQ1Z","title":"Keyless Deployment","pathname":"/spec/system-contracts/keyless-deploy","siteSpaceId":"sitesp_3DqXu","description":"KeylessDeploy system contract semantics for deterministic deployment via pre-EIP-155 transactions.","breadcrumbs":[{"label":"Specification"},{"label":"System Contracts"}]},{"id":"4v0Ja3z59oMtrq1mryTt","title":"MegaAccessControl","pathname":"/spec/system-contracts/mega-access-control","siteSpaceId":"sitesp_3DqXu","description":"MegaAccessControl system contract — proactive volatile data access restriction for call subtrees.","breadcrumbs":[{"label":"Specification"},{"label":"System Contracts"}]},{"id":"U3N6ZhpScVORYGs9qpTc","title":"MegaLimitControl","pathname":"/spec/system-contracts/mega-limit-control","siteSpaceId":"sitesp_3DqXu","description":"MegaLimitControl system contract — runtime query for effective remaining compute gas under detention and call-frame limits.","breadcrumbs":[{"label":"Specification"},{"label":"System Contracts"}]},{"id":"BkyxFyBLptEjs7ENhD9C","title":"SequencerRegistry","pathname":"/spec/system-contracts/sequencer-registry","siteSpaceId":"sitesp_3DqXu","description":"SequencerRegistry system contract — dual-role registry for system address and sequencer, with change scheduling and history.","breadcrumbs":[{"label":"Specification"},{"label":"System Contracts"}]},{"id":"L0wwAbqCJ2hzKl8Xe155","title":"Call Interception","pathname":"/spec/system-contracts/interception","siteSpaceId":"sitesp_3DqXu","description":"Generic call-interception mechanism for MegaETH system contracts — frame-init hook, selector matching, intercepted vs. fall-through semantics, gas treatment, and call-scheme rules.","breadcrumbs":[{"label":"Specification"},{"label":"System Contracts"}]},{"id":"i32POiUWN46ti0suWJtf","title":"Mega System Transactions","pathname":"/spec/system-contracts/system-tx","siteSpaceId":"sitesp_3DqXu","description":"Mega system transactions — sender/recipient identification rules, whitelisted contracts, and execution bypass semantics.","breadcrumbs":[{"label":"Specification"},{"label":"System Contracts"}]},{"id":"LFHuGFQcjAYl6M7q8F7J","title":"Overview","pathname":"/spec/network-upgrades/overview","siteSpaceId":"sitesp_3DqXu","description":"MegaETH network upgrade history — hardfork timeline from MiniRex through Rex6 with activation dates and behavioral deltas.","breadcrumbs":[{"label":"Specification"},{"label":"Network Upgrades"}]},{"id":"ktVS32k5qyTyjJRIXAUV","title":"MiniRex","pathname":"/spec/network-upgrades/minirex","siteSpaceId":"sitesp_3DqXu","description":"MiniRex network upgrade — the foundational MegaEVM spec built on Optimism Isthmus (Ethereum Prague).","breadcrumbs":[{"label":"Specification"},{"label":"Network Upgrades"}]},{"id":"IcsDlsQ45R1zBk1Indhi","title":"Rex","pathname":"/spec/network-upgrades/rex","siteSpaceId":"sitesp_3DqXu","description":"Rex network upgrade — revised storage gas economics, 39K intrinsic storage gas, and state growth tracking.","breadcrumbs":[{"label":"Specification"},{"label":"Network Upgrades"}]},{"id":"mtDHUctrTJqSckGzJGKz","title":"Rex1","pathname":"/spec/network-upgrades/rex1","siteSpaceId":"sitesp_3DqXu","description":"Rex1 network upgrade — patch release fixing cross-transaction gas detention state leak.","breadcrumbs":[{"label":"Specification"},{"label":"Network Upgrades"}]},{"id":"Tw5AwUXQgX4cghhQLs32","title":"Rex2","pathname":"/spec/network-upgrades/rex2","siteSpaceId":"sitesp_3DqXu","description":"Rex2 network upgrade — SELFDESTRUCT restored with EIP-6780, KeylessDeploy system contract added.","breadcrumbs":[{"label":"Specification"},{"label":"Network Upgrades"}]},{"id":"nNhgm7b4bRxZ8fipEDfw","title":"Rex3","pathname":"/spec/network-upgrades/rex3","siteSpaceId":"sitesp_3DqXu","description":"Rex3 network upgrade — oracle detention revised to SLOAD-based triggering with 20M cap.","breadcrumbs":[{"label":"Specification"},{"label":"Network Upgrades"}]},{"id":"khO8chr2Xr0gPbKOFfw5","title":"Rex4","pathname":"/spec/network-upgrades/rex4","siteSpaceId":"sitesp_3DqXu","description":"Rex4 network upgrade — per-call-frame resource budgets, relative gas detention, storage gas stipend, and new system contracts.","breadcrumbs":[{"label":"Specification"},{"label":"Network Upgrades"}]},{"id":"IfOkmcwJ1zZhrMnLdcYC","title":"Rex5","pathname":"/spec/network-upgrades/rex5","siteSpaceId":"sitesp_3DqXu","description":"Rex5 network upgrade — SequencerRegistry with dual roles, dynamic system address, Oracle v2.0.0, KeylessDeploy trailing-bytes rejection and sandbox resource accounting, caller-account update deduplica","breadcrumbs":[{"label":"Specification"},{"label":"Network Upgrades"}]},{"id":"W1wBwoBwNNDUW9f95uXE","title":"Rex6","pathname":"/spec/network-upgrades/rex6","siteSpaceId":"sitesp_3DqXu","description":"Rex6 network upgrade — unified per-opcode gas metering order (storage gas charged before the opcode body, compute gas recorded exactly once after it completes), EIP-7702 authorization accounting conso","breadcrumbs":[{"label":"Specification"},{"label":"Network Upgrades"}]},{"id":"WBFT0tJW7nAjo1X6ZSnk","title":"Glossary","pathname":"/spec/reference/glossary","siteSpaceId":"sitesp_3DqXu","description":"MegaETH glossary — definitions of protocol terms including EVM blocks, mini-blocks, compute gas, storage gas, and gas detention.","breadcrumbs":[{"label":"Specification"},{"label":"Reference"}]},{"id":"zkhni6fXfurM4b1xyhT6","title":"mega-evme","pathname":"/mega-evme","siteSpaceId":"sitesp_pI3Vl","description":"Execute and debug EVM bytecode locally with MegaETH's gas model, tracing, and state forking.","breadcrumbs":[{"label":"mega-evme"}]},{"id":"ALwbqYXyl1afHZxYnJPl","title":"Cookbook","pathname":"/mega-evme/cookbook","siteSpaceId":"sitesp_pI3Vl","description":"Runnable recipes for debugging, gas analysis, state diffing, and more.","breadcrumbs":[{"label":"mega-evme"}]},{"id":"h7BXDtizlRshtcdsz05A","title":"run","pathname":"/mega-evme/commands/run","siteSpaceId":"sitesp_pI3Vl","description":"Run raw EVM bytecode in call or create mode with full environment control.","breadcrumbs":[{"label":"mega-evme"},{"label":"Commands"}]},{"id":"kKqDgfgMKf5c4mnfFolB","title":"tx","pathname":"/mega-evme/commands/tx","siteSpaceId":"sitesp_pI3Vl","description":"Execute a transaction against local or fork-from-RPC state.","breadcrumbs":[{"label":"mega-evme"},{"label":"Commands"}]},{"id":"4Q3eZBnnYysHMQUlK7E2","title":"replay","pathname":"/mega-evme/commands/replay","siteSpaceId":"sitesp_pI3Vl","description":"Fetch and re-execute an on-chain transaction with optional overrides and tracing.","breadcrumbs":[{"label":"mega-evme"},{"label":"Commands"}]},{"id":"GrqiHdiXANColf1opxKs","title":"Chain and Spec","pathname":"/mega-evme/configuration/chain-and-spec","siteSpaceId":"sitesp_pI3Vl","description":"Select which MegaETH spec version and chain ID to use.","breadcrumbs":[{"label":"mega-evme"},{"label":"Configuration"}]},{"id":"AK8Wy3L2cgPaBupt8U15","title":"Block Environment","pathname":"/mega-evme/configuration/block-environment","siteSpaceId":"sitesp_pI3Vl","description":"Configure block number, timestamp, coinbase, base fee, and other block-level fields.","breadcrumbs":[{"label":"mega-evme"},{"label":"Configuration"}]},{"id":"yIOti7EOc1Eb7uMxPA5O","title":"State Management","pathname":"/mega-evme/configuration/state-management","siteSpaceId":"sitesp_pI3Vl","description":"Load prestate, override balances and storage, fork from RPC, and dump post-execution state.","breadcrumbs":[{"label":"mega-evme"},{"label":"Configuration"}]},{"id":"25u9RFfaozMXvlDHS6lF","title":"SALT Buckets","pathname":"/mega-evme/configuration/salt-buckets","siteSpaceId":"sitesp_pI3Vl","description":"Control SALT bucket capacities to test dynamic storage gas pricing.","breadcrumbs":[{"label":"mega-evme"},{"label":"Configuration"}]},{"id":"MFCzolsJwc19nSK0p9fl","title":"Overview","pathname":"/mega-evme/tracing/overview","siteSpaceId":"sitesp_pI3Vl","description":"Record step-by-step EVM execution with opcode, call, and pre-state tracers.","breadcrumbs":[{"label":"mega-evme"},{"label":"Tracing"}]},{"id":"yjnbF0FRcUm2JLrP9PXT","title":"Opcode Tracer","pathname":"/mega-evme/tracing/opcode-tracer","siteSpaceId":"sitesp_pI3Vl","description":"Log every instruction with gas, stack, memory, and storage at each step.","breadcrumbs":[{"label":"mega-evme"},{"label":"Tracing"}]},{"id":"pVJzm7TMATFgVtKaSaDf","title":"Call Tracer","pathname":"/mega-evme/tracing/call-tracer","siteSpaceId":"sitesp_pI3Vl","description":"Capture the nested CALL/CREATE tree with gas usage, return data, and log events.","breadcrumbs":[{"label":"mega-evme"},{"label":"Tracing"}]},{"id":"tD8v1MYJ5OeiO2GoIxpl","title":"Pre-State Tracer","pathname":"/mega-evme/tracing/prestate-tracer","siteSpaceId":"sitesp_pI3Vl","description":"Snapshot accessed account state before execution, with optional before/after diff mode.","breadcrumbs":[{"label":"mega-evme"},{"label":"Tracing"}]},{"id":"iw95Iz4lkVdJ5uE3OpiO","title":"Transaction Types","pathname":"/mega-evme/reference/transaction-types","siteSpaceId":"sitesp_pI3Vl","description":"Legacy, EIP-2930, EIP-1559, EIP-7702, and Deposit transaction options.","breadcrumbs":[{"label":"mega-evme"},{"label":"Reference"}]},{"id":"3WlcKbbnvl2aJvgFUpwP","title":"MOSS Wallet SDK","pathname":"/moss-docs","siteSpaceId":"sitesp_d77pR","description":"Embedded wallet SDK for MegaETH — TypeScript core, React bindings, and server-side verification.","breadcrumbs":[{"label":"MOSS Docs"}]},{"id":"z0eQPDT0wCSJ0lE4gop0","title":"Overview","pathname":"/moss-docs/wallet/index","siteSpaceId":"sitesp_d77pR","description":"MOSS is MegaETH's embedded wallet SDK — connect, sign, transact, and delegate through a hosted iframe model.","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Wallet"}]},{"id":"SbYntA8anIC4xetNdyXP","title":"Wallet Quickstart","pathname":"/moss-docs/wallet/quickstart","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Wallet"}]},{"id":"Bq56Qg8Tl9QfciqRXlDh","title":"Integration Checklist","pathname":"/moss-docs/wallet/integration-checklist","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Wallet"}]},{"id":"IxAMwQZZnKq9xo9bIVbu","title":"Examples","pathname":"/moss-docs/wallet/examples","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Wallet"}]},{"id":"BISCLjSl66FgZcM7JN30","title":"Best Practices","pathname":"/moss-docs/wallet/best-practices","siteSpaceId":"sitesp_d77pR","description":"Patterns, pitfalls, and production-ready examples for building on MOSS.","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Wallet"}]},{"id":"xkTTzE3UmuQpGwYEDUlt","title":"MOSS Authentication","pathname":"/moss-docs/wallet/authentication","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Wallet"}]},{"id":"gE8ET8yWxV09vhsgowNc","title":"Paymaster Guide","pathname":"/moss-docs/wallet/paymaster-setup","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Wallet"}]},{"id":"MqJiDuiKh9pCUTT9JR3W","title":"Deposit Flows (Unifold)","pathname":"/moss-docs/wallet/deposit-flows","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Wallet"}]},{"id":"2hQ9Ic0Esb3OjoS0Y8Jg","title":"Migrating from Privy","pathname":"/moss-docs/wallet/privy-migration","siteSpaceId":"sitesp_d77pR","description":"Build a guided wizard that moves a user's assets from an existing Privy embedded wallet into a new MOSS wallet.","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Wallet"}]},{"id":"2bWX6JH3LwM6QrKn4rRq","title":"Server Verify","pathname":"/moss-docs/wallet/server-verify","siteSpaceId":"sitesp_d77pR","description":"Backend SIWE verification for MOSS wallet signatures.","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Wallet"}]},{"id":"55nPkjRLz7zmoDOXidic","title":"Security Audits","pathname":"/moss-docs/wallet/audits","siteSpaceId":"sitesp_d77pR","description":"Independent security audits of the Normal Account smart contract used by MOSS wallets.","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Wallet"}]},{"id":"hRhaB3DbaaGZeD7DM852","title":"AI Agent Guide","pathname":"/moss-docs/wallet/ai-agent-guide","siteSpaceId":"sitesp_d77pR","description":"Build agent-driven MOSS integrations with explicit permission policies, safe defaults, and production-ready execution patterns.","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Wallet"}]},{"id":"jayAKtvZRE8NoS8WUObV","title":"Agent Skills Pack","pathname":"/moss-docs/wallet/agent-skills","siteSpaceId":"sitesp_d77pR","description":"Install-ready Agent Skills that teach coding agents to build MOSS Wallet integrations correctly — core SDK, permissions, React, server verify, paymaster, CLI, Privy migration, and security review.","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Wallet"}]},{"id":"VNLKmx1LHd0LzgywF4DA","title":"MOSS CLI","pathname":"/moss-docs/wallet/cli","siteSpaceId":"sitesp_d77pR","description":"Command-line access to a MOSS account — scoped delegated keys, transfers, contract calls, and automation from the terminal.","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Wallet"}]},{"id":"Jrz8RsROVbTBM4Y1xraf","title":"Changelog and Versioning","pathname":"/moss-docs/wallet/versioning","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Wallet"}]},{"id":"Ax5RHAStnCTzM5NUUx4Y","title":"Method reference","pathname":"/moss-docs/methods/methods","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Methods"}]},{"id":"mhcv5mnFlPGy0LBuEgBf","title":"mega.initialise()","pathname":"/moss-docs/methods/methods/initialise","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Methods"},{"label":"Method reference"}]},{"id":"774avs0XZpCIR8wloNob","title":"mega.connect()","pathname":"/moss-docs/methods/methods/connect","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Methods"},{"label":"Method reference"}]},{"id":"baXn9Z8kfB5Gv3yxg6ns","title":"mega.disconnect()","pathname":"/moss-docs/methods/methods/disconnect","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Methods"},{"label":"Method reference"}]},{"id":"4H6sbcFFHRilMwwTEEnX","title":"mega.status()","pathname":"/moss-docs/methods/methods/status","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Methods"},{"label":"Method reference"}]},{"id":"jBux1oitauwMph1P919V","title":"mega.open()","pathname":"/moss-docs/methods/methods/open","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Methods"},{"label":"Method reference"}]},{"id":"eGGZuw17QnSIT5GWqm7U","title":"mega.events.onStatusChange()","pathname":"/moss-docs/methods/methods/on-status-change","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Methods"},{"label":"Method reference"}]},{"id":"g7Pl8knTFOo5gvALxqTi","title":"mega.transfer()","pathname":"/moss-docs/methods/methods/transfer","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Methods"},{"label":"Method reference"}]},{"id":"v2EGWoR5w9zRJxXy411q","title":"mega.callContract()","pathname":"/moss-docs/methods/methods/call-contract","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Methods"},{"label":"Method reference"}]},{"id":"EbLEa71JfYXHeCvpdGIB","title":"mega.getFromContract()","pathname":"/moss-docs/methods/methods/get-from-contract","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Methods"},{"label":"Method reference"}]},{"id":"5et0Odrd3v8kLpiIKtJg","title":"mega.signMessage()","pathname":"/moss-docs/methods/methods/sign-message","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Methods"},{"label":"Method reference"}]},{"id":"8HePEKKB0UCS4hxrUQsV","title":"mega.signData()","pathname":"/moss-docs/methods/methods/sign-data","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Methods"},{"label":"Method reference"}]},{"id":"RLMbiSdbh0eCZflmMUKQ","title":"mega.authenticate()","pathname":"/moss-docs/methods/methods/authenticate","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Methods"},{"label":"Method reference"}]},{"id":"oBrSnOKAMAIK7qpBq09w","title":"mega.grantPermissions()","pathname":"/moss-docs/methods/methods/grant-permissions","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Methods"},{"label":"Method reference"}]},{"id":"sYF88GI47OOJfFAQXBwf","title":"mega.revokePermissions()","pathname":"/moss-docs/methods/methods/revoke-permissions","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Methods"},{"label":"Method reference"}]},{"id":"sPzJcSGYLkBu8zGrxkhL","title":"mega.getPermissions()","pathname":"/moss-docs/methods/methods/get-permissions","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Methods"},{"label":"Method reference"}]},{"id":"ktlUmeOe7XXUZf5UrZOG","title":"mega.deposit()","pathname":"/moss-docs/methods/methods/deposit","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Methods"},{"label":"Method reference"}]},{"id":"6EX9xUAi8PO1sXPCZncu","title":"mega.balances()","pathname":"/moss-docs/methods/methods/balances","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Methods"},{"label":"Method reference"}]},{"id":"NiizI32K2H8rjhwlV5Ri","title":"mega.send()","pathname":"/moss-docs/methods/methods/send","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Methods"},{"label":"Method reference"}]},{"id":"mawlN6ZrZ4VTziJ24FZU","title":"mega.swap()","pathname":"/moss-docs/methods/methods/swap","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Methods"},{"label":"Method reference"}]},{"id":"hugJ7JKz2WR31mQFDo4j","title":"Installation","pathname":"/moss-docs/core-sdk/installation","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Core SDK"}]},{"id":"qo6w3apqnUpzvbigJhQR","title":"Connection Lifecycle","pathname":"/moss-docs/core-sdk/lifecycle","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Core SDK"}]},{"id":"V5388MYOQb9WqyxDhyC3","title":"Smart Approvals (Policy Engine)","pathname":"/moss-docs/core-sdk/permissions","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Core SDK"}]},{"id":"2FjI6FJSIqJnvs9bRaxc","title":"Troubleshooting and Common Issues","pathname":"/moss-docs/core-sdk/error-handling","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Core SDK"}]},{"id":"pdBAXdB3zRd4TIKcpnaO","title":"Security and Integration Notes","pathname":"/moss-docs/core-sdk/security","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"Core SDK"}]},{"id":"aBkPoII46SJlUSW0Eo3V","title":"React SDK Reference","pathname":"/moss-docs/react-sdk/overview","siteSpaceId":"sitesp_d77pR","description":"Full reference for @megaeth-labs/wallet-sdk-react — provider setup and every hook documented.","breadcrumbs":[{"label":"MOSS Docs"},{"label":"React SDK"}]},{"id":"yraPxDjPkiczP6f6DzvJ","title":"Installation","pathname":"/moss-docs/react-sdk/installation","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"React SDK"}]},{"id":"wNKwdoLksueoyrDVfqpi","title":"Provider Setup","pathname":"/moss-docs/react-sdk/provider-setup","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"React SDK"}]},{"id":"QOo4xvtqFCRRvkvyalhZ","title":"Hooks","pathname":"/moss-docs/react-sdk/hooks","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"React SDK"}]},{"id":"sBRisSHuoX1gwZjiqnwH","title":"Composing App Flows","pathname":"/moss-docs/react-sdk/flows","siteSpaceId":"sitesp_d77pR","description":"Build realistic connect, sign, transfer, and contract flows with the MOSS React SDK.","breadcrumbs":[{"label":"MOSS Docs"},{"label":"React SDK"}]},{"id":"vOAQqmlir7MZSihQ3dZe","title":"UX Guidance","pathname":"/moss-docs/react-sdk/ux-guidance","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"React SDK"}]},{"id":"q14H5T465ba9casxYOmy","title":"Wagmi Connector","pathname":"/moss-docs/react-sdk/wagmi-connector","siteSpaceId":"sitesp_d77pR","description":"","breadcrumbs":[{"label":"MOSS Docs"},{"label":"React SDK"}]}]}