DELXCOMMERCE Live contract

Agent workflow composition · agent-workflow

Delx Payload Size Check

Measure payload byte size against soft and hard ceilings before paying. Call when you need this bounded result before handing data to a downstream tool. Returns deterministic machine-readable JSON for $0.001 USDC via x402 on Base. Honest limit: execution uses only caller-supplied data in memory; it does not call a paid upstream, retain input, search the web, read a live RPC, or invoke a media generator. Results are advisory; the caller owns authorization, budgets, and production controls.

x402preflightpayloadagentslocal-firstmicro-usdc

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/payload-size-check -m POST -H 'x-delx-source: product-page' --max-amount 0.001 -b '{"payload":{"hello":"world"},"soft_limit_bytes":8192,"hard_limit_bytes":65536}'
InputPOST /api/v1/x402/payload-size-check
{
  "payload": {
    "hello": "world"
  },
  "soft_limit_bytes": 8192,
  "hard_limit_bytes": 65536
}
Delivered resultapplication/json
{
  "schema": "delx/util-payload-size-check/v1",
  "bytes": 17,
  "chars": 17,
  "soft_limit_bytes": 8192,
  "hard_limit_bytes": 65536,
  "within_soft": true,
  "within_hard": true,
  "status": "ok",
  "recommend_truncate": false
}

Machine-readable evidence

Inspect before paying.