The SDK is currently in beta phase. If you find bugs, please open an issue on Github. If you have feature requests or feedback, head to feedback.rated.network.
Installation
Install usingpip:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Libraries and tools for interacting with your Rated integration
pip:
pip install rated-python
from rated import Rated
from rated.ethereum import MAINNET
RATED_KEY = "ey..."
r = Rated(RATED_KEY)
eth = r.ethereum(network=MAINNET)
for eff in eth.validator.effectiveness("0x123456789...", from_day=873, size=1):
print(f"Day: {eff.day}, Eff: {eff.validator_effectiveness}")
>>> Day: 873, Eff: 98.82005899705014