Skip to main content

ProofNode.(constructor)

Creates an instance of ProofNode.

Signature:

constructor(hash?: Hash, children?: Hash[]);

Parameters

ParameterTypeDescription
hashHash(Optional) current node hash
childrenHash[](Optional) children of the node