Skip to content
CCPEDIAby Unity Nodes
Canton Network docsLedger API › Protobufs › Packages › com.digitalasset.canton.tea.v1 › Services › TrafficService

Prune

Updated 30-10-2026

com.digitalasset.canton.tea.v1

Prune

RPC/com.digitalasset.canton.tea.v1.TrafficService/Prune

Protocol Details

ProtocolgRPC
ServiceTrafficService
RPCPrune
Client streamNo
Server streamNo

Inputs

PruneRequest

Messagecom.digitalasset.canton.tea.v1.PruneRequest
Client streamNo
before_or_atTimestamp

Outputs

PruneResponse

Messagecom.digitalasset.canton.tea.v1.PruneResponse
Server streamNo
pruned_event_countint32
pruned_correlation_countint32

com.digitalasset.canton.tea.v1.PruneRequest

before_or_atTimestamp

com.digitalasset.canton.tea.v1.PruneResponse

pruned_event_countint32
pruned_correlation_countint32

History

Added3.7.0
grpcurl
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
}