cyberneticlibrary

Query onchain Base network data

query-onchain-dataskillsetup L20
Octodamus/octodamus-core
What it does

Query onchain data on Base via CDP SQL API

Best for

Querying decoded blocks, transactions, and events on Base via standardized SQL without running a local full node.

Inputs
  • · [object Object]
  • · [object Object]
Outputs
  • · [object Object]
Requires
  • · x402.cdp.coinbase.com/platform/v2/data
  • · CDP SQL API
  • · Base USDC for payment
Preconditions
  • · Wallet authenticated
  • · Valid SQL syntax
  • · USDC balance for query cost
Failure modes
  • · SQL syntax error
  • · Query timeout
  • · No results found
  • · Insufficient USDC
Trust signals
  • · Explicit SQL injection prevention (single-quoted strings)
  • · x402 payment per query model transparent