Skip to main content

DataPrepareHandlerFunc.prepare() method

Signature:

prepare(hash: Uint8Array, did: DID, circuitId: CircuitId): Promise<Uint8Array>;

Parameters

ParameterTypeDescription
hashUint8Arraychallenge that will be signed
didDIDdid of identity that will prepare inputs
circuitIdCircuitIdcircuit id

Returns:

Promise<Uint8Array>

Promise<Uint8Array>