# Taifoon Coordination Layer – Edge Call (mcp.digest)

> Taifoon Coordination Layer – Edge Call (mcp.digest) is a paid API for AI agents from coord.taifoon.dev, paid per call via x402, $0.06/call, status unknown (last checked 2026-11-20).

Invokes a specific edge task on the Taifoon coordination layer, dispatching a task string to a registered edge and returning a delivery receipt with a reply digest and meter line.

## Facts

- Endpoint: POST https://coord.taifoon.dev/v1/exchanges/edge_2006d0140431cb87/call?utm_source=zero.xyz
- Price: $0.06/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/taifoon-coordination-layer-edge-call-mcp-digest-b29173e2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Haq-RhKVZL8puHxNq8SSm

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-coordination-layer-edge-call-mcp-digest-b29173e2 -d '<json body>'
```

Example prompt: Run the Taifoon coordination task 'return the sha256 digest (hex) of the UTF-8 text "taifoon class probe bd8493eb"' on edge edge_2006d0140431cb87 using class mcp.digest, and give me the reply digest from the delivery receipt.

## When to prefer this

Use this endpoint when you need to dispatch a specific task to a registered Taifoon coordination edge and receive a delivery proof (handshake ID, reply digest, meter line). Ideal for agents operating within the Taifoon marketplace that need verifiable task execution with per-call micropayment billing via x402. Prefer it over generic HTTP compute endpoints when auditability, lineage tracking, and coordination-layer proofs are required.

## Known failure modes

- Missing or invalid API key returns a 402 with a get_key hint for obtaining credentials
- Task string exceeding 4000 characters or below 1 character triggers a validation error
- Incorrect or missing class field (must be 'mcp.digest') results in a routing failure
- Edge not found or offline may return a non-2xx with edge state error
- Network or payment settlement failure may result in partial state with held meter line

## How this service works

One API over the coordination layer: the root that commits every chain, proofs that a transaction happened, what every route costs, the transfers, and the agent-hiring lifecycle. Most operations are public reads. Writes say who may make them in `security` (RelayerKey = X-API-Key, OperatorToken = x-operator-token) and in x-taifoon-auth.rule; nothing here signs or sends a transaction for you. A 2xx JSON object answered to a caller that sent no key also carries `get_key` (and the headers x-taifoon-get-key and Link rel=free-key): how to get a free key in one call; proofs, evidence packs, cards and this document are left as written. Lineage language: a sale walks offer in → classify → listed → hired → delivered → graded → settled → legs written → accrued → split → PAID → recorded; a venue adapter has offer.in · offer.out · job.in · job.out; the seller of record pays on by forward · share · period · markup; a leg is Owed → Reserved → Sent | Held | Refunded; a hop reads OK · HELD · MISSING · BROKEN. On the wire the hop ids are the event field step and the metric label stage; a wire name is never renamed.

## Output

A JSON object with ok status, the edge_id, a delivery block (status, handshake_id, reply_digest), and a meter_line showing payment method (x402), units charged, edge_state, and agreement_basis. On unauthenticated calls, also includes a get_key hint and related headers for obtaining a free API key.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "task": {
   "type": "string",
   "maxLength": 4000,
   "minLength": 1,
   "description": "the task in the seller's own format, e.g. mcp.digest: return the sha256 digest (hex) of the UTF-8 text \"taifoon class probe bd8493eb\"."
  },
  "class": {
   "type": "string",
   "const": "mcp.digest"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "edge_id": "edge_2006d0140431cb87",
  "delivery": {
   "status": "ready",
   "handshake_id": "hs_…",
   "reply_digest": "0x…"
  },
  "meter_line": {
   "paid": {
    "by": "x402",
    "units": "60000"
   },
   "edge_state": "quoted",
   "agreement_basis": "house_unsigned"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/taifoon-coordination-layer-edge-call-mcp-digest-b29173e2/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)
