Skip to content

@lelantos-org/sdk / services / CreateSubscriptionInput

Interface: CreateSubscriptionInput ​

Defined in: @lelantos-org/sdk/dist/services/fmd-server/wire.d.ts:114

Properties ​

detectionKeyHex ​

ts
detectionKeyHex: string;

Defined in: @lelantos-org/sdk/dist/services/fmd-server/wire.d.ts:123

The γ expanded detection scalars, from detectionKeyFor + detectionKeyToHex.

Confers the full detection capability, which cannot be scoped or revoked: h_i is public, so dk = x_i - h_i recovers the root. The server can then identify this recipient's incoming notes, at a 2^-γ false-positive rate, for as long as the key is valid.


gamma ​

ts
gamma: number;

Defined in: @lelantos-org/sdk/dist/services/fmd-server/wire.d.ts:124


tokenHex ​

ts
tokenHex: string;

Defined in: @lelantos-org/sdk/dist/services/fmd-server/wire.d.ts:132

Capability token for /v1/matches and DELETE /v1/subscriptions, bare 32-byte hex. Build it with deriveSubscriptionToken + subscriptionTokenToHex, never from dk or the detection key: the scalars are x_i = dk + h_i over a publicly computable h_i, so this server can invert either back to dk and mint its own token.