suix_getStakesByIds

Governance Read API: Return one or more [DelegatedStake]. If a Stake was withdrawn its status will be Unstaked.

Parameters

  • staked_sui_ids : <[ObjectID]>

Returns

  • Vec<DelegatedStake> : <[DelegatedStake]>

Example Request and Result for suix_getStakesByIds

Request

curl --location 'https://sui-testnet.blastapi.io/<project-id>' \
--header 'Content-Type: application/json' \
--data '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "suix_getStakesByIds",
  "params": {"staked_sui_ids":["0x7ab8d6a33cc59f9d426f6f40edc727b6fa57b341c165b465dd2a6ca1c49adc5a"]}
}'

Last updated