Skip to main content

createContractMaintenanceTxInterface

Midnight.js API Reference v3.1.0


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