# Blockscout — List deposits on the main page.

Get Blockscout main-page Optimism-family deposits 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 associated L1 block number, reported L1 block timestamp, L1 transaction hash, and L2 transaction hash for bridge overview panels, and cross-chain navigation.

Documentation: https://openany.si/blockscout/blockscout-list-deposits-on-the-main-page/7e4be4b4-c421-49d3-95df-6b4179a7d57a/
API ID: 7e4be4b4-c421-49d3-95df-6b4179a7d57a
Provider: blockscout
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/blockscout/{chain_id}/api/v2/main-page/optimism-deposits
Page update time: 2026-12-03T02:49:19.703Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:49:19.344Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Blockscout Recent Optimism Deposits API

Supply chain\_id to main-page/optimism-deposits. The response is a root array of deposit references containing L1 block context and separate L1 and L2 transaction hashes. This main-page implementation has no query pagination.

## What You Can Build

- **Bridge overview panels**: Show main-page deposit references.
- **Cross-chain navigation**: Link L1 and L2 references without merging their identities.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `[].l1_block_number` | Associated L1 block number |
| `[].l1_block_timestamp` | Reported L1 block timestamp |
| `[].l1_transaction_hash` | L1 transaction hash |
| `[].l2_transaction_hash` | L2 transaction hash |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Blockscout — List deposits on the main page. request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {
        "chain_id": {
          "type": "string",
          "description": "The ID of the blockchain"
        }
      },
      "required": [
        "chain_id"
      ]
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "l1_block_number": {
        "type": "integer"
      },
      "l1_block_timestamp": {
        "type": "string"
      },
      "l1_transaction_hash": {
        "type": "string"
      },
      "l2_transaction_hash": {
        "type": "string"
      }
    }
  }
}
```

## Request example
Scenario: Schema template · Schema template (not executed)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/blockscout/%3Cchain_id%3E/api/v2/main-page/optimism-deposits' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
Response template · not a real response · Documented HTTP 200
```json
[
  {
    "l1_block_number": 0,
    "l1_block_timestamp": "<l1_block_timestamp>",
    "l1_transaction_hash": "<l1_transaction_hash>",
    "l2_transaction_hash": "<l2_transaction_hash>"
  }
]
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Is the response wrapped in items?
No. The documented response is a root array.

### Can I paginate this main-page list?
This selected implementation exposes chain_id only. The separate deposit-list route has its own pagination contract.

### Are the L1 and L2 hashes interchangeable?
No. Keep each reference with its layer and chain context.

### Does this endpoint submit a deposit transaction?
No. It reads deposit references for a main-page view.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.

## Available implementations
- blockscout: https://openany.si/blockscout/blockscout-list-deposits-on-the-main-page/7e4be4b4-c421-49d3-95df-6b4179a7d57a/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
