PreProof
@midnight/ledger / PreProof
Class: PreProof
The preimage, or data required to produce, a Proof.
Constructors
Constructor
new PreProof(data): PreProof;
Parameters
data
String
Returns
PreProof
Properties
instance
instance: "pre-proof";
Methods
serialize()
serialize(): Uint8Array;
Returns
Uint8Array
toString()
toString(compact?): string;
Parameters
compact?
boolean
Returns
string
deserialize()
static deserialize(raw): PreProof;
Parameters
raw
Uint8Array
Returns
PreProof