# Gray-Scott Reaction-Diffusion Complete Mass Transfer Ledger

> Gray-Scott Reaction-Diffusion Complete Mass Transfer Ledger is a paid API for AI agents from detect.halowerk.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-04).

Simulates spatially coupled Gray-Scott reaction-diffusion dynamics on a 2D grid and returns a full mass-transfer ledger including feed, conversion, and removal accounting at specified time steps.

## Facts

- Endpoint: POST https://detect.halowerk.com/v1/F-TD2000-GEO-INDUSTRY-B011/periodic-gray-scott-reaction-diffusion-complete-mass-transfer-ledger?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-04
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gray-scott-reaction-diffusion-complete-mass-transfer-ledger-064448af
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0mZ-1Qjvaamb9ohuqKuHR

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability gray-scott-reaction-diffusion-complete-mass-transfer-ledger-064448af -d '<json body>'
```

Example prompt: Run a Gray-Scott reaction-diffusion simulation on a 4x4 grid, with initial U values all 1.0 and initial V values all 0.0 except the center seeded at 0.5, diffusivity_u of 0.2, diffusivity_v of 0.1, feed rate 0.04, conversion rate 0.06, grid spacing 1.0, timestep 0.01, and sample snapshots at steps 0, 32, and 64 — then give me the complete mass-transfer ledger showing feed, conversion, and removal accounting.

## When to prefer this

Choose this endpoint when you need a numerically rigorous Gray-Scott reaction-diffusion simulation with explicit, structured mass-transfer accounting (feed, conversion, removal) for small 2D grids (up to 8x8), particularly when you need to verify mass balance or extract spatiotemporal concentration snapshots at precise timesteps. Prefer this over generic PDE solvers when the Gray-Scott model (two-species autocatalytic reaction with periodic boundary conditions) is your specific target and you require the full ledger output rather than just final-state concentration fields.

## Known failure modes

- Invalid grid dimensions (must be 4–8 rows and 4–8 columns per axis) return a validation error
- Diffusivity, feed, or conversion values outside [0,1] are rejected
- Timestep outside [0.0001, 0.1] or spacing outside [0.1, 10] cause schema validation failure
- Sample steps exceeding 128 or empty sample_steps array return an error
- Missing required fields (initial_u, initial_v, diffusivity_u, diffusivity_v, feed_rate, conversion_rate, spacing, timestep, sample_steps) result in a 400-level error
- Payment failure (insufficient USDC balance for x402) prevents execution

## How this service works

Recover a spatially coupled reaction-diffusion artifact and its full feed/conversion/removal accounting.

## Output

The endpoint returns the simulated Gray-Scott reaction-diffusion artifact containing concentration fields (U and V) at each requested sample step, along with a complete mass-transfer ledger that details the cumulative feed (inflow of U), conversion (U→V reaction), and removal (outflow of V) at each sampled timestep, enabling full mass-balance verification.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "artifact": {
   "type": "object",
   "required": [
    "grayScott"
   ],
   "properties": {
    "grayScott": {
     "type": "object",
     "required": [
      "data",
      "claim"
     ],
     "properties": {
      "data": {
       "type": "object",
       "required": [
        "initial_u",
        "initial_v",
        "diffusivity_u",
        "diffusivity_v",
        "feed_rate",
        "conversion_rate",
        "spacing",
        "timestep",
        "sample_steps"
       ],
       "properties": {
        "spacing": {
         "type": "number",
         "maximum": 10,
         "minimum": 0.1
        },
        "timestep": {
         "type": "number",
         "maximum": 0.1,
         "minimum": 0.0001
        },
        "feed_rate": {
         "type": "number",
         "maximum": 1,
         "minimum": 0
        },
        "initial_u": {
         "type": "array",
         "items": {
          "type": "array",
          "items": {
           "type": "number",
           "maximum": 1.5,
           "minimum": 0
          },
          "maxItems": 8,
          "minItems": 4
         },
         "maxItems": 8,
         "minItems": 4
        },
        "initial_v": {
         "type": "array",
         "items": {
          "type": "array",
          "items": {
           "type": "number",
           "maximum": 1.5,
           "minimum": 0
          },
          "maxItems": 8,
          "minItems": 4
         },
         "maxItems": 8,
         "minItems": 4
        },
        "sample_steps": {
         "type": "array",
         "items": {
          "type": "integer",
          "maximum": 128,
          "minimum": 0
         },
         "maxItems": 8,
         "minItems": 1
        },
        "diffusivity_u": {
         "type": "number",
         "maximum": 1,
         "minimum": 0
        },
        "diffusivity_v": {
         "type": "number",
         "maximum": 1,
         "minimum": 0
        },
        "conversion_rate": {
         "type": "number",
         "maximum": 1,
         "minimum": 0
        }
       },
       "additionalProperties": false
      },
      "claim": {}
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gray-scott-reaction-diffusion-complete-mass-transfer-ledger-064448af/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from detect.halowerk.com](https://www.zero.xyz/host/detect.halowerk.com/llms.txt)
