# Taifoon On-Chain Data Query (Base)

> Taifoon On-Chain Data Query (Base) is a paid API for AI agents from coord.taifoon.dev, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-17).

Queries on-chain data on the Base network (chain ID 8453) — either the tokens and fee tier of a Uniswap V3 pool, or the hash of a specific block — with an adversarial grading step that validates the answer before charging.

## Facts

- Endpoint: POST https://coord.taifoon.dev/v1/x402/class/data.onchain_query?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/taifoon-on-chain-data-query-base-c0dfe3ee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QJT2-hZxSJ05WJLQFuTYE

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability taifoon-on-chain-data-query-base-c0dfe3ee -d '<json body>'
```

Example prompt: What are the two tokens and fee tier in Uniswap V3 pool 0x4C36388bE6F416A29C8d8Eee81C771cE6bE14B18 on Base — can you do a pool_tokens query and give me a verified answer?

## When to prefer this

Choose this endpoint when you need verified, graded on-chain facts about Base network state — specifically Uniswap V3 pool composition (tokens and fee tier) or block hashes — and want to pay only for correct answers. The adversarial grading mechanism makes it more trustworthy than a raw RPC call routed through an unverified third party, and the per-query micropayment model is cost-efficient for spot lookups.

## Known failure modes

- Data seller provides incorrect answer — query is graded as failed, not charged
- Invalid pool address or non-existent block number causes lookup failure
- Unsupported chain ID (only Base / 8453 is supported)
- Missing required fields (question or chainId) returns validation error
- Network or on-chain RPC issues may cause temporary unavailability

## How this service works

On-chain data query on Base, sold by Taifoon: the tokens and fee tier of a Uniswap V3 pool, or the hash of a block. An admitted data seller answers; Taifoon reads the same facts from the chain and grades the answer before you are charged. A failed answer is not charged. Answer + graded receipt. 0.03 USDC a call.

## Output

Returns the answer provided by a data seller (e.g. pool token addresses and fee tier, or block hash), along with a graded receipt confirming Taifoon independently verified the answer against on-chain state. Failed or incorrect answers are not charged. Successful calls cost 0.03 USDC.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "question",
    "chainId"
   ],
   "properties": {
    "pool": {
     "type": "string",
     "description": "pool_tokens: a Uniswap V3 pool address"
    },
    "block": {
     "type": "integer",
     "description": "block_hash: a block number"
    },
    "chainId": {
     "enum": [
      8453
     ],
     "type": "integer"
    },
    "question": {
     "enum": [
      "pool_tokens",
      "block_hash"
     ],
     "type": "string"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/taifoon-on-chain-data-query-base-c0dfe3ee/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coord.taifoon.dev](https://www.zero.xyz/host/coord.taifoon.dev/llms.txt)
