Documentation/Canton Network Docs/Ledger APIgRPC APIPackagesv2ServicesStateServiceView on Canton Network Docs ↗
GetLedgerEnd
RPC
/com.daml.ledger.api.v2.StateService/GetLedgerEndProtocol Details
Inputs
GetLedgerEndRequest
Outputs
GetLedgerEndResponse
offsetint64Related Schemas
com.daml.ledger.api.v2.GetLedgerEndRequest
com.daml.ledger.api.v2.GetLedgerEndRequest
com.daml.ledger.api.v2.GetLedgerEndResponse
com.daml.ledger.api.v2.GetLedgerEndResponse
offsetint64grpcurl
grpcurl
# Add -plaintext if the server is not using TLS.
grpcurl \
-d @ \
<HOST:PORT> \
com.daml.ledger.api.v2.StateService/GetLedgerEnd <<'EOF'
{}
EOF
OKapplication/json
OK
{
"offset": "0"
}