Every viewing key held, the current one first. Sync opens under each.
Optionalcontext: RequestContextFresh buffers owned by the caller, which wipes them after use.
Optionalcontext: RequestContextFresh key objects; the caller destroys them.
Optionalcontext: RequestContext
The privacy roles of one shielded wallet, exposed as the functions the protocol needs of them and nothing more: no method returns a long-lived secret, and every method takes a batch so a remote holder answers a sync or a spend in one round trip per method.
decryptexposes only cipher output. Viewing role roots are derived from the canonical local secret and are never returned by this capability. Ciphertext is unauthenticated, so callers must verify decoded commitments before accepting an output. Malformed requests reject the whole batch.Proving is the one place the nullifier secret is consumed rather than derived from; it lives on the client-layer
ProofAuthority, next to the witness types it needs.Every batch method takes the caller's
RequestContext: a sync or a build that is cancelled or times out passes its signal on, so a remote holder stops the round trip too. In-process keys have nothing to cancel and ignore it.