Skip to main content

Midnight.js API Reference v1.0.0


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

Type Alias: UnsubmittedDeployTxData<C>

UnsubmittedDeployTxData<C> = UnsubmittedDeployTxDataBase<C> & object

Data for an unsubmitted deployment transaction.

Type declaration

private

readonly private: UnsubmittedTxData & object

The data of this transaction that is only visible on the user device.

Type declaration

initialZswapState

readonly initialZswapState: ZswapLocalState

The Zswap state produced as a result of running the contract constructor. Useful for when inputs or outputs are created in the contract constructor.

Type Parameters

C

C extends Contract