BlockHeader

scalus.cardano.ledger.BlockHeader
case class BlockHeader(headerBody: BlockHeaderBody, bodySignature: ByteString)

Represents a block header in Cardano

Attributes

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

Members list

Value members

Concrete methods

def blockNumber: Long

Get block number

Get block number

Attributes

def prevHash: Option[Hash32]

Get previous block hash

Get previous block hash

Attributes

def slot: Long

Get slot number

Get slot number

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product