# Blockscout — List withdrawals.

Read Blockscout Optimism withdrawals 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 withdrawal amount and reported withdrawal index for rollup history, and continuation tools, ready for production pipelines and AI agent automation using a single OpenAny API key.

Documentation: https://openany.si/blockscout/blockscout-list-withdrawals/800b41ec-f1ab-4e6b-bb68-070025e4879f/
API ID: 800b41ec-f1ab-4e6b-bb68-070025e4879f
Provider: blockscout
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/blockscout/{chain_id}/api/v2/optimism/withdrawals
Page update time: 2026-12-03T02:49:22.720Z
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:22.198Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Blockscout Optimism Withdrawals API

Use chain\_id on optimism/withdrawals. items contains withdrawal records, and next\_page\_params carries a nonce string. Keep that string intact when continuing; items\_count is optional and must be at least 1.

## What You Can Build

- **Rollup history**: Display withdrawal records for the selected chain.
- **Continuation tools**: Preserve large nonce values without numeric rounding.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `items[].amount` | Reported withdrawal amount |
| `items[].index` | Reported withdrawal index |
| `next_page_params.nonce` | Opaque string nonce for continuation |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Blockscout — List withdrawals. 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": {
        "items_count": {
          "type": "integer",
          "description": "Number of items per page",
          "minimum": 1
        },
        "nonce": {
          "type": "string",
          "description": "Nonce for paging"
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "string"
          },
          "index": {
            "type": "integer"
          },
          "validator_index": {
            "type": "integer"
          }
        }
      }
    },
    "next_page_params": {
      "type": "object",
      "properties": {
        "nonce": {
          "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/optimism/withdrawals' \
  -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
{
  "items": [
    {
      "amount": "<amount>",
      "index": 0,
      "validator_index": 0
    }
  ],
  "next_page_params": {
    "nonce": "1766847064778384329583297500742918515827483896875618958121606201292650102"
  }
}
```

## 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 nonce a validator index?
No. nonce is the string continuation input for this route. Do not replace it with a record’s index or validator_index.

### Can I convert nonce to a JavaScript number?
Keep it as a string. The documented continuation value is too large for safe JavaScript integer arithmetic.

### Does retrieving a record submit a withdrawal?
No. This GET endpoint reads withdrawal records; it does not submit, prove or finalize a withdrawal.

### Can I filter by withdrawal status?
This selected implementation exposes items_count and nonce, without a status filter.

### 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-withdrawals/800b41ec-f1ab-4e6b-bb68-070025e4879f/

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