{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"61a9e177-0145-42c9-a833-66d808ecc8d3","catalogType":"api","categories":["crypto-defi"],"dataPlatform":"blockscout","dataPlatformLogoUrl":"https://www.blockscout.com/favicon/apple-touch-icon-180x180.png","dataPlatformTranslations":{"ar":"blockscout","ja":"blockscout","zh":"blockscout"},"dataProduct":"explorer-rest","description":"List Blockscout Optimism output roots via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Blockscout, pass parameters such as Set, and retrieve structured data including reported output-root value, L2 output index, associated L2 block number, associated L1 block number, and associated L1 transaction hash for output-root browsers, and cross-layer navigation.","descriptionTranslations":{"ar":"اعرض جذور مخرجات عائلة Optimism عبر OpenAny REST بهوية السلسلة، مع استكمال حسب الفهرس ومراجع L1 وL2 لفحص حالة Rollup ومتصفحات الجذور والتنقل بين الطبقات. استخدم البيانات في واجهات المستكشف أو أدوات فحص السلسلة، مع الاحتفاظ بمعرفات السلسلة والموارد عند دمج النتائج، وراجع قوالب الطلبات والمدخلات المدعومة وتسعير التنفيذ المحدد في صفحة التفاصيل.","ja":"OpenAny REST で Optimism 系の Output Root を取得し、索引による継続と L1・L2 の参照を状態調査に利用できます。 返されたデータをエクスプローラー画面やチェーン調査ツールで利用できます。結果を結合する際はチェーンとリソースの識別子を保持し、詳細ページのリクエスト例、対応入力、選択した実装の料金を確認してください。","zh":"通过 OpenAny REST 查询 Optimism 系输出根，按索引续页并读取 L1、L2 引用，用于 Rollup 状态检查、输出根浏览和跨层导航工具。 可将返回数据用于浏览器界面或链上调查工具，合并结果时保留链与资源标识符；详情页提供请求模板、支持的输入及所选实现的价格。"},"effectContentHtml":"","executionMode":"sync","id":"ac7de07c-bc0f-4a82-842d-c1b4425b6461","includedContentHtml":"","inputs":[{"description":"The ID of the blockchain","location":"path","name":"chain_id","nullable":false,"required":true,"type":"string"},{"description":"Number of items per page","location":"query","minimum":"1","name":"items_count","nullable":false,"required":false,"type":"integer"},{"description":"Item index for paging","location":"query","name":"index","nullable":false,"required":false,"type":"integer"}],"logoUrl":"https://www.blockscout.com/favicon/apple-touch-icon-180x180.png","method":"GET","name":"Blockscout — List output roots.","nameTranslations":{"ar":"Blockscout — قائمة جذور المخرجات.","ja":"Blockscout — 出力ルートの一覧。","zh":"Blockscout — 列出输出根。"},"overviewHtml":"\u003ch2\u003eBlockscout Optimism Output Roots API\u003c/h2\u003e\n\u003cp\u003eProvide chain_id to optimism/output-roots. items contains output_root, l2_output_index and layer-specific references. Continue with the exposed index and optional items_count of at least 1.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003epath: chain_id; query: items_count, index\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eblockscout · Blockscout — List output roots.\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eOutput-root browsers\u003c/strong\u003e: Display roots with their output indexes.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eCross-layer navigation\u003c/strong\u003e: Retain separate L1 and L2 references.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eDocumented Response Fields\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eitems[].output_root\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReported output-root value\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eitems[].l2_output_index\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eL2 output index\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eitems[].l2_block_number\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eAssociated L2 block number\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eitems[].l1_block_number\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eAssociated L1 block number\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eitems[].l1_transaction_hash\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eAssociated L1 transaction hash\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eSet the path variables shown in the URL to your target values; URL-encode each path segment before calling.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  \u0026#34;https://api.openany.si/v1/agent-apis/blockscout/${CHAIN_ID_URI:?Set CHAIN_ID_URI}/api/v2/optimism/output-roots\u0026#34; \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  -H \u0026#39;Content-Type: application/json\u0026#39;\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response example is a schema template, not a captured response. Set the named path variables for your target chain and resource before using the request template; read actual returned values and optional fields from the result.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/ac7de07c-bc0f-4a82-842d-c1b4425b6461\"\u003ePublished Blockscout Optimism Output Roots API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eIs output_root the same as an L2 block hash?\u003c/h3\u003e\n\u003cp\u003eThey identify different values. Preserve the output root and block references separately.\u003c/p\u003e\n\u003ch3\u003eDoes this endpoint verify a state proof?\u003c/h3\u003e\n\u003cp\u003eIt retrieves output-root records. Independent proof verification is a separate operation.\u003c/p\u003e\n\u003ch3\u003eCan I use page as a continuation input?\u003c/h3\u003e\n\u003cp\u003eThis implementation exposes index and items_count, not page.\u003c/p\u003e\n\u003ch3\u003eDoes a listed output root imply finality?\u003c/h3\u003e\n\u003cp\u003eA root record does not by itself establish the finality of its associated state or transaction.\u003c/p\u003e\n\u003ch3\u003eWhich API key should I use?\u003c/h3\u003e\n\u003cp\u003eUse your OpenAny API key as Bearer authentication on the documented OpenAny route.\u003c/p\u003e\n\u003ch3\u003eWhere can I check the current request price?\u003c/h3\u003e\n\u003cp\u003eCheck the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/blockscout/blockscout-list-of-recent-user-operations\"\u003eBlockscout — List of recent user operations\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/blockscout/blockscout-list-of-top-bundlers\"\u003eBlockscout — List of top bundlers\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/blockscout/blockscout-list-of-top-paymasters\"\u003eBlockscout — List of top paymasters\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/blockscout/blockscout-list-output-roots?offering=ac7de07c-bc0f-4a82-842d-c1b4425b6461","providerId":"blockscout","publicPath":"/v1/agent-apis/blockscout/{chain_id}/api/v2/optimism/output-roots","requestContentType":"none","revision":4,"samples":[{"http_status":200,"name":"Schema template · Schema template (not executed)","request":{"body":null,"headers":{},"path":{"chain_id":"\u003cchain_id\u003e"},"query":{}},"response_body":{"items":[{"l1_block_number":0,"l1_timestamp":"\u003cl1_timestamp\u003e","l1_transaction_hash":"\u003cl1_transaction_hash\u003e","l2_block_number":0,"l2_output_index":0,"output_root":"\u003coutput_root\u003e"}],"next_page_params":{"index":8829}}}],"seoDescription":"List Blockscout Optimism output roots via REST or MCP powered by Blockscout. Pay per call, no subscription. Built for output-root browsers workflows.","updatedAt":"2026-12-03T02:49:20.830Z","usageInstructionsHtml":""}}