Skip to main content
Server-streaming RPC. Streams all active Daml contracts currently visible to the authenticated party, one contract per message. Results can be narrowed down with a template_filters list.

Request

template_filters
string[]
Optional list of Daml template identifiers to filter by. Leave empty to stream everything visible to the caller.

Response

Stream of GetActiveContractsResponse:
Each ActiveContractInfo contains the contract ID, template ID, and serialised payload.

Example

See also

  • GetUpdates — stream future ledger updates instead of the current snapshot.
  • GetSettlementContracts — narrow lookup for DvP-related contracts by settlement ID.
  • GetPreapprovals — narrow lookup for active TransferPreapproval contracts.
  • AcceptCip56 — common consumer of CIP-56 TransferOffer contract IDs discovered here.