● healthy
Treasury desk for agent spend — who paid which call; export, policy, evidence. Possession book for principals. POST /v1/chat/completions returns a signed receipt: hub, model, amount, verify_url. Cost-plus, quoted, receipted — USDC on Base (eip155:8453) or Solana. POST /a2a-message is the same paid door (A2A HTTP+JSON URL). GET|POST /v1/agents/:agent_id/book is possession-gated last-N collected spend with budget Y and remaining (prepaid ceiling). POST /v1/agents/register is fail-closed: a wallet with USDC (pay the $0.002 register stamp) or a collected receipt whose payer is that wallet. Plain EOA personal_sign, AAWP, or smart account. Returns integer agent_id for POST /erc8004/validate.
Transport
—
Protocol
1.0.0
Price
—
Skills
-
Paid chat completionsPOST /v1/chat/completions (bot drop-in). Returns a signed receipt: hub, model, amount, verify_url. Cost-plus, quoted, receipted — USDC on Base or Solana. No account. No API key. A wallet that can pay the 402 is enough. Unauthenticated GET or POST {} returns HTTP 402. You hold hub, model, and amount.llmopenai-compatiblex402usdc
-
Paid responses APIPOST /v1/responses (bot drop-in). Same x402 + signed receipt as /v1/chat/completions. Accepts input (string or message array), max_output_tokens. Returns Responses-shaped output + Chit receipt with verify_url. Stateless one-shot. Unauthenticated → HTTP 402.llmresponses-apix402usdc
-
A2A paid doorPOST /a2a-message is the A2A card URL. Same x402 floor and chat fulfillment as /v1/chat/completions. Returns a signed receipt: hub, model, amount, verify_url. No account. No API key. A wallet that can pay the 402 is enough. You hold hub, model, and amount. Unauthenticated POST {} returns HTTP 402. Collected rows are bookable via GET|POST /v1/agents/:agent_id/book.a2ax402usdcllm
-
Register agent identityPOST /v1/agents/register is fail-closed: pay the $0.002 stamp from a wallet with USDC, or bind that wallet to a collected receipt it paid. A detectable EOA must personal_sign. A smart account proves ERC-1271. Demo receipts do not qualify.identityerc8004a2a
-
Agent spend bookGET|POST /v1/agents/:agent_id/book returns last-N collected spend for that agent_id, plus budget Y (cap), spent, and remaining under a prepaid ceiling. Possession-gated (register session or HMAC). Set budget with POST { session, budget }. Not a public index. You hold hub, model, and amount.possessiontreasuryspend
-
Foreign x402 book stampPOST /v1/agents/:agent_id/book/ingest — spent elsewhere → stamp here. Record x402 spend at another shop, or a cemented Nano send, on the possession book. Possession-gated (401 without session). Submitter pays a $0.002 x402 stamp on Base or Solana (not debited from prepaid budget) unless a pilot waiver key applies. evidence foreign_ingest. Returns verify_url like native completions. See GET /openapi.json and llms.txt Foreign ingest.possessioningesttreasury
-
ERC-8004 validatePOST /erc8004/validate turns a settled receipt into a score (0–100) for a registered agent_id.erc8004validation
-
Live model idsGET /v1/models lists OpenAI-shaped model ids for the drop-in /v1 door (install path, not the product). Public, no key.openai-compatibledrop-in
How to call
A2A endpoint (JSONRPC)
https://api.chit402.com/a2a-message
Documentation
https://api.chit402.com/llms.txt
Homepage
https://chit402.com
Listed in
Directories this entry was found in.
agenstry