Midnight.js API Reference v1.0.0
Midnight.js API Reference / @midnight-ntwrk/midnight-js-testing / normalizeWalletState
Function: normalizeWalletState()
normalizeWalletState(
state
):object
Normalizes a wallet state by removing transaction details and sync progress.
Parameters
state
WalletState
The wallet state to normalize
Returns
object
Normalized wallet state
normalized
normalized:
object
[]