Utilities · x402

EIP-712 signed, timestamped attestation binding an agentId, the keccak256 digest of a d…

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-repudi…

by enclave402.com · discovered, not yet claimed by its owner · updated 2026-09-18

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

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.

Tags: bazaar

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/6769.json for the price and payment options.
  3. Pay. Call GET https://enclave402.com/api/agent/attest. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.04 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Uptime
0 of the last 1 checks answered
Calls (30d)
2 · 1 unique payers (third-party data from the public x402 Bazaar)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.040xbeF3e7CFd486C14dD8c3aA5911134bF361B973C5300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xbeF3e7CFd486C14dD8c3aA5911134bF361B973C5",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "40000",
    "amountUsd": 0.04,
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON 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"
    }
  }
}
Example shape — generated from the schema, not a captured live response
null

Examples

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 header

Details

Provider
enclave402.com
Endpoint
https://enclave402.com/api/agent/attest
Machine-readable
/resources/6769.json