Options
All
  • Public
  • Public/Protected
  • All
Menu

Class H256

Handles 256-bit data. Used to express block hash, parcel hash, transaction hash, merkle root, etc.

Hierarchy

  • H256

Index

Constructors

constructor

  • new H256(value: string): H256

Properties

value

value: string

Methods

isEqualTo

  • isEqualTo(rhs: H256): boolean

rlpBytes

  • rlpBytes(): Buffer

toEncodeObject

  • toEncodeObject(): string

Static check

  • check(param: H256 | string): boolean

Static ensure

Static fromBytes

  • fromBytes(buffer: Buffer): H256

Generated using TypeDoc