Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GetActiveContractsResponse

Example:

{
    offset: '42',
    workflowId: 'some-workflow-id',
    activeContracts: [
        {
            eventType: 'created',
            eventId: 'some-event-id',
            contractId: 'some-contract-id',
            templateId: {
                packageId: 'my-package-id',
                moduleName: 'SomeModule',
                entityName: 'SomeTemplate'
            },
            arguments: {
                fields: {
                    someKey: { valueType: 'bool', bool: true }
                }
            },
            witnessParties: [ 'Alice', 'Bob' ]
        }
    ]
}

To express values in a more concise way, you can have a look at the ValueHelpers.

see

CreatedEvent

see

Identifier

see

Record

Hierarchy

  • GetActiveContractsResponse

Index

Properties

Optional activeContracts

activeContracts: CreatedEvent[]

The list of contracts that were introduced by the workflow with the given workflow identifier at the offset.

offset

offset: string

Included in the last message. The client should start consuming the transactions endpoint with this offset.

Optional workflowId

workflowId: undefined | string

The workflow that created the contracts.

Generated using TypeDoc