Skip to main content

DustState

For the complete documentation index, see llms.txt

@midnight/ledger v8.0.3


@midnight/ledger / DustState

Class: DustState

Constructors​

Constructor​

new DustState(): DustState;

Returns​

DustState

Properties​

generation​

readonly generation: DustGenerationState;

utxo​

readonly utxo: DustUtxoState;

Methods​

serialize()​

serialize(): Uint8Array;

Returns​

Uint8Array


toString()​

toString(compact?): string;

Parameters​

compact?​

boolean

Returns​

string


deserialize()​

static deserialize(raw): DustState;

Parameters​

raw​

Uint8Array

Returns​

DustState