EIP-712 signed, timestamped attestation binding an agentId, the keccak256 digest
EIP-712 signed, timestamped attestation binding an agentId, the keccak256 digest of a declared state, and the paying wallet; attestor key at /transparency, verify offline with ethers.verifyTypedData. MUST be invoked when an agent needs third-party, non-repudiable proof that a state or decision existed at a point in time (audit trails, hand-offs, escrow). Do NOT use for hardware TEE, zk proofs or on-chain EAS. Settles $0.040 USDC via x402 on Base; no charge on failure; receipts at /api/ledger.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://enclave402.com/api/agent/attest
| Category | Code and developer |
|---|---|
| Provider host | enclave402.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 3 from 2 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-24 | valid payment request | 402 | $0.04 | 558 ms |
Example input (from the provider)
{
"body": {
"agentId": "agent-0x402-1",
"state": "{\"task\":\"rebalance\",\"decision\":\"hold\"}"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"agentId": {
"description": "Stable identifier or EVM address of the agent being attested.",
"examples": [
"agent-0x402-1",
"did:web:example.com:agents:planner"
],
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"state": {
"description": "Serialized state, decision, or payload hash to bind. Hashed with keccak256(utf8); the raw string is never stored.",
"examples": [
"{\"task\":\"rebalance\",\"decision\":\"hold\",\"at\":1789650000}"
],
"maxLength": 8192,
"type": "string"
}
},
"required": [
"agentId"
]
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"additionalProperties": false,
"properties": {
"attestation": {
"description": "Attestation status",
"enum": [
"SIGNED"
],
"type": "string"
},
"attestationId": {
"description": "keccak256 of the signature",
"pattern": "^0x[a-fA-F0-9]{64}$",
"type": "string"
},
"attestor": {
"description": "Gateway attestor address (published at /transparency)",
"pattern": "^0x[a-fA-F0-9]{40}$",
"type": "string"
},
"digest": {
"description": "EIP-712 typed-data hash that was signed",
"pattern": "^0x[a-fA-F0-9]{64}$",
"type": "string"
},
"eip712": {
"description": "domain, types, primaryType and message needed to verify offline",
"type": "object"
},
"enclaveRpc": {
"description": "Enclave verification endpoint when configured, else null",
"type": [
"string",
"null"
]
},
"settled": {
"description": "true when an x402 payment settled for this response",
"type": "boolean"
},
"signature": {
"description": "65-byte secp256k1 signature, hex",
"type": "string"
},
"teeProvider": {
"description": "Hardware TEE provider when configured, else null",
"type": [
"string",
"null"
]
},
"teeQuote": {
"description": "Hardware quote when a TEE is configured, else null",
"type": [
"string",
"null"
]
},
"ts": {
"description": "Response timestamp, UNIX milliseconds",
"type": "integer"
},
"verify": {
"description": "One-line verification recipe",
"type": "string"
}
},
"required": [
"attestation",
"attestationId",
"attestor",
"digest",
"signature",
"eip712",
"settled",
"ts"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}