Skip to content
Fourohtwo

coord.taifoon.dev/v1/x402/class/tee.typed.compile

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.00122 USDC a request. Send { rules, nonce? }.

BaseAnswering
POSThttps://coord.taifoon.dev/v1/x402/class/tee.typed.compile

Uptime50.0% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://coord.taifoon.dev/v1/x402/class/tee.typed.compile", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"nonce":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","rules":"Rate the urgency of the ticket from 1 to 5. Say whether a refund is needed."}),
});
console.log(await res.json());

Example input

{
  "nonce": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
  "rules": "Rate the urgency of the ticket from 1 to 5. Say whether a refund is needed."
}

More from TaifoonProvider status