GET /api/tally/peer/envelopes/:zid
| |
|---|
| Method | GET |
| Path | /api/tally/peer/envelopes/:zid |
| Group | Tally Protocol |
| Auth | peer-only — Ed25519-signed request from an allowlisted sibling domain |
| Source | shared/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.
| Header | Meaning |
|---|
x-zeq-peer-origin | the calling domain |
x-zeq-peer-zeqond | current Zeqond (replay bound) |
x-zeq-peer-sig | Ed25519 signature over peer-envelopes|zid|zeqond |