DataPrepareHandlerFunc.prepare() method
Signature:
prepare(hash: Uint8Array, did: DID, circuitId: CircuitId): Promise<Uint8Array>;
Parameters
Parameter | Type | Description |
---|---|---|
hash | Uint8Array | challenge that will be signed |
did | DID | did of identity that will prepare inputs |
circuitId | CircuitId | circuit id |
Returns:
Promise<Uint8Array>
Promise<Uint8Array>