Interface: CantonActiveContract
Defined in: canton/types.ts:93
An active contract read from the ACS via CantonChain.findActiveContractsByTemplate.
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 Daml record value (gRPC
{ Sum: { Record: { fields: [...] } } } form) — decode with the shared
extractField / extractStringField helpers.
Properties
contractId
contractId:
string
Defined in: canton/types.ts:95
Daml contract ID (#...).
createArgument
createArgument:
unknown
Defined in: canton/types.ts:105
Raw Daml createArgument record (decode lazily with field helpers).
createdAtOffset?
optionalcreatedAtOffset?:number
Defined in: canton/types.ts:107
Ledger offset at creation, when the source response provides it.
createdEventBlob
createdEventBlob:
string
Defined in: canton/types.ts:99
Opaque blob for disclosed-contract submission (from createdEventBlob).
signatories
signatories:
string[]
Defined in: canton/types.ts:103
Contract signatories (from the created event); used for InstanceAddress derivation.
synchronizerId
synchronizerId:
string
Defined in: canton/types.ts:101
Synchronizer the contract was read from.
templateId
templateId:
string
Defined in: canton/types.ts:97
Full template ID string (#<pkg>:<Module>:<Entity>).