Skip to content

@lelantos-org/sdk / primitives / buildSpendingKey

Function: buildSpendingKey() ​

ts
function buildSpendingKey(P, nsk): SpendingKey;

Defined in: @lelantos-org/sdk/dist/keys/keys.d.ts:30

Parameters ​

ParameterType
PPoseidon
nskbigint

Returns ​

SpendingKey

Throws ​

when the ivk or dk of nsk is zero mod q.