Saltar al contenido principal

GET /api/tally/account/:zid

Returns the aggregated tally state for a ZID — sums tokens across every state machine the ZID owns.

Auth

optionalAuth — anonymous-safe.

Response — 200

{
"ok": true,
"zid": "ZEQ07491829374",
"balance": 35253,
"max_supply": 73000,
"tokens_minted": 2390,
"machines": 2,
"slugs": ["my-iot-fleet", "zeq07491829374"],
"plan": "free",
"status": "active"
}

If the ZID owns no state machines, balance: 0, machines: 0, status: "no_machine".

Curl

curl -sS https://zeqapi.com/api/tally/account/ZEQ07491829374