Skip to main content

CallOptionsProviderDataDependencies

Midnight.js API Reference v2.0.2


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.