SyncServiceHealth
SIP Protocol API Reference v0.12.0
SIP Protocol API Reference / SyncServiceHealth
Interface: SyncServiceHealth
Section titled “Interface: SyncServiceHealth”Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:23372
Sync service health information
Properties
Section titled “Properties”available
Section titled “available”available:
boolean
Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:23374
Is service available
currentHeight
Section titled “currentHeight”currentHeight:
bigint
Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:23376
Current block height
chainId
Section titled “chainId”chainId:
string
Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:23378
Chain ID
latencyMs
Section titled “latencyMs”latencyMs:
number
Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:23380
Latency in milliseconds
lastSuccessfulSync?
Section titled “lastSuccessfulSync?”
optionallastSuccessfulSync?:number
Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:23382
Last successful sync timestamp