LaunchKit · 2026

Setup & Installation

npx skills add https://github.com/coinbase/agentic-wallet-skills --skill query-onchain-data
or paste the link and ask your coding assistant to install it
https://github.com/coinbase/agentic-wallet-skills/tree/main/skills/query-onchain-data
View on GitHub

What This Skill Does

Queries decoded onchain data on Base (events, transactions, blocks) through the CDP SQL API using x402 micropayments. Each query costs $0.10 in USDC and runs against indexed tables with a ClickHouse-based SQL dialect called CoinbaseQL.

Gives you direct SQL access to decoded Base chain data without running your own indexer or relying on block explorer APIs that rate-limit or lack query flexibility.

When to use it

  • Looking up recent USDC transfers for a specific wallet address on Base
  • Checking transaction history and gas usage for a contract you deployed
  • Counting event types emitted by a smart contract in the last hour
  • Pulling block-level stats like transaction count and gas used over time
  • Tracking token Transfer and Approval events across known Base contracts