Skip to main content

@midnight-ntwrk/midnight-js-contracts v0.2.5 • API


Midnight.js API Reference v0.2.5 / @midnight-ntwrk/midnight-js-contracts / DeployTxOptionsBase

Type alias: DeployTxOptionsBase<PS, C>

DeployTxOptionsBase<PS, C>: Object

Base type for deployment transaction configuration.

Type parameters

PS

C extends Contract<PS>

Type declaration

contract

readonly contract: C

The contract to use to execute circuits.

initialPrivateState

readonly initialPrivateState: PS

The initial contract private state to run the contract constructor against.