Canton Network docsLedger API › Protobufs › Packages › com.daml.ledger.api.v2 › Services › CommandCompletionService
GetCompletionByHash
Updated 16-11-2026
RPC
/com.daml.ledger.api.v2.CommandCompletionService/GetCompletionByHashProtocol Details
ProtocolgRPC
ServiceCommandCompletionService
RPCGetCompletionByHash
Client streamNo
Server streamNo
Inputs
Messagecom.daml.ledger.api.v2.GetCompletionByHashRequest
Client streamNo
transaction_hashbytesOutputs
Messagecom.daml.ledger.api.v2.GetCompletionByHashResponse
Server streamNo
accepted_completionCompletionlast_rejected_completionsrepeated CompletionRelated Schemas
com.daml.ledger.api.v2.GetCompletionByHashRequest
com.daml.ledger.api.v2.GetCompletionByHashRequest
transaction_hashbytescom.daml.ledger.api.v2.GetCompletionByHashResponse
com.daml.ledger.api.v2.GetCompletionByHashResponse
accepted_completionCompletionlast_rejected_completionsrepeated Completioncom.daml.ledger.api.v2.Completion
com.daml.ledger.api.v2.Completion
command_idstringstatusStatusupdate_idstringuser_idstringact_asrepeated stringsubmission_idstringdeduplication_offsetint64deduplication_durationDurationtrace_contextTraceContextoffsetint64synchronizer_timeSynchronizerTimepaid_traffic_costint64transaction_hashbytescom.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_timeTimestampHistory
Added
3.6.1grpcurl
grpcurl
# Add -plaintext if the server is not using TLS.
grpcurl \
-d @ \
<HOST:PORT> \
com.daml.ledger.api.v2.CommandCompletionService/GetCompletionByHash <<'EOF'
{
"transactionHash": "BASE64_ENCODED_BYTES"
}
EOF
OKapplication/json
OK
{
"acceptedCompletion": {
"commandId": "string",
"status": "string",
"updateId": "string",
"userId": "string",
"actAs": [
"string"
],
"submissionId": "string",
"deduplicationOffset": "0"
},
"lastRejectedCompletions": [
{
"commandId": "string",
"status": "string",
"updateId": "string",
"userId": "string",
"actAs": [
"string"
],
"submissionId": "string",
"deduplicationOffset": "0"
}
]
}