updateSyncState()
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / updateSyncState
Function: updateSyncState()
Section titled “Function: updateSyncState()”updateSyncState(
state,chainId,newHeight,notes):WalletSyncState
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:23277
Update sync state after successful sync
Parameters
Section titled “Parameters”Current state
chainId
Section titled “chainId”string
Chain that was synced
newHeight
Section titled “newHeight”bigint
New sync height
Notes received
Returns
Section titled “Returns”Updated state