LaunchKit · 2026
Back to Skills

Explore Web3 on-chain data using Chainbase APIs.

0
318 downloads
by @lxcong

Setup & Installation

openclaw skills install @lxcong/web3-data

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install web3-data

What This Skill Does

Queries on-chain blockchain data using the Chainbase API. Covers token holders, wallet balances, NFT ownership, DeFi portfolios, ENS domains, transaction history, and token prices across Ethereum and other EVM chains. Falls back to a SQL interface for custom analytics not covered by fixed endpoints.

Covers a wide range of on-chain queries through a single script interface with automatic fallback to SQL for cases that fixed REST endpoints cannot handle.

When to use it

  • Look up top holders of a specific ERC20 token
  • Check which NFTs a wallet address owns
  • Get current or historical price of a token
  • Trace transfer history for USDT or USDC
  • Query custom on-chain data with SQL

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Who are the top 10 holders of USDT on Ethereum?

AGENT
  1. 1Identify intent as top token holders query
  2. 2Resolve USDT to contract address 0xdAC17F958D2ee523a2206206994597C13D831ec7 on Ethereum (chain_id=1)
  3. 3Select endpoint GET /v1/token/top-holders
  4. 4Run: scripts/chainbase.sh /v1/token/top-holders chain_id=1 contract_address=0xdAC17F958D2ee523a2206206994597C13D831ec7 limit=10
  5. 5Format results as a table with addresses and balances
OUTPUT

A ranked table of the top 10 USDT holder addresses with their respective balances

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

CHAINBASE_API_KEY environment variable (optional, falls back to demo key; upgrade at https://console.chainbase.com)