Skip to content

updateSyncState()

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / updateSyncState

updateSyncState(state, chainId, newHeight, notes): WalletSyncState

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:23277

Update sync state after successful sync

WalletSyncState

Current state

string

Chain that was synced

bigint

New sync height

EncryptedNote[]

Notes received

WalletSyncState

Updated state