WitnessProvider

fun interface WitnessProvider

Provides witness data for circuit execution.

A witness callback receives the current private state (as a JSON string or null) and returns a WitnessResult containing the updated private state and witness bytes.

Functions

Link copied to clipboard
abstract fun provide(privateStateJson: Any?): WitnessResult