DELXCOMMERCE Live contract

Agent operations math · agent-ops-math

Seeded Bootstrap Sample

Seeded Bootstrap Sample: Seeded Bootstrap Sample samples indices with replacement for a reproducible bootstrap set from bounded caller-supplied values without an external provider. Call Seeded Bootstrap Sample when an agent needs a reproducible decision that another run can independently replay. Returns the deterministic selection plus seed provenance, population bounds, and the operation-specific outcome for Seeded Bootstrap Sample as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless, memory-only execution with no paid upstream, live RPC, web search, credentials, custody, signing, media generator, or input retention. Honest limit: Uses Python pseudorandomness for reproducibility, not cryptography, lotteries with value, security tokens, gambling, or custody. Advisory output only; the buyer owns authorization, payment policy, and production decisions.

seededdecisionrandomness

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/seeded-bootstrap-sample -m POST -H 'x-delx-source: product-page' --max-amount 0.001 -b '{"item_count":5,"sample_count":5,"seed":"boot-3"}'
InputPOST /api/v1/x402/seeded-bootstrap-sample
{
  "item_count": 5,
  "sample_count": 5,
  "seed": "boot-3"
}
Delivered resultapplication/json
{
  "schema": "delx/util-seeded-bootstrap-sample/v1",
  "operation": "seeded_decision:seeded_bootstrap_sample",
  "status": "pass",
  "result": {
    "indices": [
      2,
      1,
      4,
      2,
      4
    ],
    "with_replacement": true
  },
  "evidence": {
    "input_sha256": "8c3de2b558b614bca0e0ca49ffb6bdda5880a43e6338a605b48b1e8f111661f1",
    "retained": false,
    "external_calls": 0
  }
}

Machine-readable evidence

Inspect before paying.