الانتقال إلى المحتوى الرئيسي

GET /api/chain/:slug/state

Return the most recent audit-log row for the state machine. optionalAuth: public machines respond to anonymous callers.

Response — 200

{
"ok": true,
"slug": "my-iot-fleet",
"zeqond": "2287439213",
"state_hash": "0123abc…64hex",
"prev_hash": "fedcba9…64hex",
"transition_type": "event",
"last_event_at": "2026-04-28T01:49:13.213Z"
}

If the entangled state has zero rows, zeqond is the genesis Zeqond and the hash fields are null.

Curl

curl -sS https://zeqapi.com/api/chain/my-iot-fleet/state