Skip to content

GetStateRootsRequest

View as Markdown

GetStateRootsRequest retrieves up to 257 state roots ending at a specified slot. Used for transaction replay to verify state proofs against historical roots. Returns state roots in ascending slot order, from (slot - 256) to slot (inclusive).

Package: thru.services.v1

FieldType#Description
slotuint641 · optionalThe slot to retrieve state roots up to (inclusive). Returns up to 257 state roots ending at this slot. If not specified, returns state roots ending at the latest available slot.