saveState

suspend fun saveState(address: String, state: DustLocalState)

Saves updated DustLocalState after creating spends.

When to call: After calling state.spend() or other state-modifying operations.

Parameters

address

Wallet address

state

DustLocalState instance