getStakesByIds method
Implementation
Future<List<DelegatedStake>> getStakesByIds(List<ObjectId> stakedSuiIds) async {
final data = await client.request('suix_getStakesByIds', [stakedSuiIds]);
List<DelegatedStake> delegatedStakes = [];
for(var value in data){
delegatedStakes.add(DelegatedStake.fromJson(value));
}
return delegatedStakes;
}