Blocknative openapi skill

From holon-run/uxc · View interactive version

Blocknative openapi skill is an AI agent skill from the GitHub repository holon-run/uxc. Operate Blocknative gas intelligence APIs through UXC with a curated OpenAPI schema, API-key auth, and read-first guardrails.

How to use this skill

Skill file

Blocknative Gas Platform Skill

Use this skill to run Blocknative gas intelligence operations through uxc + OpenAPI.

Reuse the uxc skill for shared execution, auth, and error-handling guidance.

Prerequisites

Scope

This skill covers a read-first Blocknative gas intelligence surface:

This skill does not cover:

Authentication

Blocknative uses Authorization header auth. Some discovery and gas reads can work without a key, but this skill standardizes on authenticated requests because basefee-estimates and distribution require a valid API key.

Configure one API-key credential and bind it to api.blocknative.com:

uxc auth credential set blocknative \
  --auth-type api_key \
  --api-key-header Authorization \
  --secret-env BLOCKNATIVE_API_KEY

uxc auth binding add \
  --id blocknative \
  --host api.blocknative.com \
  --scheme https \
  --credential blocknative \
  --priority 100

Validate the active mapping when auth looks wrong:

uxc auth binding match https://api.blocknative.com

Core Workflow

  1. Use the fixed link command by default:

uxc link blocknative-openapi-cli https://api.blocknative.com --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/blocknative-openapi-skill/references/blocknative-gas.openapi.json

  1. Inspect operation schema first:
  1. Prefer narrow validation before broader polling:
  1. Execute with key/value parameters:

Operation Groups

Discovery

Gas Intelligence

Guardrails

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.