Canton Network docsLedger API › gRPC API › Packages › com.digitalasset.canton.tea.v1 › Services › TrafficService
PruneEvents
Updated 16-11-2026
RPC
/com.digitalasset.canton.tea.v1.TrafficService/PruneEventsProtocol Details
ProtocolgRPC
ServiceTrafficService
RPCPruneEvents
Client streamNo
Server streamNo
Inputs
Messagecom.digitalasset.canton.tea.v1.PruneEventsRequest
Client streamNo
before_or_atTimestampOutputs
Messagecom.digitalasset.canton.tea.v1.PruneEventsResponse
Server streamNo
pruned_event_countint32Related Schemas
com.digitalasset.canton.tea.v1.PruneEventsRequest
com.digitalasset.canton.tea.v1.PruneEventsRequest
before_or_atTimestampcom.digitalasset.canton.tea.v1.PruneEventsResponse
com.digitalasset.canton.tea.v1.PruneEventsResponse
pruned_event_countint32History
Added
3.6.1grpcurl
grpcurl
# Add -plaintext if the server is not using TLS.
grpcurl \
-d @ \
<HOST:PORT> \
com.digitalasset.canton.tea.v1.TrafficService/PruneEvents <<'EOF'
{
"beforeOrAt": "string"
}
EOF
OKapplication/json
OK
{
"prunedEventCount": 0
}