PlanSnapshotResponse

data class PlanSnapshotResponse(val plannedThroughSeq: Long, val sealedTipSeq: Long, val segments: List<PlanSnapshotSegment>, val stats: PlanSnapshotStats)

Parameters

plannedThroughSeq

The last sealed sequence covered by this page. Use this value as afterSeq for the next page. If the response hits the server's page limit, this is the maxSeq of the last item returned; otherwise it equals sealedTipSeq. Planning is complete when plannedThroughSeq reaches sealedTipSeq.

sealedTipSeq

The end of the sealed archive for this snapshot, capped by beforeSeq when provided. Use this value as beforeSeq on later pages so the snapshot does not move while it is being downloaded.

Constructors

Link copied to clipboard
constructor(plannedThroughSeq: Long, sealedTipSeq: Long, segments: List<PlanSnapshotSegment>, stats: PlanSnapshotStats)

Properties

Link copied to clipboard

The last sealed sequence covered by this page. Use this value as afterSeq for the next page. If the response hits the server's page limit, this is the maxSeq of the last item returned; otherwise it equals sealedTipSeq. Planning is complete when plannedThroughSeq reaches sealedTipSeq.

Link copied to clipboard

The end of the sealed archive for this snapshot, capped by beforeSeq when provided. Use this value as beforeSeq on later pages so the snapshot does not move while it is being downloaded.

Link copied to clipboard
Link copied to clipboard