Documentation/Canton Network Docs/Ledger APIgRPC APIPackagesv2.testingServicesTimeServiceView on Canton Network Docs ↗
SetTime
RPC
/com.daml.ledger.api.v2.testing.TimeService/SetTimeProtocol Details
Inputs
SetTimeRequest
current_timeTimestampnew_timeTimestampOutputs
Empty
Related Schemas
com.daml.ledger.api.v2.testing.SetTimeRequest
com.daml.ledger.api.v2.testing.SetTimeRequest
current_timeTimestampnew_timeTimestampgrpcurl
grpcurl
# Add -plaintext if the server is not using TLS.
grpcurl \
-d @ \
<HOST:PORT> \
com.daml.ledger.api.v2.testing.TimeService/SetTime <<'EOF'
{
"currentTime": "string",
"newTime": "string"
}
EOF
OKapplication/json
OK
{}