Exercise a choice on an existing contract.
Example:
{ commandType: 'create', templateId: { packageId: 'some-package-id', moduleName: 'SomeModule', entityName: 'SomeTemplate' }, arguments: { fields: { owner: { valueType: 'party', party: 'Alice' } } } }
To express values in a more concise way, you can have a look at the ValueHelpers.
Identifier
Record
The arguments required for creating a contract from this template.
A fixed type tag that identifies this as a create command
The template of contract the client wants to create.
Generated using TypeDoc
Exercise a choice on an existing contract.
Example:
{ commandType: 'create', templateId: { packageId: 'some-package-id', moduleName: 'SomeModule', entityName: 'SomeTemplate' }, arguments: { fields: { owner: { valueType: 'party', party: 'Alice' } } } }
To express values in a more concise way, you can have a look at the ValueHelpers.
Identifier
Record