Documentation/Canton Network Docs/Ledger API › Protobufs › Packages › com.daml.ledger.api.v2 › Services › StateServiceView on Canton Network Docs ↗
GetLatestPrunedOffsets
RPC
/com.daml.ledger.api.v2.StateService/GetLatestPrunedOffsetsProtocol Details
ProtocolgRPC
ServiceStateService
RPCGetLatestPrunedOffsets
Client streamNo
Server streamNo
Inputs
GetLatestPrunedOffsetsRequest
Messagecom.daml.ledger.api.v2.GetLatestPrunedOffsetsRequest
Client streamNo
Outputs
GetLatestPrunedOffsetsResponse
Messagecom.daml.ledger.api.v2.GetLatestPrunedOffsetsResponse
Server streamNo
participant_pruned_up_to_inclusiveint64all_divulged_contracts_pruned_up_to_inclusiveint64Related Schemas
com.daml.ledger.api.v2.GetLatestPrunedOffsetsRequest
com.daml.ledger.api.v2.GetLatestPrunedOffsetsRequest
com.daml.ledger.api.v2.GetLatestPrunedOffsetsResponse
com.daml.ledger.api.v2.GetLatestPrunedOffsetsResponse
participant_pruned_up_to_inclusiveint64all_divulged_contracts_pruned_up_to_inclusiveint64grpcurl
grpcurl
# Add -plaintext if the server is not using TLS.
grpcurl \
-d @ \
<HOST:PORT> \
com.daml.ledger.api.v2.StateService/GetLatestPrunedOffsets <<'EOF'
{}
EOF
OKapplication/json
OK
{
"participantPrunedUpToInclusive": "0",
"allDivulgedContractsPrunedUpToInclusive": "0"
}