Optimism
准备好在生产环境中调用了吗?
免费套餐涵盖个人项目。按量付费,无需绑卡即可扩展。
Optimism
免费套餐涵盖个人项目。按量付费,无需绑卡即可扩展。
An OP Mainnet node is not a single process: it pairs a consensus client (op-node) that derives the L2 chain from Ethereum L1 with an execution client (op-geth) that holds state, so your sync strategy determines both how fast the node catches up to the chain ID 10 head and how much history it can answer for. Pick wrong and you either burn days and terabytes you did not need, or you stand up a node that cannot serve the historical state your application queries. This guide helps a node operator or developer decide which approach fits — weighing sync time, storage, and the depth of history each method retains — whether you run your own infrastructure or simply rely on a managed endpoint like https://optimism.therpc.io/YOUR_API_KEY and want to understand what is behind it.
eth_getBalance, eth_call, traces) at any past OP Mainnet block. Run archive only when you genuinely need historical-state access — indexers, explorers, analytics over Velodrome or Synthetix history — because it demands by far the most storage.eth_syncing (the checkSyncStatus helper) to compute current vs. highest block and surface percent-complete on dashboards. Also confirm the node reports chain ID 10 and that op-node's L1 derivation is keeping pace, since L2 sync depends on it.