Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SubmitRequest

The submitted commands will be processed atomically in a single transaction.

Moreover, each Command in commands will be executed in the order specified by the request.

Example:

{
    commands: {
        applicationId: 'MyAwesomeApplication',
        commandId: 'fa7c46eb-bbf9-4eb9-9302-1123b42ce244',
        party: 'Alice',
        workflowId: 'some-workflow-id',
        ledgerEffectiveTime: {
            seconds: 1554382900,
            nanoseconds: 0
        },
        maximumRecordTime: {
            seconds: 1554382900,
            nanoseconds: 500000000
        },
        list: [
            {
                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.

see

Commands

see

Timestamp

see

Command

see

Identifier

see

Record

Hierarchy

  • SubmitRequest

Index

Properties

Properties

commands

commands: Commands

Generated using TypeDoc