@wharfkit/session - v4.0.1
    Preparing search index...

    Class BlockHeader

    Interface that should be implemented by ABI serializable objects.

    Hierarchy (View Summary)

    Index
    action_mroot: BlockId
    confirmed: UInt16
    header_extensions: any[]
    new_producers?: P2P.NewProducers
    previous: BlockId
    producer: Name
    schedule_version: UInt32
    timeSlot: UInt32
    transaction_mroot: BlockId
    abiFields: ABIField[]
    abiName: string
    • get blockNum(): UInt32

      Returns UInt32

    • get id(): BlockId

      Returns BlockId

    • get structFields(): ABIField[]

      Returns ABIField[]

    • Return true if this struct equals the other.

      Note: This compares the ABI encoded bytes of both structs, subclasses should implement their own fast equality check when possible.

      Parameters

      • other: any

      Returns boolean

    • Type Parameters

      Parameters

      • this: T
      • value: any

      Returns InstanceType<T>

    • Parameters

      • value: any

      Returns unknown