diff --git a/src/node/api/serializers/info.py b/src/node/api/serializers/info.py new file mode 100644 index 0000000..e5ec894 --- /dev/null +++ b/src/node/api/serializers/info.py @@ -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")