BlockContent class abstract

BlockContent

Properties:

  • time - Block creation time in UNIX time
  • height - Block number
  • hash - Hash of the block
  • slot - Slot number
  • epoch - Epoch number
  • epochSlot - Slot within the epoch
  • slotLeader - Bech32 ID of the slot leader or specific block description in case there is no slot leader
  • size - Block size in Bytes
  • txCount - Number of transactions in the block
  • output - Total output within the block in Lovelaces
  • fees - Total fees within the block in Lovelaces
  • blockVrf - VRF key of the block
  • opCert - The hash of the operational certificate of the block producer
  • opCertCounter - The value of the counter used to produce the operational certificate
  • previousBlock - Hash of the previous block
  • nextBlock - Hash of the next block
  • confirmations - Number of block confirmations
Annotations
  • @BuiltValue()

Constructors

BlockContent([void updates(BlockContentBuilder b)])
factory

Properties

blockVrf String?
VRF key of the block
no setter
confirmations int
Number of block confirmations
no setter
epoch int?
Epoch number
no setter
epochSlot int?
Slot within the epoch
no setter
fees String?
Total fees within the block in Lovelaces
no setter
hash String
Hash of the block
no setter
hashCode int
The hash code for this object.
no setterinherited
height int?
Block number
no setter
nextBlock String?
Hash of the next block
no setter
opCert String?
The hash of the operational certificate of the block producer
no setter
opCertCounter String?
The value of the counter used to produce the operational certificate
no setter
output String?
Total output within the block in Lovelaces
no setter
previousBlock String?
Hash of the previous block
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
Block size in Bytes
no setter
slot int?
Slot number
no setter
slotLeader String
Bech32 ID of the slot leader or specific block description in case there is no slot leader
no setter
time int
Block creation time in UNIX time
no setter
txCount int
Number of transactions in the block
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(BlockContentBuilder)) BlockContent
Rebuilds the instance.
inherited
toBuilder() BlockContentBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

serializer → Serializer<BlockContent>
no setter