getStakesByIds

suspend fun getStakesByIds(stakedSuiIds: List<ObjectId>): List<DelegatedStake>

Retrieves one or more DelegatedStake.

If a Stake was withdrawn its status will be Unstaked. Fails if either one of the stakedSuiId is not found.

Return

The list of delegated stakes matching the provided IDs.

Parameters

stakedSuiIds

The list of stake IDs to retrieve.

Throws

if an error occurs during the retrieval process.