Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ExtraMergedMining

Represents merged mining information contained in the transaction extra field

Hierarchy

  • ExtraMergedMining

Implements

Index

Constructors

Accessors

Methods

Constructors

constructor

  • Creates a new instance of the field using the supplied values

    Parameters

    • depth: number

      The depth of the block in the merkle root

    • merkleRoot: string

      The merkle root of the block merge mined

    Returns ExtraMergedMining

Accessors

depth

  • get depth(): number

merkleRoot

  • get merkleRoot(): string

size

  • get size(): number

tag

Methods

toBuffer

  • toBuffer(): Buffer

toString

  • toString(): string
  • Represents the field as a hexadecimal string (blob)

    Returns string

    the hexadecimal (blob) representation of the object

Static from

  • Creates a new instance of the field using a Buffer or Blob copy of field created through other means

    Parameters

    • data: Buffer | string

      the data that makes up the nonce field

    Returns ExtraMergedMining

    the new object

Generated using TypeDoc