Skip to content
CCPEDIAby Unity Nodes
LEARN · DOCUMENTATION

Documentation

Pages from 35 sources, kept in sync: the official Canton Network and Digital Asset docs, documentation from teams building on Canton, and readmes from their code. Search all of it, or start from a path below.

3,556pages
synced 4h ago35 sources
This week308pages updated upstreamNewestCanton Development FundDec 4, 2026Official1,709pages from Canton and Digital Asset

Recently updated

1,531 pages
OfficialCanton Network docs · Daml Script › Modules
Daml.Script
Daml module Daml.Script The Daml Script testing library. Daml Updated 3.7.5 Module Daml.Script Latest release 3.7.5 Data Types data UserRight The rights of a user. Constructors: • ParticipantAdmin • CanActAs Party • CanReadAs Party • CanReadAsAnyParty • CanExecuteAs Party
Dec 1, 2026
OfficialCanton Network docs · Daml Script › Modules
Daml.Script.Internal
Daml module Daml.Script.Internal Contains all Internal and Alpha functionality provided by Daml Script. Daml Updated 3.7.5 Module Daml.Script.Internal Latest release 3.7.5 Data Types data FailedCmd Daml type representing a Scala exception thrown during script interpretation. Used for in
Dec 1, 2026
OfficialCanton Network docs · Daml Script
Overview
Daml Reference Daml Script Current Daml Script modules generated from versioned docs JSON snapshots. Daml Updated 3.7.5 Latest release 3.7.5 Versions 24 Current modules 2 Modules Daml.Script Daml Updated 3.7.5 The Daml Script testing library. Daml.Script.Internal Daml Updated 3.7.5 C
Dec 1, 2026
OfficialCanton Network docs · Daml Standard Library › Modules
DA.Action
Daml module DA.Action Action Daml Module DA.Action Latest release 3.7.5 Functions when when : Applicative f => Bool -> f () -> f () Conditional execution of Action expressions. For example, when final (archive contractId) will archive the contract contractId
Dec 1, 2026
OfficialCanton Network docs · Daml Standard Library › Modules
DA.Action.State
Daml module DA.Action.State DA.Action.State Daml Module DA.Action.State Latest release 3.7.5 Data Types data State s a A value of type State s a represents a computation that has access to a state variable of type s and produces a value of type a. >>> runState (modify (+1)) 0
Dec 1, 2026
OfficialCanton Network docs · Daml Standard Library › Modules
DA.Action.State.Class
Daml module DA.Action.State.Class DA.Action.State.Class Daml Module DA.Action.State.Class Latest release 3.7.5 Typeclasses class ActionState s m Action m has a state variable of type s. Rules: • get *> ma = ma • ma <* get = ma • put a >>= get = put a $> a • put a *> put
Dec 1, 2026
OfficialCanton Network docs · Daml Standard Library › Modules
DA.Assert
Daml module DA.Assert - Daml Module DA.Assert Latest release 3.7.5 Functions assertEq assertEq : ( CanAssert m, Show a, Eq a) => a -> a -> m () Check two values for equality. If they’re not equal, fail with a message. === === : ( CanAssert m, Show a,
Dec 1, 2026
OfficialCanton Network docs · Daml Standard Library › Modules
DA.Bifunctor
Daml module DA.Bifunctor - Daml Module DA.Bifunctor Latest release 3.7.5 Typeclasses class Bifunctor p A bifunctor is a type constructor that takes two type arguments and is a functor in both arguments. That is, unlike with Functor, a type constructor such as Either does not need to
Dec 1, 2026
OfficialCanton Network docs · Daml Standard Library › Modules
DA.ContractKeys
Daml module DA.ContractKeys Note: Docs TODO ( https://github.com/digital-asset/daml/issues/22673 ) Daml Added 3.5.1 Module DA.ContractKeys Latest release 3.7.5 Functions lookupNByKey lookupNByKey : HasLookupNByKey t k => Int -> k -> Update [( ContractId t, t)] Look
Dec 1, 2026
OfficialCanton Network docs · Daml Standard Library › Modules
DA.Crypto.Text
Daml module DA.Crypto.Text Functions for working with Crypto builtins. Daml Updated 3.5.1 Module DA.Crypto.Text Latest release 3.7.5 Data Types type BytesHex = Text type PublicKeyHex = Text A DER formatted public key to be used for ECDSA signature verification type Signatu
Dec 1, 2026
OfficialCanton Network docs · Daml Standard Library › Modules
DA.Date
Daml module DA.Date This module provides a set of functions to manipulate Date values. Daml Updated 3.5.1 Module DA.Date Latest release 3.7.5 Data Types data DayOfWeek Constructors: • Monday • Tuesday • Wednesday • Thursday • Friday • Saturday • Sunday Instances:
Dec 1, 2026
OfficialCanton Network docs · Daml Standard Library › Modules
DA.Either
Daml module DA.Either The Either type represents values with two possibilities. Daml Module DA.Either Latest release 3.7.5 Functions lefts lefts : [ Either a b] -> [a] Extracts all the Left elements from a list. rights rights : [ Either a b] -> [b] Extracts
Dec 1, 2026
OfficialCanton Network docs · Daml Standard Library › Modules
DA.Exception
Daml module DA.Exception Exception handling in Daml. Daml Deprecated 3.4.9 Module DA.Exception Latest release 3.7.5 Exceptions are deprecated, prefer failWithStatus, and avoid using catch. All deprecations (2) • Exceptions are deprecated, prefer failWithStatus, and avoid using catch.
Dec 1, 2026
OfficialCanton Network docs · Daml Standard Library › Modules
DA.ExternalCall
Daml module DA.ExternalCall - Daml Added 3.6.0 Module DA.ExternalCall Latest release 3.7.5 Functions externalCall externalCall : Text -> Text -> Text -> Text -> Update Text Make an external call to a configured extension service. The first two arguments identify the exte
Dec 1, 2026
OfficialCanton Network docs · Daml Standard Library › Modules
DA.Fail
Daml module DA.Fail Fail, for FailureStatus Daml Updated 3.5.1 Module DA.Fail Latest release 3.7.5 Data Types data FailureCategory The category of the failure, which determines the status code and log level of the failure. Maps 1-1 to the Canton error categories documented here: https:/
Dec 1, 2026
OfficialCanton Network docs · Daml Standard Library › Modules
DA.Foldable
Daml module DA.Foldable Class of data structures that can be folded to a summary value. Daml Module DA.Foldable Latest release 3.7.5 Typeclasses class Foldable t Class of data structures that can be folded to a summary value. Methods: • fold : Monoid m => t m -> m Combine
Dec 1, 2026
OfficialCanton Network docs · Daml Standard Library › Modules
DA.Functor
Daml module DA.Functor The Functor class is used for types that can be mapped over. Daml Module DA.Functor Latest release 3.7.5 Functions $> $> : Functor f => f a -> b -> f b Replace all locations in the input (on the left) with the given value (on the right). <&>
Dec 1, 2026
OfficialCanton Network docs · Daml Standard Library › Modules
DA.Internal.Interface.AnyView
Daml module DA.Internal.Interface.AnyView - Daml Module DA.Internal.Interface.AnyView Latest release 3.7.5 Typeclasses class HasFromAnyView i v Functions fromAnyView fromAnyView : ( HasTemplateTypeRep i, HasFromAnyView i v) => AnyView -> Optional v Orphan Typecl
Dec 1, 2026
OfficialCanton Network docs · Daml Standard Library › Modules
DA.Internal.Interface.AnyView.Types
Daml module DA.Internal.Interface.AnyView.Types - Daml Module DA.Internal.Interface.AnyView.Types Latest release 3.7.5 Data Types data AnyView Existential contract key type that can wrap an arbitrary contract key. Constructors: • AnyView getAnyView Any getAnyViewInterfaceTypeRep
Dec 1, 2026
OfficialCanton Network docs · Daml Standard Library › Modules
DA.List
Daml module DA.List List Daml Module DA.List Latest release 3.7.5 Functions sort sort : Ord a => [a] -> [a] The sort function implements a stable sorting algorithm. It is a special case of sortBy, which allows the programmer to supply their own comparison function. Eleme
Dec 1, 2026
OfficialCanton Network docs · Daml Standard Library › Modules
DA.List.BuiltinOrder
Daml module DA.List.BuiltinOrder Note: This is only supported in Daml-LF 1.11 or later. Daml Module DA.List.BuiltinOrder Latest release 3.7.5 Functions dedup dedup : Ord a => [a] -> [a] dedup l removes duplicate elements from a list. In particular, it keeps only the first o
Dec 1, 2026
OfficialCanton Network docs · Daml Standard Library › Modules
DA.List.Total
Daml module DA.List.Total - Daml Module DA.List.Total Latest release 3.7.5 Functions head head : [a] -> Optional a Return the first element of a list. Return None if list is empty. tail tail : [a] -> Optional [a] Return all but the first element of a list. Retu
Dec 1, 2026
OfficialCanton Network docs · Daml Standard Library › Modules
DA.Logic
Daml module DA.Logic Logic - Propositional calculus. Daml Module DA.Logic Latest release 3.7.5 Data Types data Formula t A Formula t is a formula in propositional calculus with propositions of type t. Constructors: • Proposition t Proposition p is the formula p • Negation (F
Dec 1, 2026
OfficialCanton Network docs · Daml Standard Library › Modules
DA.Map
Daml module DA.Map Note: This is only supported in Daml-LF 1.11 or later. Daml Module DA.Map Latest release 3.7.5 Functions fromList fromList : Ord k => [(k, v)] -> Map k v Create a map from a list of key/value pairs. fromListWithL fromListWithL : Ord k => (
Dec 1, 2026
OfficialCanton Network docs · Daml Standard Library › Modules
DA.Math
Daml module DA.Math Math - Utility Math functions for Decimal Daml Module DA.Math Latest release 3.7.5 Functions ** ** : Decimal -> Decimal -> Decimal Take a power of a number Example: 2.0 ** 3.0 == 8.0. sqrt sqrt : Decimal -> Decimal Calculate the square root of
Dec 1, 2026
OfficialCanton Network docs · Daml Standard Library › Modules
DA.Monoid
Daml module DA.Monoid - Daml Module DA.Monoid Latest release 3.7.5 Data Types data All Boolean monoid under conjunction (&&) Constructors: • All getAll Bool Instances: • instance Monoid All • instance Semigroup All • instance GetField getAll All Bool • instan
Dec 1, 2026
OfficialCanton Network docs · Daml Standard Library › Modules
DA.NonEmpty
Daml module DA.NonEmpty Type and functions for non-empty lists. This module re-exports many functions with Daml Updated 3.6.0 Module DA.NonEmpty Latest release 3.7.5 Functions cons cons : a -> NonEmpty a -> NonEmpty a Prepend an element to a non-empty list. <| <| :
Dec 1, 2026
OfficialCanton Network docs · Daml Standard Library › Modules
DA.NonEmpty.Types
Daml module DA.NonEmpty.Types This module contains the type for non-empty lists so we can give it a stable package id. Daml Updated 3.5.1 Module DA.NonEmpty.Types Latest release 3.7.5 Data Types data NonEmpty a NonEmpty is the type of non-empty lists. In other words, it is the type of
Dec 1, 2026
OfficialCanton Network docs · Daml Standard Library › Modules
DA.Numeric
Daml module DA.Numeric - Daml Module DA.Numeric Latest release 3.7.5 Data Types data RoundingMode Rounding modes. Constructors: • RoundingUp Round away from zero. • RoundingDown Round towards zero. • RoundingCeiling Round towards positive infinity. • RoundingFloor R
Dec 1, 2026
OfficialCanton Network docs · Daml Standard Library › Modules
DA.Optional
Daml module DA.Optional The Optional type encapsulates an optional value. A value of type Daml Updated 3.5.1 Module DA.Optional Latest release 3.7.5 Functions fromSome fromSome : Optional a -> a The fromSome function extracts the element out of a Some and throws an error if
Dec 1, 2026
Showing 241 to 270 of 1,531Search all sources →