StartFrom

scalus.cardano.node.stream.StartFrom
enum StartFrom

Where a subscription starts reading.

Support is provider- and query-dependent — see StreamCapabilities and SubscriptionSupport. A provider that cannot serve the requested start point throws scalus.cardano.infra.UnsupportedSubscriptionException from subscribe.

Attributes

Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

final case class At(point: ChainPoint)

Resume from a point the subscriber checkpointed itself. Serviceable wherever the provider can replay the subscription's query — on Blockfrost that is address- and asset-scoped queries, which is the common case.

Resume from a point the subscriber checkpointed itself. Serviceable wherever the provider can replay the subscription's query — on Blockfrost that is address- and asset-scoped queries, which is the common case.

Attributes

case Origin extends StartFrom

Replay the whole chain from genesis. Requires ReplaySupport.FullHistory.

Replay the whole chain from genesis. Requires ReplaySupport.FullHistory.

Attributes

case Tip extends StartFrom

Start at the tip as of subscription time; no historical events. The default.

Start at the tip as of subscription time; no historical events. The default.

Attributes