Chainbase Web3 API Skill for Openclaw

A powerful interface for retrieving indexed blockchain data, including wallet balances and token metadata, through a curated OpenAPI schema.

jolestar
v1.0.0
Mar 16, 2026
0
932
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install chainbase-openapi-skill

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install chainbase-openapi-skill using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Chainbase Web3 API Skill?

The Chainbase Web3 API skill is a specialized tool within the Openclaw Skills ecosystem designed to streamline access to indexed blockchain data. By leveraging the uxc CLI and a curated OpenAPI schema, developers can perform efficient, read-only operations on wallet balances, transaction histories, and token metadata without the overhead of raw RPC calls.

This skill emphasizes a read-first approach, providing a safe and reliable way to integrate Chainbase data products into automated workflows. It handles complex data retrieval tasks like account balance lookups and token holder analysis with structured JSON outputs, making it an essential component for any developer working with Web3 data via Openclaw Skills.

Chainbase Web3 API Skill Use Cases

  • Retrieving native and token balances for specific blockchain addresses across multiple chains.
  • Auditing transaction history and transaction details for account validation or monitoring.
  • Fetching real-time token price lookups and metadata for DeFi applications.
  • Analyzing token distribution by retrieving lists of token holders and their balances.

How Chainbase Web3 API Skill Works

  1. The user establishes authentication by binding a Chainbase API key to the specific API host using uxc.
  2. A specialized CLI command is created by linking the uxc execution engine to the Chainbase OpenAPI schema.
  3. The skill allows for schema inspection to understand available parameters for operations like account balance or token holders.
  4. Data is fetched by executing specific OpenAPI operations with key-value parameters such as chain_id and address.
  5. The resulting JSON payload is parsed to extract stable fields like protocol data and error status for further processing.

Chainbase Web3 API Skill Setup

First, ensure uxc is installed and your Chainbase API key is ready. Configure the credentials and bind them to the Chainbase host:

uxc auth credential set chainbase \
  --auth-type api_key \
  --api-key-header X-API-KEY \
  --secret-env CHAINBASE_API_KEY

uxc auth binding add \
  --id chainbase \
  --host api.chainbase.online \
  --scheme https \
  --credential chainbase \
  --priority 100

Next, create the local command alias:

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

Chainbase Web3 API Skill Data Schema & Taxonomy

The skill returns structured JSON responses following the standard uxc execution pattern. Use these fields to organize your data ingestion:

Field Type Description
ok Boolean Indicates if the request was successful
kind String The type of data returned (e.g., account balance)
data Object The primary payload containing blockchain data
error Object Details of any errors encountered during the request

Chainbase Web3 API Skill Advanced Features

  • Automated credential management using uxc auth binding for secure API key handling.
  • Integration with the uxc link system to provide a native-feeling CLI experience for OpenAPI schemas.
  • Built-in guardrails to prevent accidental write operations by strictly adhering to a read-only OpenAPI definition.
  • Support for high-volume data retrieval through paginated requests using page and limit parameters.
  • Direct mapping of Chainbase indexed data to local developer workflows within the Openclaw Skills environment.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*