Health¶
Health ¶
Bases: BaseModel
The server's state: its node connection, sync progress, tip, era and version.
version
class-attribute
instance-attribute
¶
The Ogmios version, for example "v7.0.0 (ef123abd)".
network
class-attribute
instance-attribute
¶
mainnet, preprod, preview or another network name.
connection_status
class-attribute
instance-attribute
¶
connected when Ogmios is connected to its node.
network_synchronization
class-attribute
instance-attribute
¶
How far the node is synced, from 0.0 to 1.0.
last_known_tip
class-attribute
instance-attribute
¶
The node's tip: {"slot", "id", "height"}.
server_version
property
¶
The Ogmios version as (major, minor, patch).
parse_version ¶
"v7.0.0 (ef123abd)" -> (7, 0, 0); None when there is no version number.
health_url ¶
The /health URL for a ws://, wss://, http:// or https:// Ogmios URL.