{"uid":"cap_1F2yncMKsLVHfsGx16_79","slug":"blockscout-optimism-deposits-endpoint-00e58fa3","name":"Blockscout Optimism Deposits Endpoint","description":"Explore crypto activities with Blockscout's multichain search. Find transactions, addresses, tokens, and dapps across top blockchain networks — your go-to explorer for cross-chain blockchain data","url":"https://api.blockscout.com/%7Bchain_id%7D/api/v2/main-page/optimism-deposits","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"pathParams":{"type":"object","properties":{"chain_id":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":[{"l1_block_number":0,"l1_block_timestamp":"string","l1_transaction_hash":"string","l2_transaction_hash":"string"}]},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UgMKUKJS0FzwEx_ZlL4V1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves a list of Optimism bridge deposits (L1→L2) for a specified chain, including L1 block numbers, timestamps, and transaction hashes on both layers","exampleAgentPrompt":"Pull the latest Optimism bridge deposits from Blockscout for chain ID 10 — I need the L1 block numbers, timestamps, and both the L1 and L2 transaction hashes.","exampleUseCases":[{"title":"Monitor recent Optimism bridge activity","prompt":"Show me the most recent Optimism deposit transactions bridged from L1 to L2 on chain 10, including the L1 block timestamps and matching L2 transaction hashes."},{"title":"Audit L1 to L2 deposit records","prompt":"I need to audit Optimism deposits for chain ID 10 — can you pull the list of recent deposits from Blockscout with their L1 block numbers and both layer transaction hashes?"},{"title":"Investigate specific bridge deposit timing","prompt":"Fetch the Optimism bridge deposit records from Blockscout for chain 10 so I can check when each L1 deposit was processed and find its corresponding L2 transaction hash."}],"resultDescription":"Returns an array of Optimism deposit records, each containing the L1 block number, L1 block timestamp, L1 transaction hash, and the corresponding L2 transaction hash for cross-layer bridge deposits.","failureModes":["Invalid or unsupported chain_id returns an error or empty response","Network unavailability from Blockscout API results in timeout","Chain not indexed by Blockscout may return 404 or empty array","Malformed chain_id path parameter causes a 400 bad request"],"whenToPreferThis":"Use this endpoint when you specifically need Optimism bridge deposit data (L1→L2) with both layer transaction hashes and block-level timestamps, and you want Blockscout's multichain explorer coverage rather than querying an Optimism node directly. Ideal for monitoring, auditing, or reconciling cross-layer bridge activity.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-12T00:44:45.675Z","isFirstParty":false}