@midnight-ntwrk/midnight-js-contracts v0.2.5 • API
Midnight.js API Reference v0.2.5 / @midnight-ntwrk/midnight-js-contracts / getImpureCircuitIds
Function: getImpureCircuitIds()
getImpureCircuitIds<
C
>(contract
):ImpureCircuitId
<C
>[]
Typesafe version of Object.keys(contract.impureCircuits)
.
Type parameters
• C extends Contract
<any
, Witnesses
<any
>>
The contract type for which we would like impure circuit IDs.
Parameters
• contract: C
The contract having impure circuits for which we want ids.
Returns
ImpureCircuitId
<C
>[]