Documentation/Canton Network Docs/Ledger APIProtobufsPackagescom.daml.ledger.api.v2ServicesStateServiceView on Canton Network Docs ↗
GetLatestPrunedOffsets
RPC
/com.daml.ledger.api.v2.StateService/GetLatestPrunedOffsetsProtocol Details
Inputs
GetLatestPrunedOffsetsRequest
Outputs
GetLatestPrunedOffsetsResponse
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"
}