BlockQuery

scalus.cardano.node.stream.BlockQuery
enum BlockQuery

Which blocks a subscriber wants to observe.

Simpler than the other two algebras on purpose: most subscribers want every block, or every block in a range. Content-based selection belongs on TransactionQuery, where it can be pushed down.

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

case All extends BlockQuery

Every block.

Every block.

Attributes

final case class InSlotRange(from: SlotNo, to: Option[SlotNo])

Blocks whose slot is in [from, to]; to = None means open-ended. The subscription completes once the chain passes to.

Blocks whose slot is in [from, to]; to = None means open-ended. The subscription completes once the chain passes to.

Attributes