GetUpdates
/com.daml.ledger.api.v2.UpdateService/GetUpdatesProtocol Details
Inputs
GetUpdatesRequest
begin_exclusiveint64end_inclusiveint64update_formatUpdateFormatdescending_orderboolOutputs
GetUpdatesResponse
transactionTransactionreassignmentReassignmentoffset_checkpointOffsetCheckpointtopology_transactionTopologyTransactionRelated Schemas
com.daml.ledger.api.v2.GetUpdatesRequest
com.daml.ledger.api.v2.GetUpdatesRequest
begin_exclusiveint64end_inclusiveint64update_formatUpdateFormatdescending_orderboolcom.daml.ledger.api.v2.UpdateFormat
com.daml.ledger.api.v2.UpdateFormat
include_transactionsTransactionFormatinclude_reassignmentsEventFormatinclude_topology_eventsTopologyFormatcom.daml.ledger.api.v2.TransactionFormat
com.daml.ledger.api.v2.TransactionFormat
event_formatEventFormattransaction_shapeTransactionShapecom.daml.ledger.api.v2.EventFormat
com.daml.ledger.api.v2.EventFormat
filters_by_partyrepeated mapfilters_for_any_partyFiltersverboseboolcom.daml.ledger.api.v2.Filters
com.daml.ledger.api.v2.Filters
cumulativerepeated CumulativeFiltercom.daml.ledger.api.v2.CumulativeFilter
com.daml.ledger.api.v2.CumulativeFilter
wildcard_filterWildcardFilterinterface_filterInterfaceFiltertemplate_filterTemplateFiltercom.daml.ledger.api.v2.WildcardFilter
com.daml.ledger.api.v2.WildcardFilter
include_created_event_blobboolcom.daml.ledger.api.v2.InterfaceFilter
com.daml.ledger.api.v2.InterfaceFilter
interface_idIdentifierinclude_interface_viewboolinclude_created_event_blobboolcom.daml.ledger.api.v2.Identifier
com.daml.ledger.api.v2.Identifier
package_idstringmodule_namestringentity_namestringcom.daml.ledger.api.v2.TemplateFilter
com.daml.ledger.api.v2.TemplateFilter
template_idIdentifierinclude_created_event_blobboolcom.daml.ledger.api.v2.TransactionShape
com.daml.ledger.api.v2.TransactionShape
TRANSACTION_SHAPE_UNSPECIFIEDTRANSACTION_SHAPE_ACS_DELTATRANSACTION_SHAPE_LEDGER_EFFECTS
com.daml.ledger.api.v2.TopologyFormat
com.daml.ledger.api.v2.TopologyFormat
include_participant_authorization_eventsParticipantAuthorizationTopologyFormatcom.daml.ledger.api.v2.ParticipantAuthorizationTopologyFormat
com.daml.ledger.api.v2.ParticipantAuthorizationTopologyFormat
partiesrepeated stringcom.daml.ledger.api.v2.GetUpdatesResponse
com.daml.ledger.api.v2.GetUpdatesResponse
transactionTransactionreassignmentReassignmentoffset_checkpointOffsetCheckpointtopology_transactionTopologyTransactioncom.daml.ledger.api.v2.Transaction
com.daml.ledger.api.v2.Transaction
update_idstringcommand_idstringworkflow_idstringeffective_atTimestampeventsrepeated Eventoffsetint64synchronizer_idstringtrace_contextTraceContextrecord_timeTimestampexternal_transaction_hashbytespaid_traffic_costint64com.daml.ledger.api.v2.Event
com.daml.ledger.api.v2.Event
createdCreatedEventarchivedArchivedEventexercisedExercisedEventcom.daml.ledger.api.v2.CreatedEvent
com.daml.ledger.api.v2.CreatedEvent
offsetint64node_idint32contract_idstringtemplate_idIdentifiercontract_keyValuecontract_key_hashbytescreate_argumentsRecordcreated_event_blobbytesinterface_viewsrepeated InterfaceViewwitness_partiesrepeated stringsignatoriesrepeated stringobserversrepeated stringcreated_atTimestamppackage_namestringacs_deltaboolrepresentative_package_idstringcom.daml.ledger.api.v2.Value
com.daml.ledger.api.v2.Value
unitEmptyboolboolint64sint64dateint32timestampsfixed64numericstringpartystringtextstringcontract_idstringoptionalOptionallistListtext_mapTextMapgen_mapGenMaprecordRecordvariantVariantenumEnumcom.daml.ledger.api.v2.Optional
com.daml.ledger.api.v2.Optional
valueValuecom.daml.ledger.api.v2.List
com.daml.ledger.api.v2.List
elementsrepeated Valuecom.daml.ledger.api.v2.TextMap
com.daml.ledger.api.v2.TextMap
entriesrepeated Entrycom.daml.ledger.api.v2.TextMap.Entry
com.daml.ledger.api.v2.TextMap.Entry
keystringvalueValuecom.daml.ledger.api.v2.GenMap
com.daml.ledger.api.v2.GenMap
entriesrepeated Entrycom.daml.ledger.api.v2.GenMap.Entry
com.daml.ledger.api.v2.GenMap.Entry
keyValuevalueValuecom.daml.ledger.api.v2.Record
com.daml.ledger.api.v2.Record
record_idIdentifierfieldsrepeated RecordFieldcom.daml.ledger.api.v2.RecordField
com.daml.ledger.api.v2.RecordField
labelstringvalueValuecom.daml.ledger.api.v2.Variant
com.daml.ledger.api.v2.Variant
variant_idIdentifierconstructorstringvalueValuecom.daml.ledger.api.v2.Enum
com.daml.ledger.api.v2.Enum
enum_idIdentifierconstructorstringcom.daml.ledger.api.v2.InterfaceView
com.daml.ledger.api.v2.InterfaceView
interface_idIdentifierview_statusStatusview_valueRecordimplementation_package_idstringcom.daml.ledger.api.v2.ArchivedEvent
com.daml.ledger.api.v2.ArchivedEvent
offsetint64node_idint32contract_idstringtemplate_idIdentifierwitness_partiesrepeated stringpackage_namestringimplemented_interfacesrepeated Identifiercom.daml.ledger.api.v2.ExercisedEvent
com.daml.ledger.api.v2.ExercisedEvent
offsetint64node_idint32contract_idstringtemplate_idIdentifierinterface_idIdentifierchoicestringchoice_argumentValueacting_partiesrepeated stringconsumingboolwitness_partiesrepeated stringlast_descendant_node_idint32exercise_resultValuepackage_namestringimplemented_interfacesrepeated Identifieracs_deltaboolcom.daml.ledger.api.v2.TraceContext
com.daml.ledger.api.v2.TraceContext
traceparentstringtracestatestringcom.daml.ledger.api.v2.Reassignment
com.daml.ledger.api.v2.Reassignment
update_idstringcommand_idstringworkflow_idstringoffsetint64eventsrepeated ReassignmentEventtrace_contextTraceContextrecord_timeTimestampsynchronizer_idstringpaid_traffic_costint64com.daml.ledger.api.v2.ReassignmentEvent
com.daml.ledger.api.v2.ReassignmentEvent
unassignedUnassignedEventassignedAssignedEventcom.daml.ledger.api.v2.UnassignedEvent
com.daml.ledger.api.v2.UnassignedEvent
reassignment_idstringcontract_idstringtemplate_idIdentifiersourcestringtargetstringsubmitterstringreassignment_counteruint64assignment_exclusivityTimestampwitness_partiesrepeated stringpackage_namestringoffsetint64node_idint32com.daml.ledger.api.v2.AssignedEvent
com.daml.ledger.api.v2.AssignedEvent
sourcestringtargetstringreassignment_idstringsubmitterstringreassignment_counteruint64created_eventCreatedEventcom.daml.ledger.api.v2.OffsetCheckpoint
com.daml.ledger.api.v2.OffsetCheckpoint
offsetint64synchronizer_timesrepeated SynchronizerTimecom.daml.ledger.api.v2.SynchronizerTime
com.daml.ledger.api.v2.SynchronizerTime
synchronizer_idstringrecord_timeTimestampcom.daml.ledger.api.v2.TopologyTransaction
com.daml.ledger.api.v2.TopologyTransaction
update_idstringoffsetint64synchronizer_idstringrecord_timeTimestampeventsrepeated TopologyEventtrace_contextTraceContextcom.daml.ledger.api.v2.TopologyEvent
com.daml.ledger.api.v2.TopologyEvent
participant_authorization_changedParticipantAuthorizationChangedparticipant_authorization_revokedParticipantAuthorizationRevokedparticipant_authorization_addedParticipantAuthorizationAddedparticipant_authorization_onboardingParticipantAuthorizationOnboardingcom.daml.ledger.api.v2.ParticipantAuthorizationChanged
com.daml.ledger.api.v2.ParticipantAuthorizationChanged
party_idstringparticipant_idstringparticipant_permissionParticipantPermissioncom.daml.ledger.api.v2.ParticipantPermission
com.daml.ledger.api.v2.ParticipantPermission
PARTICIPANT_PERMISSION_UNSPECIFIEDPARTICIPANT_PERMISSION_SUBMISSIONPARTICIPANT_PERMISSION_CONFIRMATIONPARTICIPANT_PERMISSION_OBSERVATION
com.daml.ledger.api.v2.ParticipantAuthorizationRevoked
com.daml.ledger.api.v2.ParticipantAuthorizationRevoked
party_idstringparticipant_idstringcom.daml.ledger.api.v2.ParticipantAuthorizationAdded
com.daml.ledger.api.v2.ParticipantAuthorizationAdded
party_idstringparticipant_idstringparticipant_permissionParticipantPermissioncom.daml.ledger.api.v2.ParticipantAuthorizationOnboarding
com.daml.ledger.api.v2.ParticipantAuthorizationOnboarding
party_idstringparticipant_idstringparticipant_permissionParticipantPermission# Add -plaintext if the server is not using TLS.
# This RPC uses streaming semantics. Send additional JSON messages on stdin as needed.
grpcurl \
-d @ \
<HOST:PORT> \
com.daml.ledger.api.v2.UpdateService/GetUpdates <<'EOF'
{
"beginExclusive": "0",
"endInclusive": "0",
"updateFormat": {
"includeTransactions": {
"eventFormat": {
"filtersByParty": [
{
"key": {}
}
],
"filtersForAnyParty": {},
"verbose": true
},
"transactionShape": "TRANSACTION_SHAPE_UNSPECIFIED"
},
"includeReassignments": {
"filtersByParty": [
{
"key": {
"cumulative": [
{}
]
}
}
],
"filtersForAnyParty": {
"cumulative": [
{}
]
},
"verbose": true
},
"includeTopologyEvents": {
"includeParticipantAuthorizationEvents": {
"parties": [
"string"
]
}
}
},
"descendingOrder": true
}
EOF
{
"transaction": {
"updateId": "string",
"commandId": "string",
"workflowId": "string",
"effectiveAt": "string",
"events": [
{
"created": {
"offset": "0",
"nodeId": 0,
"contractId": "string",
"templateId": {},
"contractKey": {},
"contractKeyHash": "BASE64_ENCODED_BYTES",
"createArguments": {},
"createdEventBlob": "BASE64_ENCODED_BYTES"
}
}
],
"offset": "0",
"synchronizerId": "string",
"traceContext": {
"traceparent": "string",
"tracestate": "string"
}
}
}