The c402 protocol
c402 is a confidential compute layer that sits on top of x402 the same way x402 sits on top of HTTP. It adds exactly two headers. Everything else - what the computation is, what the inputs and outputs mean - is defined by the server.
Two headers
Describes the confidential computation: the TEE standard, the on-chain compute contract, the input schema/encoding, and the output schema. The client reads it to know what to encrypt and what to expect.
Proves the TEE executed. Every field is a real, independently re-verifiable on-chain artifact - decisionId, commitment, registry, tx, output handles. No fabricated quotes.
Reference packages
Trustless verification
The attestation is not a trust-us blob: it points at an on-chain commitment. A verifier re-reads that commitment from the registry on the declared network and confirms it matches, with no cooperation from the server. Try it on a real decision: