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?
readonlyoptionaladditionalCoinEncPublicKeyMappings?: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
readonlycircuitId:PCK
The identifier of the circuit to call.
compiledContract
readonlycompiledContract:CompiledContract.CompiledContract<C,any>
The contract defining the circuit to call.
contractAddress
readonlycontractAddress:ContractAddress
The address of the contract being executed.