POST /api/chain/:slug/contracts/:id/verify
Walk every successful transition and verify that each one's fromState matches the previous one's toState, terminating in current_state.
This is independent of the entangled state-level PoHC validate — that checks the entangled state; this checks the state progression.
Auth
Bearer with viewer role or higher.
Response — 200
{
"ok": true,
"valid": true,
"broken_at": null,
"current_state": "funded",
"total_transitions": 1,
"zeqond_number": 2287439299
}
If a transition is out of order, valid: false and broken_at carries the offending transition id (or "final_state_mismatch" if the last toState doesn't match current_state).
Curl
curl -sS -X POST https://zeqapi.com/api/chain/my-iot-fleet/contracts/${CONTRACT_ID}/verify \
-H "Authorization: Bearer ${ZSM_KEY}"