Skip to main content

GET /api/tally/peer/envelopes/:zid

MethodGET
Path/api/tally/peer/envelopes/:zid
GroupTally Protocol
Authpeer-only — Ed25519-signed request from an allowlisted sibling domain
Sourceshared/api-core/src/routes/tallyProtocol.ts

What it does

Powers the unified vault. A sibling domain asks this domain for the coins it homes for a given ZID. Authorized by an Ed25519 signature over peer-envelopes|<zid>|<zeqond> (verified against the caller's published node key) plus a Zeqond replay window — never a user session. Your wallet calls it under the hood via GET /api/tally/envelopes/:zid?mesh=1, which fans out to every domain and merges the results, tagged by home domain.

Headers

HeaderMeaning
x-zeq-peer-originthe calling domain
x-zeq-peer-zeqondcurrent Zeqond (replay bound)
x-zeq-peer-sigEd25519 signature over peer-envelopes|zid|zeqond