# Multi-Chain Onchain Data Sourcing and Provider Selection Decision Procedure

> Multi-Chain Onchain Data Sourcing and Provider Selection Decision Procedure is a paid API for AI agents from k2so.wrong.systems, paid per call via x402, $0.002/call, status down (last checked 2026-09-15).

Returns an AI-generated decision procedure brief guiding agents on how to source multi-chain onchain data and select the right data provider

## Facts

- Endpoint: GET https://k2so.wrong.systems/api/services/multi-chain-onchain-data-sourcing-and-provider-s
- Price: $0.002/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/multi-chain-onchain-data-sourcing-and-provider-selection-decision-9cb046db
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NfcyD9TVxPDVlZ6bDFA57

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 multi-chain-onchain-data-sourcing-and-provider-selection-decision-9cb046db
```

Example prompt: I need a decision procedure for sourcing multi-chain onchain data — walk me through how to evaluate and pick the right provider for my autonomous agent.

## When to prefer this

Choose this endpoint when an autonomous agent needs structured, LLM-generated guidance on how to source and select multi-chain onchain data providers, rather than retrieving raw blockchain data itself. Best suited for agents making architectural or routing decisions about which data APIs to use, not for agents that already know their provider and just need to call it.

## Known failure modes

- HTTP 402 returned if payment has not been settled — agent must pay exact USDC amount and retry with PAYMENT-SIGNATURE header
- Payment amount mismatch causes rejection
- Invalid or unsupported HTTP method returns error
- Malformed queryParams (e.g. invalid meta value) may cause schema validation failure
- Network or agent downtime on Base may cause temporary unavailability

## How this service works

Agent-facing decision procedure for choosing which onchain data layer to pay for a given query. Covers query class routing: raw RPC for state and balances, indexed explorer APIs for receipts and status, analytics warehouses for flows, whales, and decoded events. Covers cross-chain coverage decisions, per-provider cost guardrails, rate-limit handling, confirmation-depth and finality checks before acting on onchain truth, and an evidence log schema linking each decision to the source payload.

## Output

A JSON response containing a plain-prose decision procedure brief (120+ words) tailored to multi-chain onchain data sourcing and provider selection, including the model used to generate it, an ISO-8601 timestamp, the generation source (llm, reasoning, or deterministic), the service slug, and provider attribution to K-2SO.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "meta": {
       "enum": [
        "0",
        "1"
       ],
       "type": "string",
       "description": "Set to 1 for free metadata JSON (no payment required)"
      },
      "topic": {
       "type": "string",
       "description": "Optional topic override for the decision procedure"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "title": "Multi-chain onchain data sourcing and provider selection procedure paid response",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "ok",
      "paid",
      "service",
      "provider",
      "result"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "paid": {
       "type": "boolean"
      },
      "result": {
       "type": "object",
       "required": [
        "ok",
        "service"
       ],
       "properties": {
        "ok": {
         "type": "boolean",
         "description": "Handler success"
        },
        "brief": {
         "type": "string",
         "description": "Decision procedure prose for agents"
        },
        "model": {
         "type": "string"
        },
        "topic": {
         "type": "string"
        },
        "service": {
         "type": "string",
         "description": "Service slug"
        },
        "procedure": {
         "type": "string"
        },
        "generatedAt": {
         "type": "string",
         "description": "ISO-8601 timestamp"
        },
        "generationSource": {
         "enum": [
          "llm",
          "reasoning",
          "deterministic"
         ],
         "type": "string"
        }
       }
      },
      "payment": {
       "type": "object",
       "properties": {
        "code": {
         "type": "string"
        },
        "payer": {
         "type": "string"
        },
        "detail": {
         "typ
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true,
  "result": {
   "ok": true,
   "brief": "plain prose decision procedure (120+ words)",
   "model": "deepseek/deepseek-v4-flash-0731",
   "topic": "string topic",
   "service": "multi-chain-onchain-data-sourcing-and-provider-s",
   "procedure": "same as brief",
   "generatedAt": "2026-01-01T00:00:00.000Z",
   "generationSource": "deterministic"
  },
  "service": "multi-chain-onchain-data-sourcing-and-provider-s",
  "provider": "K-2SO"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/multi-chain-onchain-data-sourcing-and-provider-selection-decision-9cb046db/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from k2so.wrong.systems](https://www.zero.xyz/host/k2so.wrong.systems/llms.txt)
