SyncServiceHealth
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / SyncServiceHealth
Interface: SyncServiceHealth
Section titled “Interface: SyncServiceHealth”Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:23072
Sync service health information
Properties
Section titled “Properties”available
Section titled “available”available:
boolean
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:23074
Is service available
currentHeight
Section titled “currentHeight”currentHeight:
bigint
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:23076
Current block height
chainId
Section titled “chainId”chainId:
string
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:23078
Chain ID
latencyMs
Section titled “latencyMs”latencyMs:
number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:23080
Latency in milliseconds
lastSuccessfulSync?
Section titled “lastSuccessfulSync?”
optionallastSuccessfulSync:number
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:23082
Last successful sync timestamp