Proof
@midnight/ledger / Proof
Class: Proof
A zero-knowledge proof.
Constructors
Constructor
new Proof(data): Proof;
Parameters
data
String
Returns
Proof
Properties
instance
instance: "proof";
Methods
serialize()
serialize(): Uint8Array;
Returns
Uint8Array
toString()
toString(compact?): string;
Parameters
compact?
boolean
Returns
string
deserialize()
static deserialize(raw): Proof;
Parameters
raw
Uint8Array
Returns
Proof