Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Block

Index

Properties

Protected _header

_header: BlockHeader

Protected _transactions

_transactions: BaseTransaction[]

Methods

getHash

serialize

sign

  • sign(privateKey: string): this

size

  • size(): number

toBytes

  • toBytes(): Buffer

toObject

toRawData

Static Protected _fromRawData

  • _fromRawData<B>(rawData: IBlockData, block: B): B

Static fromBytes

  • fromBytes(bytes: string): Block
  • fromBytes(bytes: Buffer): Block

Static fromRawData