{"api":"v1","generated_at":"2026-09-16T05:24:57.218Z","licence":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"TOLL, with a link to the page cited"},"page":"https://tollindex.com/e/agent-halowerk-com-v1-state-machine-step-b8e60f","pinned_page":"https://tollindex.com/e/agent-halowerk-com-v1-state-machine-step-b8e60f/at/2026-09-16T04-48Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-09-16T04:48:25.992Z","snapshot_stamp":"2026-09-16T04-48Z","endpoint":{"slug":"agent-halowerk-com-v1-state-machine-step-b8e60f","canonical_url":"https://agent.halowerk.com/v1/state-machine-step","resource":"https://agent.halowerk.com/v1/state-machine-step","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Takes a machine definition, the current state, one event and an optional context, and computes a single step. Transitions may carry a guard, which is a declared comparison — field, operator, value — and never an expression: the field is a dotted path into context or payload, so a machine handed in by a stranger cannot execute anything on this server.","service_name":null,"declared_category":null,"declared_tags":[],"route_template":null,"registry_updated":"2026-08-19T15:03:32.732Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"state machine step","category":"compute","first_observed_by_toll":"2026-09-10T19:08:24.178Z","last_observed_by_toll":"2026-09-16T04:48:25.991Z","observation_began":"2026-09-10"},"presence":{"listed_now":true,"first_absent_at":null,"delisting_confirmed_at":null,"events":[{"registry":"cdp","at":"2026-09-10T19:08:24.178Z","event":"listed"}]},"accepts":[{"registry":"cdp","ordinal":0,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.002 USDC","amount_units":0.002,"decimals_known":true,"pay_to":"0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E","scheme":"exact"}],"counters":{"observed_at":"2026-09-16T04:48:25.992Z","calls_30d":1,"unique_payers_30d":1,"last_called_at":"2026-08-19T15:03:32.130Z"},"validation":{"latest":{"observed_at":"2026-09-15T06:20:19.249Z","state":"pass","failed_checks":["bazaar.info.output"],"endpoint_http_status":402,"run_id":"daily-2026-09-15"},"uptime":[{"days":7,"observed":5,"passed":5,"ratio":1},{"days":30,"observed":5,"passed":5,"ratio":1},{"days":90,"observed":5,"passed":5,"ratio":1}],"history_90d":[{"observed_at":"2026-09-15T06:20:19.249Z","state":"pass","failed_checks":["bazaar.info.output"],"run_id":"daily-2026-09-15","state_changed":false},{"observed_at":"2026-09-14T05:50:19.427Z","state":"pass","failed_checks":["bazaar.info.output"],"run_id":"daily-2026-09-14","state_changed":false},{"observed_at":"2026-09-13T05:43:15.957Z","state":"pass","failed_checks":["bazaar.info.output"],"run_id":"daily-2026-09-13","state_changed":false},{"observed_at":"2026-09-12T08:00:17.924Z","state":"pass","failed_checks":["bazaar.info.output"],"run_id":"daily-2026-09-12","state_changed":false},{"observed_at":"2026-09-11T11:55:54.536Z","state":"pass","failed_checks":["bazaar.info.output"],"run_id":"daily-2026-09-11","state_changed":true}]},"seller":{"wallet":"0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E","page":"https://tollindex.com/seller/0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E","endpoints":1553,"hosts":67},"reports":0,"registry_record":{"cdp":[{"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","asset":"USDC","version":"2","eip712Domain":{"name":"USD Coin","chainId":8453,"version":"2","verifyingContract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"network_name":"Base Mainnet","assetTransferMethod":"eip3009"},"payTo":"0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E","amount":"2000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":300}],"quality":{"lastCalledAt":"2026-08-19T15:03:32.13Z","l30DaysTotalCalls":1,"l30DaysUniquePayers":1},"resource":"https://agent.halowerk.com/v1/state-machine-step","extensions":{"bazaar":{"info":{"input":{"body":{"event":{"name":"quote_received","payload":{"amount_eur":420}},"context":{"attempts":1},"machine":{"states":[{"on":[{"event":"quote_received","guard":{"op":"lte","field":"payload.amount_eur","value":500},"target":"quote_accepted","actions":["book_slot"]},{"event":"quote_received","target":"needs_approval","actions":["request_approval"]},{"event":"cancel","target":"cancelled"}],"name":"awaiting_quote","timeout_s":3600,"timeout_target":"expired","timeout_actions":["notify_requester"]},{"on":[{"event":"cancel","target":"cancelled"}],"name":"quote_accepted"},{"on":[{"event":"approved","target":"quote_accepted"}],"name":"needs_approval"},{"name":"cancelled","final":true},{"name":"expired","final":true}],"initial":"awaiting_quote"},"current_state":"awaiting_quote","elapsed_in_state_s":120,"timeout_precedence":"timeout"},"type":"http","method":"POST","bodyType":"json"}},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["machine","current_state","event"],"properties":{"event":{"type":"object","required":["name"],"properties":{"name":{"type":"string","maxLength":64,"minLength":1,"description":"Event name."},"payload":{"type":"object","description":"Event data, addressable in guards as payload.<field>."}},"description":"The event to apply.","additionalProperties":false},"context":{"type":"object","description":"Machine context, addressable in guards as context.<field>. Never modified."},"machine":{"type":"object","required":["initial","states"],"properties":{"states":{"type":"array","items":{"type":"object","required":["name"],"properties":{"on":{"type":"array","items":{"type":"object","required":["event","target"],"properties":{"event":{"type":"string","maxLength":64,"minLength":1,"description":"Event name this transition reacts to."},"guard":{"type":"object","required":["field","op"],"properties":{"op":{"enum":["eq","ne","gt","gte","lt","lte","in","not_in","exists","not_exists"],"type":"string","description":"Comparison operator."},"field":{"type":"string","maxLength":200,"minLength":1,"description":"Dotted path starting with context. or payload., e.g. context.attempts."},"value":{"description":"Right-hand operand. Not used by exists and not_exists; an array for in and not_in."}},"description":"Condition that must hold for this transition to be taken.","additionalProperties":false},"target":{"type":"string","maxLength":64,"minLength":1,"description":"State to move to."},"actions":{"type":"array","items":{"type":"string","maxLength":64,"minLength":1},"maxItems":20,"description":"Actions triggered by this transition."}},"additionalProperties":false},"maxItems":50,"description":"Event-driven transitions out of this state, evaluated in order."},"name":{"type":"string","maxLength":64,"minLength":1,"description":"State name, unique within the machine."},"final":{"type":"boolean","default":false,"description":"If true no event is accepted in this state."},"timeout_s":{"type":"number","maximum":31536000,"minimum":0,"description":"Deadline for this state in seconds."},"timeout_target":{"type":"string","maxLength":64,"minLength":1,"description":"State to move to when the deadline is exceeded. Without it a breach is only reported."},"timeout_actions":{"type":"array","items":{"type":"string","maxLength":64,"minLength":1},"maxItems":20,"description":"Actions triggered by the deadline transition."}},"additionalProperties":false},"maxItems":200,"minItems":1,"description":"The states of the machine."},"initial":{"type":"string","maxLength":64,"minLength":1,"description":"Name of the initial state. Must be one of the defined states."}},"description":"The automaton definition.","additionalProperties":false},"current_state":{"type":"string","maxLength":64,"minLength":1,"description":"The state the machine is in right now."},"elapsed_in_state_s":{"type":"number","default":0,"maximum":31536000,"minimum":0,"description":"Seconds already spent in current_state. Supplied by you, so the result does not depend on this server clock."},"timeout_precedence":{"enum":["timeout","event"],"type":"string","default":"timeout","description":"Which side wins when the deadline is breached and an event transition also matches."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}}}},"description":"Takes a machine definition, the current state, one event and an optional context, and computes a single step. Transitions may carry a guard, which is a declared comparison — field, operator, value — and never an expression: the field is a dotted path into context or payload, so a machine handed in by a stranger cannot execute anything on this server.","lastUpdated":"2026-08-19T15:03:32.732Z","x402Version":2}]}}