DELXCOMMERCE Live contract

Agent operations · agent-ops

Delx Await Promise

Durable outcome promise for agents: pay $0.01 USDC once, wait for a time or signed webhook condition, then claim an opaque continuation envelope with an Ed25519 receipt. Idempotent replay, no subscription, no polling provider, and no continuation is exposed before the capability check.

x402agentagent-opsawaitpromiseoutcome-relayworkflow

One-command purchase

Run it from an agent.

No account or API key. AgentCash reads the 402 challenge, pays no more than the declared cap, retries the request and returns the result.

npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/await -m POST -H 'x-delx-source: product-page' --max-amount 0.01 -b '{"idempotency_key":"build-42-await","ttl_ms":3600000,"condition":{"kind":"webhook","event_type":"build.completed"},"resume_envelope":"ciphertext:v1:client-owned-opaque-envelope","delivery":{"mode":"claim"}}'
InputPOST /api/v1/x402/await
{
  "idempotency_key": "build-42-await",
  "ttl_ms": 3600000,
  "condition": {
    "kind": "webhook",
    "event_type": "build.completed"
  },
  "resume_envelope": "ciphertext:v1:client-owned-opaque-envelope",
  "delivery": {
    "mode": "claim"
  }
}
Delivered resultapplication/json
{
  "schema": "delx/await/v1",
  "promise_id": "123e4567-e89b-12d3-a456-426614174000",
  "state": "waiting",
  "created_at": "2026-08-04T16:00:00Z",
  "expires_at": "2026-08-04T17:00:00Z",
  "condition": {
    "kind": "webhook",
    "event_type": "build.completed"
  },
  "delivery": {
    "mode": "claim",
    "state": "claim_only",
    "attempts": 0,
    "event_id": null
  },
  "resume_envelope_sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "capability": "opaque-capability-returned-on-create",
  "receipt": {
    "schema": "delx/await-receipt/v1",
    "algorithm": "Ed25519"
  }
}

Machine-readable evidence

Inspect before paying.