Skip to main content

walletStateWithoutHistoryAndCoins

Midnight.js API Reference v2.0.2


Midnight.js API Reference / @midnight-ntwrk/midnight-js-testing / walletStateWithoutHistoryAndCoins

Function: walletStateWithoutHistoryAndCoins()

walletStateWithoutHistoryAndCoins(state): Partial<WalletState>

Returns a wallet state object without transaction history and coin data.

Parameters

state

WalletState

The wallet state to filter

Returns

Partial<WalletState>

Filtered wallet state