Skip to main content

createCircuitMaintenanceTxInterface

For the complete documentation index, see llms.txt

Midnight.js API Reference v4.0.4


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

Function: createCircuitMaintenanceTxInterface()

createCircuitMaintenanceTxInterface<C, PCK>(providers, circuitId, compiledContract, contractAddress): CircuitMaintenanceTxInterface

Creates a CircuitMaintenanceTxInterface.

Type Parameters​

C​

C extends Any

PCK​

PCK extends string

Parameters​

providers​

ContractProviders<C, PCK>

The providers to use to create and submit transactions.

circuitId​

PCK

The circuit ID the interface is for.

compiledContract​

CompiledContract<C, any>

contractAddress​

string

The address of the deployed contract for which this interface is being created.

Returns​

CircuitMaintenanceTxInterface