Skip to main content

Midnight.js API Reference v1.0.0


Midnight.js API Reference / @midnight-ntwrk/midnight-js-contracts / ContractProviders

Type Alias: ContractProviders<C, ICK, PS>

ContractProviders<C, ICK, PS> = MidnightProviders<ICK, PrivateStateId, PS>

Convenience type for representing the set of providers necessary to use a given contract.

Type Parameters

C

C extends Contract = Contract

ICK

ICK extends ImpureCircuitId<C> = ImpureCircuitId<C>

PS

PS = PrivateState<C>