Skip to content

Instantly share code, notes, and snippets.

@pietjepuk2
pietjepuk2 / get_validator_duties.py
Last active October 30, 2024 17:19
Get validator duties (find largest gap in which to update for that $0.04 it will save/benefit you)
import json
import math
from datetime import datetime, timedelta
import requests
SLOTS_PER_EPOCH = 32
SECONDS_PER_SLOT = 12