Operate Blockscout explorer reads through UXC with a curated OpenAPI schema, instance-specific host selection, and read-first guardrails.
Use this skill to run Blockscout explorer operations through uxc + OpenAPI.
Reuse the uxc skill for shared execution, auth, and error-handling guidance.
uxc is installed and available in PATH./api/v2.https://raw.githubusercontent.com/holon-run/uxc/main/skills/blockscout-openapi-skill/references/blockscout-v2.openapi.jsonhttps://eth.blockscout.com/api/v2.This skill covers a read-first explorer surface:
This skill does not cover:
Public Blockscout instances usually allow explorer reads without auth.
If you are targeting a self-hosted or gateway-protected instance, configure auth separately with standard uxc auth bindings for that host. This skill does not assume any default credential.
Use the fixed link command by default:
command -v blockscout-openapi-cliuxc link blockscout-openapi-cli https://eth.blockscout.com/api/v2 --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/blockscout-openapi-skill/references/blockscout-v2.openapi.jsonblockscout-openapi-cli -hInspect operation schema first:
blockscout-openapi-cli get:/addresses/{address_hash} -hblockscout-openapi-cli get:/tokens/{address_hash} -hblockscout-openapi-cli get:/transactions/{hash} -hPrefer narrow lookup validation before larger history reads:
blockscout-openapi-cli get:/blocks/{block_number_or_hash} block_number_or_hash=latestblockscout-openapi-cli get:/addresses/{address_hash} address_hash=0xd8da6bf26964af9d7eed9e03e53415d37aa96045blockscout-openapi-cli get:/tokens/{address_hash} address_hash=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48Execute with key/value parameters:
blockscout-openapi-cli get:/addresses/{address_hash}/transactions address_hash=0xd8da6bf26964af9d7eed9e03e53415d37aa96045blockscout-openapi-cli get:/tokens/{address_hash}/holders address_hash=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48get:/addresses/{address_hash}get:/addresses/{address_hash}/token-balancesget:/addresses/{address_hash}/transactionsget:/tokens/{address_hash}get:/tokens/{address_hash}/holdersget:/transactions/{hash}get:/blocks/{block_number_or_hash}To target a different Blockscout deployment, keep the same schema and relink the command to another host that serves /api/v2:
uxc link blockscout-openapi-cli https://optimism.blockscout.com/api/v2 \
--schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/blockscout-openapi-skill/references/blockscout-v2.openapi.json
--text.ok, kind, protocol, data, error./api/v2. If host help fails, check the deployment path before assuming a protocol mismatch.blockscout-openapi-cli <operation> ... is equivalent to uxc <blockscout_api_v2_host> --schema-url <blockscout_openapi_schema> <operation> ....references/usage-patterns.mdreferences/blockscout-v2.openapi.json