Canton Network docsLedger API › Protobufs › Packages › com.digitalasset.canton.tea.v1 › Services › TrafficService
Prune
Updated 30-10-2026
RPC
/com.digitalasset.canton.tea.v1.TrafficService/PruneProtocol Details
ProtocolgRPC
ServiceTrafficService
RPCPrune
Client streamNo
Server streamNo
Inputs
Outputs
PruneResponse
Messagecom.digitalasset.canton.tea.v1.PruneResponse
Server streamNo
pruned_event_countint32pruned_correlation_countint32Related Schemas
com.digitalasset.canton.tea.v1.PruneRequest
com.digitalasset.canton.tea.v1.PruneRequest
before_or_atTimestampcom.digitalasset.canton.tea.v1.PruneResponse
com.digitalasset.canton.tea.v1.PruneResponse
pruned_event_countint32pruned_correlation_countint32History
Added
3.7.0grpcurl
grpcurl
# Add -plaintext if the server is not using TLS.
grpcurl \
-d @ \
<HOST:PORT> \
com.digitalasset.canton.tea.v1.TrafficService/Prune <<'EOF'
{
"beforeOrAt": "string"
}
EOF
OKapplication/json
OK
{
"prunedEventCount": 0,
"prunedCorrelationCount": 0
}