activeContractsSnapshot

suspend fun activeContractsSnapshot(parties: List<String>, verbose: Boolean = true): ActiveContractsSnapshot

The active contract set at the current ledger end — the starting point for a full state sync. Apply ActiveContractsSnapshot.contracts, then consume updates from ActiveContractsSnapshot.offset:

val snapshot = client.activeContractsSnapshot(listOf(party))
// apply snapshot.contracts ...
client.updates(UpdateSubscription(listOf(party), beginExclusive = snapshot.offset))
.collect { /* deltas, gap-free */}