Skip to content

updateSyncState()

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / updateSyncState

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

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:23613

Update sync state after successful sync

WalletSyncState

Current state

string

Chain that was synced

bigint

New sync height

EncryptedNote[]

Notes received

WalletSyncState

Updated state