Skip to main content

Midnight.js API Reference v1.0.0


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

Function: createCircuitMaintenanceTxInterface()

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

Creates a CircuitMaintenanceTxInterface.

Type Parameters

C

C extends Contract<any, Witnesses<any>>

ICK

ICK extends string

Parameters

providers

ContractProviders<C, ICK>

The providers to use to create and submit transactions.

circuitId

ICK

The circuit ID the interface is for.

contractAddress

string

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

Returns

CircuitMaintenanceTxInterface