Skip to content

@lelantos-org/sdk / primitives / deriveDepositRho

Function: deriveDepositRho() ​

ts
function deriveDepositRho(ock, nonce): bigint;

Defined in: @lelantos-org/sdk/dist/notes/seed.d.ts:66

rho of a deposit note, from ock and a 32-byte nonce the caller draws at random.

Parameters ​

ParameterType
ockUint8Array
nonceUint8Array

Returns ​

bigint

Throws ​

when ock or nonce is not 32 bytes.