Agent Service · x402

Durable waiting for autonomous agents: defer work that cannot proceed yet and resume it…

Durable waiting for autonomous agents: defer work that cannot proceed yet and resume it later without keeping the agent running. Use Wait when an external service can send a webhook, but you need a temporary durable receiver that captures one event, retries c…

by wait.edgecasesystems.workers.dev · discovered, not yet claimed by its owner · updated 2026-09-10

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

Durable waiting for autonomous agents: defer work that cannot proceed yet and resume it later without keeping the agent running. Use Wait when an external service can send a webhook, but you need a temporary durable receiver that captures one event, retries callback delivery, and preserves recovery state without building that infrastructure yourself. Your callback handler or workflow resumes the work; Wait does not restart an agent process. One wait costs $0.01 for 60 seconds through 24 hours.

Tags: bazaar · edgecaseWait

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/8223.json for the price and payment options.
  3. Pay. Call GET https://wait.edgecasesystems.workers.dev/v1/waits. 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.01 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Uptime
1 of the last 1 checks answered
Calls (30d)
7 · 2 unique payers (third-party data from the public x402 Bazaar)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.010xc077a55e71a43ad002fbac7bf91d48e9866e572760s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xc077a55e71a43ad002fbac7bf91d48e9866e5727",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 60
  }
]

Schemas

Output schema (JSON Schema)
{
  "bazaar": {
    "info": {
      "input": {
        "body": {
          "callback_url": "https://your-agent.example.com/wait-callback",
          "client_reference": "example-wait",
          "timeout_seconds": 600
        },
        "bodyType": "json",
        "method": "POST",
        "type": "http"
      },
      "output": {
        "example": {
          "callback_token": "0000000000000000000000000000000000000000000000000000000000000000",
          "client_reference": "example-wait",
          "created_at": "2026-09-04T00:00:00.000Z",
          "event_url": "https://wait.edgecasesystems.workers.dev/e/0000000000000000000000000000000000000000000000000000000000000000",
          "expires_at": "2026-09-04T00:10:00.000Z",
          "status": "waiting",
          "status_url": "https://wait.edgecasesystems.workers.dev/s/0000000000000000000000000000000000000000000000000000000000000000",
          "wait_id": "00000000-0000-4000-8000-000000000000"
        },
        "type": "json"
      }
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "additionalProperties": false,
      "properties": {
        "input": {
          "additionalProperties": false,
          "properties": {
            "body": {
              "additionalProperties": false,
              "properties": {
                "callback_url": {
                  "format": "uri",
                  "type": "string"
                },
                "client_reference": {
                  "maxLength": 200,
                  "minLength": 1,
                  "type": "string"
                },
                "timeout_seconds": {
                  "maximum": 86400,
                  "minimum": 60,
                  "type": "integer"
                }
              },
              "required": [
                "callback_url",
                "timeout_seconds"
              ],
              "type": "object"
            },
            "bodyType": {
              "enum": [
                "json"
              ],
              "type": "string"
            },
            "method": {
              "enum": [
                "POST"
              ],
              "type": "string"
            },
            "type": {
              "const": "http",
              "type": "string"
            }
          },
          "required": [
            "type",
            "method",
            "bodyType",
            "body"
          ],
          "type": "object"
        },
        "output": {
          "additionalProperties": false,
          "properties": {
            "example": {
              "additionalProperties": false,
              "properties": {
                "callback_token": {
                  "pattern": "^[0-9a-f]{64}$",
                  "type": "string"
                },
                "client_reference": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "created_at": {
                  "format": "date-time",
                  "type": "string"
                },
                "event_url": {
                  "format": "uri",
                  "type": "string"
                },
                "expires_at": {
                  "format": "date-time",
                  "type": "string"
                },
                "status": {
                  "const": "waiting",
                  "type": "string"
                },
                "status_url": {
                  "format": "uri",
                  "type": "string"
                },
                "wait_id": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "required": [
                "wait_id",
                "status",
                "event_url",
                "status_url",
                "callback_token",
                "created_at",
                "expires_at"
              ],
              "type": "object"
            },
            "type": {
              "const": "json",
              "type": "string"
            }
          },
          "required": [
            "type",
            "example"
          ],
          "type": "object"
        }
      },
      "required": [
        "input",
        "output"
      ],
      "type": "object"
    }
  },
  "edgecaseWait": {
    "info": {
      "offerId": "event-24h-v1",
      "requestFingerprint": "0d0555ddfd1e6f5e472106dfc233f9fb04c897d5d90e456cdc02baed18a3cdca"
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "additionalProperties": false,
      "properties": {
        "offerId": {
          "const": "event-24h-v1",
          "type": "string"
        },
        "requestFingerprint": {
          "pattern": "^[0-9a-f]{64}$",
          "type": "string"
        }
      },
      "required": [
        "offerId",
        "requestFingerprint"
      ],
      "type": "object"
    }
  }
}
Example shape — generated from the schema, not a captured live response
null

Examples

curl
curl "https://wait.edgecasesystems.workers.dev/v1/waits"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://wait.edgecasesystems.workers.dev/v1/waits");
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://wait.edgecasesystems.workers.dev/v1/waits")
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
wait.edgecasesystems.workers.dev
Endpoint
https://wait.edgecasesystems.workers.dev/v1/waits
Machine-readable
/resources/8223.json