Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Template<T, K, I>

Interface for objects representing Daml templates. It is similar to the Template type class in Daml.

Type parameters

  • T: object

    The template type.

  • K = unknown

    The contract key type.

  • I: string = string

    The contract id type.

Hierarchy

Index

Properties

Archive: Choice<T, {}, {}, K>
decoder: Decoder<T>
internal
keyDecoder: Decoder<K>
internal
sdkVersion: "0.0.0-SDKVERSION"
internal
templateId: I

Methods

  • encode(t: T): unknown
  • internal

    Encodes T in expected shape for JSON API.

    Parameters

    • t: T

    Returns unknown

  • keyEncode(k: K): unknown
  • internal

    Parameters

    • k: K

    Returns unknown

Generated using TypeDoc