Historical¶
Storage functions¶
HistoricalSessions¶
Mapping from historical session indices to session-data root hash and validator count.
Python¶
result = substrate.query(
'Historical', 'HistoricalSessions', ['u32']
)
Return value¶
('scale_info::12', 'u32')
StoredRange¶
The range of historical sessions we store. [first, last)
Python¶
result = substrate.query(
'Historical', 'StoredRange', []
)
Return value¶
('u32', 'u32')