add missing info serializer

This commit is contained in:
David Rusu 2026-02-05 22:56:46 +04:00
parent 781552e2af
commit dda9e4e714

View File

@ -0,0 +1,9 @@
from pydantic import BaseModel
class InfoSerializer(BaseModel):
lib: str # Last Irreversible Block hash
tip: str # Current tip block hash
slot: int # Current slot
height: int # Current height
mode: str # Node mode (e.g., "Online")