@arcium-hq/clientFunctions
getCircuitState
getCircuitState(
circuitSource):CircuitState
Internal
Determines the current state of a circuit based on its on-chain configuration.
Called internally by uploadCircuit - most users don't need this directly.
Parameters
| Parameter | Type | Description |
|---|---|---|
circuitSource | DecodeEnum | The circuitSource field from ComputationDefinitionAccount. |
Returns
The current state of the circuit.