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 / CallOptions

Type alias: CallOptions<PS, C, ICK>

CallOptions<PS, C, ICK>: CallOptionsBaseWithArguments<C, ICK> & Object

Complete configuration for a circuit call.

Type declaration

coinPublicKey

coinPublicKey: CoinPublicKey

The current user's ZSwap public key.

initialContractState

initialContractState: ContractState

The public state to run the circuit against.

initialPrivateState

initialPrivateState: PS

The private state to run the circuit against.

Type parameters

PS

C extends Contract<PS>

ICK extends ImpureCircuitId<C>