Skip to main content

Midnight.js API Reference v1.0.0


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

Type Alias: CallOptionsProviderDataDependencies

CallOptionsProviderDataDependencies = object

Data retrieved via providers that should be included in the call options.

Properties

coinPublicKey

readonly coinPublicKey: CoinPublicKey

The Zswap public key of the current user.


initialContractState

readonly initialContractState: ContractState

The initial public state of the contract to run the circuit against.


initialZswapChainState

readonly initialZswapChainState: ZswapChainState

The initial public Zswap state of the contract to run the circuit against.