Skip to main content

DustSpend

For the complete documentation index, see llms.txt

@midnight/ledger v8.0.3


@midnight/ledger / DustSpend

Class: DustSpend<P>

Type Parameters​

P​

P extends Proofish

Properties​

newCommitment​

readonly newCommitment: bigint;

oldNullifier​

readonly oldNullifier: bigint;

proof​

readonly proof: P;

vFee​

readonly vFee: bigint;

Methods​

serialize()​

serialize(): Uint8Array;

Returns​

Uint8Array


toString()​

toString(compact?): string;

Parameters​

compact?​

boolean

Returns​

string


deserialize()​

static deserialize<P>(markerP, raw): DustSpend<P>;

Type Parameters​

P​

P extends Proofish

Parameters​

markerP​

P["instance"]

raw​

Uint8Array

Returns​

DustSpend<P>