ExerciseChoiceRequest
Defined in: packages/react/src/hooks/useExerciseChoice.ts:19
Exercise choice request parameters
Properties
Section titled “Properties”actAs?
Section titled “actAs?”
optionalactAs:string[]
Defined in: packages/react/src/hooks/useExerciseChoice.ts:31
Parties that will act as the choice executor
choiceArgument
Section titled “choiceArgument”choiceArgument:
Record<string,unknown>
Defined in: packages/react/src/hooks/useExerciseChoice.ts:27
Choice argument (the payload for the choice)
choiceName
Section titled “choiceName”choiceName:
string
Defined in: packages/react/src/hooks/useExerciseChoice.ts:25
Choice name to exercise
commandId?
Section titled “commandId?”
optionalcommandId:string
Defined in: packages/react/src/hooks/useExerciseChoice.ts:29
Unique command identifier (auto-generated if not provided)
contractId
Section titled “contractId”contractId:
string
Defined in: packages/react/src/hooks/useExerciseChoice.ts:21
Contract ID to exercise the choice on
readAs?
Section titled “readAs?”
optionalreadAs:string[]
Defined in: packages/react/src/hooks/useExerciseChoice.ts:33
Parties that should have read access
synchronizerId?
Section titled “synchronizerId?”
optionalsynchronizerId:string
Defined in: packages/react/src/hooks/useExerciseChoice.ts:35
Synchronizer to use (auto-selected if not provided)
templateId
Section titled “templateId”templateId:
string
Defined in: packages/react/src/hooks/useExerciseChoice.ts:23
Template ID (e.g., ‘Splice.Wallet.Payment:PaymentRequest’)