org.sigilaris.node.jvm.runtime.block.BlockQuery
Read-only query interface for retrieving block headers, bodies, and views.
Type parameters
-
Event
-
event type
-
F
-
effect type
-
ResultRef
-
result reference type
-
TxRef
-
transaction reference type
Attributes
-
Source
-
Store.scala
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Known subtypes
-
Members list
Retrieves a block body by the block identifier.
Retrieves a block body by the block identifier.
Value parameters
-
blockId
-
the block identifier to look up
Attributes
-
Returns
-
Some(body) if found, None otherwise
-
Source
-
Store.scala
Retrieves and validates a combined block view (header + body).
Retrieves and validates a combined block view (header + body).
Value parameters
-
blockId
-
the block identifier to look up
Attributes
-
Returns
-
Right(Some(view)) if both parts exist and are valid, Right(None) if either part is missing, or Left(failure) if validation fails
-
Source
-
Store.scala