Canton.Ledger.Grpc
0.4.0-preview.1
Prefix Reserved
dotnet add package Canton.Ledger.Grpc --version 0.4.0-preview.1
NuGet\Install-Package Canton.Ledger.Grpc -Version 0.4.0-preview.1
<PackageReference Include="Canton.Ledger.Grpc" Version="0.4.0-preview.1" />
<PackageVersion Include="Canton.Ledger.Grpc" Version="0.4.0-preview.1" />
<PackageReference Include="Canton.Ledger.Grpc" />
paket add Canton.Ledger.Grpc --version 0.4.0-preview.1
#r "nuget: Canton.Ledger.Grpc, 0.4.0-preview.1"
#:package Canton.Ledger.Grpc@0.4.0-preview.1
#addin nuget:?package=Canton.Ledger.Grpc&version=0.4.0-preview.1&prerelease
#tool nuget:?package=Canton.Ledger.Grpc&version=0.4.0-preview.1&prerelease
Canton.Ledger.Grpc
Generated gRPC client stubs for the Canton Ledger API.
Overview
This package provides low-level gRPC client stubs generated from the official Canton Ledger API protobuf definitions (Canton Ledger API version 3.4.11). It enables direct communication with Canton participant nodes.
All generated types live under the Com.Daml.Ledger.Api.V2 namespace (admin services under Com.Daml.Ledger.Api.V2.Admin), matching the csharp_namespace set in the upstream proto files. No type lives under Canton.Ledger.Grpc — that is only the NuGet package and assembly name.
Services Included
Command Services
CommandService- Submit commands and wait for resultsCommandSubmissionService- Async command submissionCommandCompletionService- Track command completions
Query Services
StateService- Query active contracts and ledger stateUpdateService- Stream ledger updatesEventQueryService- Query historical events
Admin Services
PartyManagementService- Allocate and manage partiesUserManagementService- Manage ledger users and rightsPackageManagementService- Upload and manage Daml packages
Usage
using Com.Daml.Ledger.Api.V2;
using Com.Daml.Ledger.Api.V2.Admin;
using Grpc.Net.Client;
// Create a gRPC channel
var channel = GrpcChannel.ForAddress("https://localhost:5001");
// Create service clients
var commandService = new CommandService.CommandServiceClient(channel);
var partyService = new PartyManagementService.PartyManagementServiceClient(channel);
// Submit a command
var response = await commandService.SubmitAndWaitAsync(new SubmitAndWaitRequest
{
Commands = new Commands { ... }
});
Version
Generated from Canton Ledger API protos version 3.4.11 (downloaded from Maven Central at build time).
Related Packages
Canton.Ledger.Grpc.Client- High-level client with integration toDaml.RuntimeDaml.Runtime- Runtime types for generated Daml contracts
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Google.Protobuf (>= 3.35.1)
- Grpc.Net.Client (>= 2.80.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.10)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Canton.Ledger.Grpc:
| Package | Downloads |
|---|---|
|
Daml.Runtime.Grpc
Bidirectional conversion between Daml.Runtime value types and Canton Ledger API v2 protobuf messages. |
|
|
Canton.Ledger.Grpc.Client
High-level gRPC client for the Canton Ledger API with integration to Daml.Runtime types. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.4.0-preview.1 | 105 | 7/18/2026 |
| 0.2.0-preview.1 | 104 | 7/6/2026 |
| 0.1.5-preview.1 | 80 | 6/25/2026 |
| 0.1.4-preview.1 | 68 | 6/15/2026 |