Skip to content
CCPEDIAby Unity Nodes
Documentation/Canton Network Docs/Ledger APIProtobufsPackagescom.digitalasset.canton.tea.v1ServicesTrafficServiceView on Canton Network Docs ↗

PruneEvents

Other APIs›Protobuf›com.digitalasset.canton.tea.v1›PruneEvents

com.digitalasset.canton.tea.v1

PruneEvents

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

Protocol Details

ProtocolgRPC
ServiceTrafficService
RPCPruneEvents
Client streamNo
Server streamNo

Inputs

PruneEventsRequest

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

Outputs

PruneEventsResponse

Messagecom.digitalasset.canton.tea.v1.PruneEventsResponse
Server streamNo
pruned_event_countint32

com.digitalasset.canton.tea.v1.PruneEventsRequest

before_or_atTimestamp

com.digitalasset.canton.tea.v1.PruneEventsResponse

pruned_event_countint32

History

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