Behavior and consumption
Authors one typed value for later PROGRAM assembly or run consumption; it does not execute or publish.
Schedules a READ at one retained post-step checkpoint.
Local
Exact signatures with descriptions, requirements, inputs, returns, and examples.
observe_after_step(VARCHAR, UINTEGER, READ) # Schedules a READ at one retained post-step checkpoint.
| Name | Type | Use |
|---|---|---|
observation_key | VARCHAR Required byte-exact UTF-8 key, 1-256 bytes without NUL; keys must be unique within a candidate. | required positional |
step_index | UINTEGER Zero-based UINTEGER index of a retained successful post-step checkpoint. | required positional |
read | READ Required typed SQL value committed to the authored observation. | required positional |
| Name | Type |
|---|---|
observation | OBSERVATION |
Typed OBSERVATION authoring value. Returns one canonical typed value. Construction does not execute EVM code, contact RPC, or publish evidence.
Authors one typed value for later PROGRAM assembly or run consumption; it does not execute or publish.
SQL types bind first; widths, ABI selection, duplicates, empty programs, and selectors validate when the constructor executes.
Construction is deterministic and offline: no RPC, chain mutation, or evidence write.
Use it to author PROGRAM input, not as proof of execution or future success.