getStakesByIds

open suspend override fun getStakesByIds(ids: List<String>, limit: Int?, cursor: String?): Result<GetStakesByIdsQuery.Data?, SuiError>

Fetches a list of StakedSui objects by their unique IDs.

Return

A Result which is either:

Parameters

ids

A list of object IDs for the stakes to retrieve.

limit

An optional integer to specify the maximum number of stakes to return per page.

cursor

An optional cursor string for pagination.