Skip to content

updateSyncState()

SIP Protocol API Reference v0.14.0


SIP Protocol API Reference / updateSyncState

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

Defined in: @sip-protocol/sdk/dist/index-ClFG32eh.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