Documentation/Canton Network Docs/Ledger APIgRPC APIPackagesv2ServicesCommandCompletionServiceView on Canton Network Docs ↗
GetCompletionByHash
RPC
/com.daml.ledger.api.v2.CommandCompletionService/GetCompletionByHashProtocol Details
ProtocolgRPC
ServiceCommandCompletionService
RPCGetCompletionByHash
Client streamNo
Server streamNo
Inputs
GetCompletionByHashRequest
Messagecom.daml.ledger.api.v2.GetCompletionByHashRequest
Client streamNo
transaction_hashbytesOutputs
GetCompletionByHashResponse
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"
}
]
}