Midnight.js API Reference v1.0.0
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
readonly
callTx:CircuitCallTxInterface
<C
>
Interface for creating call transactions for a contract.
circuitMaintenanceTx
readonly
circuitMaintenanceTx:CircuitMaintenanceTxInterfaces
<C
>
An interface for creating maintenance transactions for circuits defined in the contract that was deployed.
contractMaintenanceTx
readonly
contractMaintenanceTx:ContractMaintenanceTxInterface
Interface for creating maintenance transactions for the contract that was deployed.
deployTxData
readonly
deployTxData:FinalizedDeployTxDataBase
<C
>
Data for the finalized deploy transaction corresponding to this contract.