Skip to main content

CallOptionsBase

For the complete documentation index, see llms.txt

Midnight.js API Reference v4.0.4


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

Type Alias: CallOptionsBase<C, PCK>

CallOptionsBase<C, PCK> = object

Describes the target of a circuit invocation.

Type Parameters

C

C extends Contract.Any

PCK

PCK extends Contract.ProvableCircuitId<C>

Properties

additionalCoinEncPublicKeyMappings?

readonly optional additionalCoinEncPublicKeyMappings?: ReadonlyMap<CoinPublicKey, EncPublicKey>

An optional mapping of CoinPublicKey to EncPublicKey that can be used to resolve encryption keys for coins created during circuit execution.


circuitId

readonly circuitId: PCK

The identifier of the circuit to call.


compiledContract

readonly compiledContract: CompiledContract.CompiledContract<C, any>

The contract defining the circuit to call.


contractAddress

readonly contractAddress: ContractAddress

The address of the contract being executed.