GetCommandStatus
/com.daml.ledger.api.v2.admin.CommandInspectionService/GetCommandStatusProtocol Details
Inputs
GetCommandStatusRequest
command_id_prefixstringstateCommandStatelimituint32Outputs
GetCommandStatusResponse
command_statusrepeated CommandStatusRelated Schemas
com.daml.ledger.api.v2.admin.GetCommandStatusRequest
com.daml.ledger.api.v2.admin.GetCommandStatusRequest
command_id_prefixstringstateCommandStatelimituint32com.daml.ledger.api.v2.admin.CommandState
com.daml.ledger.api.v2.admin.CommandState
COMMAND_STATE_UNSPECIFIEDCOMMAND_STATE_PENDINGCOMMAND_STATE_SUCCEEDEDCOMMAND_STATE_FAILED
com.daml.ledger.api.v2.admin.GetCommandStatusResponse
com.daml.ledger.api.v2.admin.GetCommandStatusResponse
command_statusrepeated CommandStatuscom.daml.ledger.api.v2.admin.CommandStatus
com.daml.ledger.api.v2.admin.CommandStatus
startedTimestampcompletedTimestampcompletionCompletionstateCommandStatecommandsrepeated Commandrequest_statisticsRequestStatisticsupdatesCommandUpdatessynchronizer_idstringtimingsrepeated Timingcom.daml.ledger.api.v2.Completion
com.daml.ledger.api.v2.Completion
command_idstringstatusStatusupdate_idstringuser_idstringact_asrepeated stringsubmission_idstringdeduplication_offsetint64deduplication_durationDurationtrace_contextTraceContextoffsetint64synchronizer_timeSynchronizerTimepaid_traffic_costint64com.daml.ledger.api.v2.TraceContext
com.daml.ledger.api.v2.TraceContext
traceparentstringtracestatestringcom.daml.ledger.api.v2.SynchronizerTime
com.daml.ledger.api.v2.SynchronizerTime
synchronizer_idstringrecord_timeTimestampcom.daml.ledger.api.v2.Command
com.daml.ledger.api.v2.Command
createCreateCommandexerciseExerciseCommandexercise_by_keyExerciseByKeyCommandcreate_and_exerciseCreateAndExerciseCommandcom.daml.ledger.api.v2.CreateCommand
com.daml.ledger.api.v2.CreateCommand
template_idIdentifiercreate_argumentsRecordcom.daml.ledger.api.v2.Identifier
com.daml.ledger.api.v2.Identifier
package_idstringmodule_namestringentity_namestringcom.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.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.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.ExerciseCommand
com.daml.ledger.api.v2.ExerciseCommand
template_idIdentifiercontract_idstringchoicestringchoice_argumentValuecom.daml.ledger.api.v2.ExerciseByKeyCommand
com.daml.ledger.api.v2.ExerciseByKeyCommand
template_idIdentifiercontract_keyValuechoicestringchoice_argumentValuecom.daml.ledger.api.v2.CreateAndExerciseCommand
com.daml.ledger.api.v2.CreateAndExerciseCommand
template_idIdentifiercreate_argumentsRecordchoicestringchoice_argumentValuecom.daml.ledger.api.v2.admin.RequestStatistics
com.daml.ledger.api.v2.admin.RequestStatistics
envelopesuint32request_sizeuint32recipientsuint32com.daml.ledger.api.v2.admin.CommandUpdates
com.daml.ledger.api.v2.admin.CommandUpdates
createdrepeated Contractarchivedrepeated Contractexerciseduint32fetcheduint32looked_up_by_keyuint32com.daml.ledger.api.v2.admin.Contract
com.daml.ledger.api.v2.admin.Contract
template_idIdentifiercontract_idstringcontract_keyValuecom.daml.ledger.api.v2.admin.Timing
com.daml.ledger.api.v2.admin.Timing
descriptionstringduration_msuint32# Add -plaintext if the server is not using TLS.
grpcurl \
-d @ \
<HOST:PORT> \
com.daml.ledger.api.v2.admin.CommandInspectionService/GetCommandStatus <<'EOF'
{
"commandIdPrefix": "string",
"state": "COMMAND_STATE_UNSPECIFIED",
"limit": 0
}
EOF
{
"commandStatus": [
{
"started": "string",
"completed": "string",
"completion": {
"commandId": "string",
"status": "string",
"updateId": "string",
"userId": "string",
"actAs": [
"string"
],
"submissionId": "string",
"deduplicationOffset": "0"
},
"state": "COMMAND_STATE_UNSPECIFIED",
"commands": [
{
"create": {
"templateId": {},
"createArguments": {}
}
}
],
"requestStatistics": {
"envelopes": 0,
"requestSize": 0,
"recipients": 0
},
"updates": {
"created": [
{
"templateId": {},
"contractId": "string",
"contractKey": {}
}
],
"archived": [
{
"templateId": {},
"contractId": "string",
"contractKey": {}
}
],
"exercised": 0,
"fetched": 0,
"lookedUpByKey": 0
},
"synchronizerId": "string"
}
]
}