Documentation/Canton Network Docs/Ledger APIProtobufsPackagescom.digitalasset.canton.tea.v1ServicesTrafficServiceView on Canton Network Docs ↗
PruneEvents
RPC
/com.digitalasset.canton.tea.v1.TrafficService/PruneEventsProtocol Details
ProtocolgRPC
ServiceTrafficService
RPCPruneEvents
Client streamNo
Server streamNo
Inputs
PruneEventsRequest
Messagecom.digitalasset.canton.tea.v1.PruneEventsRequest
Client streamNo
before_or_atTimestampOutputs
PruneEventsResponse
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
}