Skip to content

@lelantos-org/sdk / primitives / fmdExpectedClue

Function: fmdExpectedClue() ​

ts
function fmdExpectedClue(
   J, 
   P, 
   dkRoot, 
   d, 
   r, 
   gamma?
): FmdClue;

Defined in: @lelantos-org/sdk/dist/fmd/diversified.d.ts:40

The clue a sender produces for address d of dkRoot with blinder r. Receiver side.

A published clue that differs was not made for this address with this r.

Parameters ​

ParameterType
JJubjub
PPoseidon
dkRootbigint
dbigint
rbigint
gamma?number

Returns ​

FmdClue

Throws ​

when r is zero mod q or d is not in [0, 2^128).