Direct Blockscout API Call
direct_api_callCall a raw Blockscout API endpoint for advanced or chain-specific data.
Before the first call to this tool in a session, read
`blockscout-mcp://skill/SKILL.md` (the operating rules), then
`blockscout-mcp://skill/references/blockscout-api-index.md` (the authoritative
index of callable endpoints); skip both reads only if this skill content is
already in context. Recalled Blockscout API knowledge is not a substitute:
endpoint paths, parameters, and response shapes vary across Blockscout
versions and per-chain deployments.
Supports POST requests with a JSON body for endpoints like JSON RPC.
**SUPPORTS PAGINATION**: If response includes 'pagination' field,
use the provided next_call to get additional pages (GET only).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | The pagination cursor from a previous response to get the next page of results. | |
| method | No | HTTP method used for the upstream call. Use POST with json_body. | GET |
| chain_id | Yes | The ID of the blockchain | |
| json_body | No | JSON request body for POST requests. | |
| session_id | No | Opaque session identifier. | |
| query_params | No | Optional query parameters forwarded to the Blockscout API. | |
| endpoint_path | Yes | The Blockscout API path to call (e.g., '/api/v2/stats'); do not include query strings — pass all query parameters via query_params to avoid double-encoding. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The main data payload of the tool's response. | |
| notes | No | A list of important contextual notes, such as warnings about data truncation or data quality issues. | |
| pagination | No | Pagination information, present only if the 'data' is a single page of a larger result set. | |
| content_text | No | Optional human-readable summary used for MCP content responses. | |
| instructions | No | A list of suggested follow-up actions or instructions for the LLM to plan its next steps. | |
| data_description | No | A list of notes explaining the structure, fields, or conventions of the 'data' payload. |