CO
Beauty & Personal Care · x402 · early usage

Rules compiled into typed questions inside Taifoon's Intel TDX enclave (Phala Cloud)

Rules compiled into typed questions inside Taifoon's Intel TDX enclave (Phala Cloud). The answer carries two TDX quotes, both verified by Phala's verifier before you are charged: one binds the result and the enclave key, one binds that key to sha256 of your n…

by coord.taifoon.dev · discovered, not yet claimed by its owner · updated 2026-10-12

30d calls1
30d payers1
MethodPOST
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

Rules compiled into typed questions inside Taifoon's Intel TDX enclave (Phala Cloud). The answer carries two TDX quotes, both verified by Phala's verifier before you are charged: one binds the result and the enclave key, one binds that key to sha256 of your nonce. The compose-hash in RTMR3 proves which code runs. 0.001 USDC a request. Send { rules, nonce? }.

Tags: bazaar

Call contract

Method
POST
Input
json
Output
json
Last paid call
2026-10-12
Input example from Bazaar metadata
{
  "nonce": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
  "rules": "Rate the urgency of the ticket from 1 to 5. Say whether a refund is needed."
}
Output example
{
  "challenge": {
    "nonce": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
    "quote": "04000200…",
    "report_data": "…128 hex"
  },
  "class": "tee.typed.compile",
  "enclave": {
    "address": "the enclave key (GET https://coord.taifoon.dev/v1/our-cards?card=tee enclave.attestation names it)",
    "app_id": "4c149b4f7ad6365a298f29e9b950379cdc4eb4f7",
    "mode": "tdx",
    "quote": "04000200…",
    "report_data": "…128 hex"
  },
  "result": {
    "class": "tee.typed.compile",
    "questions": [
      {
        "id": "rate_urgency_ticket_1",
        "kind": "score",
        "levels": [
          "1 (lowest)",
          "2",
          "3",
          "4",
          "5 (highest)"
        ],
        "text": "Rate the urgency of the ticket?"
      },
      {
        "id": "say_refund_needed",
        "kind": "noul",
        "text": "Say whether a refund is needed?"
      }
    ],
    "ready": true,
    "rules": "Rate the urgency of the ticket from 1 to 5. Say whether a refund is needed."
  },
  "verification": {
    "challenge_verified": true,
    "checks": {
      "enclave_real": true,
      "fresh": true,
      "quote_bound": true
    },
    "compose": {
      "compose_hash": "a90d344ec2057f095058feba3374910cfb4277bae6db6b6727bc0d296f225c1e",
      "ok": true
    },
    "delivery_verified": true,
    "same_td": true
  }
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/39998.json for the price and payment options.
  3. Pay. Call GET https://coord.taifoon.dev/v1/x402/class/tee.typed.compile. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Arbitrum One, eip155:5042, eip155:4663, eip155:143, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.001 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base, Arbitrum One, eip155:5042, eip155:4663, eip155:143
Demand
1 calls · 1 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.0010x3574999dd4c96eB73Bd6e11D4177010C83E14f5b300s
exactArbitrum One
eip155:42161
USDC$0.0010x3574999dd4c96eB73Bd6e11D4177010C83E14f5b300s
exacteip155:5042
eip155:5042
0x360000000000000000000000000000000000000010000x3574999dd4c96eB73Bd6e11D4177010C83E14f5b300s
exacteip155:4663
eip155:4663
0x5fc5360D0400a0Fd4f2af552ADD042D716F1d16810000x3574999dd4c96eB73Bd6e11D4177010C83E14f5b300s
exacteip155:143
eip155:143
0x754704Bc059F8C67012fEd69BC8A327a5aafb60310000x3574999dd4c96eB73Bd6e11D4177010C83E14f5b300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x3574999dd4c96eB73Bd6e11D4177010C83E14f5b",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "amountUsd": 0.001,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "payTo": "0x3574999dd4c96eB73Bd6e11D4177010C83E14f5b",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "1000",
    "amountUsd": 0.001,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:5042",
    "payTo": "0x3574999dd4c96eB73Bd6e11D4177010C83E14f5b",
    "asset": "0x3600000000000000000000000000000000000000",
    "amount": "1000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:4663",
    "payTo": "0x3574999dd4c96eB73Bd6e11D4177010C83E14f5b",
    "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
    "amount": "1000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "eip155:143",
    "payTo": "0x3574999dd4c96eB73Bd6e11D4177010C83E14f5b",
    "asset": "0x754704Bc059F8C67012fEd69BC8A327a5aafb603",
    "amount": "1000",
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "properties": {
        "challenge": {
          "description": "nonce, report_data = address ‖ sha256(nonce) ‖ 0^12, quote (TDX v4, hex)",
          "type": "object"
        },
        "class": {
          "const": "tee.typed.compile",
          "type": "string"
        },
        "enclave": {
          "description": "mode tdx, address (the enclave key), app_id, mrtd, report_data = sha256(JSON(result)) ‖ address ‖ 0^12, quote (TDX v4, hex)",
          "type": "object"
        },
        "result": {
          "description": "class, rules, ready, questions[]: the compile",
          "type": "object"
        },
        "verification": {
          "description": "verifier answers on both quotes, same_td, compose (RTMR3 replay, compose-hash, catalogue), checks",
          "type": "object"
        }
      },
      "required": [
        "class",
        "result",
        "enclave",
        "challenge",
        "verification"
      ],
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {
    "challenge": {},
    "class": "string",
    "enclave": {},
    "result": {},
    "verification": {}
  },
  "type": "string"
}

Examples

curl
curl "https://coord.taifoon.dev/v1/x402/class/tee.typed.compile"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://coord.taifoon.dev/v1/x402/class/tee.typed.compile");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://coord.taifoon.dev/v1/x402/class/tee.typed.compile")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
coord.taifoon.dev
Endpoint
https://coord.taifoon.dev/v1/x402/class/tee.typed.compile
Machine-readable
/resources/39998.json