FoundContract
Midnight.js API Reference v2.0.2
Midnight.js API Reference / @midnight-ntwrk/midnight-js-contracts / FoundContract
Type Alias: FoundContract<C>
FoundContract<
C> =object
Base type for a deployed contract that has been found on the blockchain.
Type Parameters
C
C extends Contract
Properties
callTx
readonlycallTx:CircuitCallTxInterface<C>
Interface for creating call transactions for a contract.
circuitMaintenanceTx
readonlycircuitMaintenanceTx:CircuitMaintenanceTxInterfaces<C>
An interface for creating maintenance transactions for circuits defined in the contract that was deployed.
contractMaintenanceTx
readonlycontractMaintenanceTx:ContractMaintenanceTxInterface
Interface for creating maintenance transactions for the contract that was deployed.
deployTxData
readonlydeployTxData:FinalizedDeployTxDataBase<C>
Data for the finalized deploy transaction corresponding to this contract.