Skip to content

@lelantos-org/sdk / index / TreeStoreState

Interface: TreeStoreState โ€‹

Defined in: @lelantos-org/sdk/dist/wallet/tree-store.d.ts:6

Properties โ€‹

leaves โ€‹

ts
leaves: bigint[];

Defined in: @lelantos-org/sdk/dist/wallet/tree-store.d.ts:7


nodes? โ€‹

ts
optional nodes?: MerkleNode[];

Defined in: @lelantos-org/sdk/dist/wallet/tree-store.d.ts:15

Memoized internal Merkle nodes.

Optional: a state without them still loads, it just pays the full ~350K-hash rebuild on the first root()/getPath() after restore.


syncedCount โ€‹

ts
syncedCount: number;

Defined in: @lelantos-org/sdk/dist/wallet/tree-store.d.ts:8

Lelantosno cookies ๐Ÿช ยท no tracking ๐Ÿ‘๏ธ ยท no accounts ๐Ÿ‘คwalletexplorer4536080GitHub