Canton.Ledger.Grpc 0.7.1

Prefix Reserved
dotnet add package Canton.Ledger.Grpc --version 0.7.1
                    
NuGet\Install-Package Canton.Ledger.Grpc -Version 0.7.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Canton.Ledger.Grpc" Version="0.7.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Canton.Ledger.Grpc" Version="0.7.1" />
                    
Directory.Packages.props
<PackageReference Include="Canton.Ledger.Grpc" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Canton.Ledger.Grpc --version 0.7.1
                    
#r "nuget: Canton.Ledger.Grpc, 0.7.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Canton.Ledger.Grpc@0.7.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Canton.Ledger.Grpc&version=0.7.1
                    
Install as a Cake Addin
#tool nuget:?package=Canton.Ledger.Grpc&version=0.7.1
                    
Install as a Cake Tool

Canton.Ledger.Grpc

Generated gRPC client stubs for the Canton Ledger API, part of the Canton .NET SDK.

Installation

dotnet add package Canton.Ledger.Grpc --version 0.7.1

Overview

This package provides low-level gRPC client stubs generated from the official Canton Ledger API protobuf definitions (Canton Ledger API version 3.6.1). 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 results
  • CommandSubmissionService - Async command submission
  • CommandCompletionService - Track command completions

Query Services

  • StateService - Query active contracts and ledger state
  • UpdateService - Stream ledger updates
  • EventQueryService - Query historical events

Admin Services

  • PartyManagementService - Allocate and manage parties
  • UserManagementService - Manage ledger users and rights
  • PackageManagementService - 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.6.1 (downloaded from Maven Central at build time).

  • Canton.Ledger.Grpc.Client - High-level client with integration to Daml.Runtime
  • Daml.Runtime - Runtime types for generated Daml contracts
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Canton.Ledger.Grpc:

Package Downloads
Canton.Ledger.Kernel

Transport-neutral client kernel for Canton participant nodes: OAuth2 client-credentials and static token providers implementing Canton.Ledger.Abstractions.ITokenProvider, the OpenTelemetry ActivitySource naming convention, an opt-in Polly retry pipeline, and the shared transaction-tree assembler, exercise-outcome folds and malformed-response vocabulary, consumed as peers by both the gRPC and HTTP clients.

Canton.Ledger.Grpc.Client

High-level gRPC client for the Canton Ledger API with integration to Daml.Runtime types.

Daml.Runtime.Grpc

Bidirectional conversion between Daml.Runtime value types and Canton Ledger API v2 protobuf messages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.7.1 102 10/23/2026
0.7.0 253 10/14/2026
0.7.0-preview.1 422 10/13/2026
0.6.0 297 10/7/2026
0.6.0-preview.4 165 10/7/2026
0.6.0-preview.3 199 10/1/2026
0.6.0-preview.2 417 9/30/2026
0.6.0-preview.1 217 9/28/2026
0.5.0-preview.3 238 9/24/2026
0.5.0-preview.2 157 9/22/2026
0.5.0-preview.1 250 9/8/2026
0.4.1-preview.1 133 8/29/2026
0.4.0-preview.1 235 7/18/2026
0.2.0-preview.1 148 7/6/2026
0.1.5-preview.1 110 6/25/2026
0.1.4-preview.1 97 6/15/2026