Api Endpoint

coord.taifoon.dev

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? }.

Open interactive test console

Offering

Provider
coord.taifoon.dev
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Security
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://coord.taifoon.dev/v1/x402/class/tee.typed.compile
MIME type
Not provided
First seen
2026-10-16T01:52:40.118Z
Last seen
Tags
tee, typed, compile, tee.typed.compile, compute.attested

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.001 USDC
Atomic price: 1000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 3
1000 atomic units
Atomic price: 1000 · Network: eip155:5042 · Asset: 0x3600000000000000000000000000000000000000 · Scheme: exact
Payment option 4
0.001 USDC
Atomic price: 1000 · Network: eip155:4663 · Asset: USDC · Scheme: exact
Payment option 5
0.001 USDC
Atomic price: 1000 · Network: eip155:143 · Asset: USDC · Scheme: exact
Payment option 6
0.001 USDC
Atomic price: 1000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0x3574999dd4c96eB73Bd6e11D4177010C83E14f5b"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "1000",
    "payTo": "0x3574999dd4c96eB73Bd6e11D4177010C83E14f5b"
  },
  {
    "scheme": "exact",
    "network": "eip155:5042",
    "asset": "0x3600000000000000000000000000000000000000",
    "amount": "1000",
    "payTo": "0x3574999dd4c96eB73Bd6e11D4177010C83E14f5b"
  },
  {
    "scheme": "exact",
    "network": "eip155:4663",
    "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
    "amount": "1000",
    "payTo": "0x3574999dd4c96eB73Bd6e11D4177010C83E14f5b"
  },
  {
    "scheme": "exact",
    "network": "eip155:143",
    "asset": "0x754704Bc059F8C67012fEd69BC8A327a5aafb603",
    "amount": "1000",
    "payTo": "0x3574999dd4c96eB73Bd6e11D4177010C83E14f5b"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "1000",
    "payTo": "GQcEn5pLcweo7qaiy3rDdsiUPiygygmFBaixNtNqhQVD"
  }
]

Observed health

Status
Healthy
Latest latency
107 ms
Average latency
1714 ms
HTTP status
204
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "properties": {
        "nonce": {
          "description": "optional: your challenge (e.g. the sha256 of your payload); the challenge quote binds the enclave key to sha256 of it",
          "pattern": "^[0-9a-fA-F]{8,128}$",
          "type": "string"
        },
        "rules": {
          "description": "the rules in words, one clause per rule; compiled into typed questions inside the enclave",
          "maxLength": 1000,
          "minLength": 4,
          "type": "string"
        }
      },
      "required": [
        "rules"
      ],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "headers": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object"
    },
    "method": {
      "enum": [
        "POST",
        "PUT",
        "PATCH"
      ],
      "type": "string"
    },
    "queryParams": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "input": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "type": "string",
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ]
        },
        "bodyType": {
          "type": "string",
          "enum": [
            "json",
            "form-data",
            "text"
          ]
        },
        "body": {
          "type": "object",
          "properties": {
            "rules": {
              "type": "string",
              "minLength": 4,
              "maxLength": 1000,
              "description": "the rules in words, one clause per rule; compiled into typed questions inside the enclave"
            },
            "nonce": {
              "type": "string",
              "pattern": "^[0-9a-fA-F]{8,128}$",
              "description": "optional: your challenge (e.g. the sha256 of your payload); the challenge quote binds the enclave key to sha256 of it"
            }
          },
          "required": [
            "rules"
          ]
        },
        "queryParams": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "headers": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "additionalProperties": false
    },
    "output": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "example": {
          "type": "object",
          "properties": {
            "class": {
              "type": "string",
              "const": "tee.typed.compile"
            },
            "result": {
              "type": "object",
              "description": "class, rules, ready, questions[]: the compile"
            },
            "enclave": {
              "type": "object",
              "description": "mode tdx, address (the enclave key), app_id, mrtd, report_data = sha256(JSON(result)) ‖ address ‖ 0^12, quote (TDX v4, hex)"
            },
            "challenge": {
              "type": "object",
              "description": "nonce, report_data = address ‖ sha256(nonce) ‖ 0^12, quote (TDX v4, hex)"
            },
            "verification": {
              "type": "object",
              "description": "verifier answers on both quotes, same_td, compose (RTMR3 replay, compose-hash, catalogue), checks"
            }
          },
          "required": [
            "class",
            "result",
            "enclave",
            "challenge",
            "verification"
          ]
        }
      },
      "required": [
        "type"
      ]
    }
  },
  "required": [
    "input"
  ]
}