Skip to main content

createContractMaintenanceTxInterface

For the complete documentation index, see llms.txt

Midnight.js API Reference v4.0.4


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

Function: createContractMaintenanceTxInterface()

createContractMaintenanceTxInterface<C>(providers, compiledContract, contractAddress): ContractMaintenanceTxInterface

Creates a ContractMaintenanceTxInterface.

Type Parameters​

C​

C extends Any

Parameters​

providers​

ContractProviders

The providers to use to build transactions.

compiledContract​

CompiledContract<C, any>

contractAddress​

string

The ledger address of the contract.

Returns​

ContractMaintenanceTxInterface