EIP-712 signed, timestamped attestation binding an agentId, the keccak256 digest of a decl
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.
40000 (raw units)
price
2
calls / 30d
1
unique payers
2026-09-18
updated
Provider
enclave402.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xbeF3e7CFd486C14dD8c3aA5911134bF361B973C5",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "40000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"agentId": "agent-0x402-1",
"state": "{\"task\":\"rebalance\",\"decision\":\"hold\"}"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"attestation": "SIGNED",
"attestationId": "0x1111111111111111111111111111111111111111111111111111111111111111",
"attestor": "0x2222222222222222222222222222222222222222",
"digest": "0x3333333333333333333333333333333333333333333333333333333333333333",
"eip712": {},
"enclaveRpc": null,
"settled": true,
"signature": "0x4444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444",
"teeProvider": null,
"teeQuote": null,
"ts": 1767225600000,
"verify": "ethers.verifyTypedData(...)"
},
"type": "json"
}
},
"schema": {
"$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"
}
}
}Use it
curl
curl "https://enclave402.com/api/agent/attest" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://enclave402.com/api/agent/attest");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://enclave402.com/api/agent/attest")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/6769.json, and this resource appears in /discovery/resources and /discovery/search.