Skip to main content
Version: 1.17.0

Interface: CantonActiveContract

Defined in: canton/types.ts:64

An active contract read from the ACS via CantonChain.findActiveContractByInstanceAddress.

Carries the fields needed both to resolve a contract by instanceId and to embed it as a disclosed contract in a later submission (createdEventBlob + synchronizerId). createArgument is the raw JSON Ledger API createArgument value — decode with the shared canton/daml-parse.ts helpers or the typed bindings decoders.

Properties​

contractId​

contractId: string

Defined in: canton/types.ts:66

Daml contract ID (#...).


createArgument​

createArgument: unknown

Defined in: canton/types.ts:76

Raw Daml createArgument value (decode lazily with the parse helpers).


createdAtOffset?​

optional createdAtOffset?: number

Defined in: canton/types.ts:78

Ledger offset at creation, when the source response provides it.


createdEventBlob​

createdEventBlob: string

Defined in: canton/types.ts:70

Opaque blob for disclosed-contract submission (from createdEventBlob).


signatories​

signatories: string[]

Defined in: canton/types.ts:74

Contract signatories (from the created event); used for InstanceAddress derivation.


synchronizerId​

synchronizerId: string

Defined in: canton/types.ts:72

Synchronizer the contract was read from.


templateId​

templateId: string

Defined in: canton/types.ts:68

Full template ID string (#<pkg>:<Module>:<Entity> or <pkg>:<Module>:<Entity>).