PreçosGitHubPainel

Sui

suix_getStakesByIds25 créditos

Return stakes by IDs

Rede: sui

Parâmetros

NomeTipoDescrição
staked_sui_idsstring[]Object IDs of StakedSui objects. A withdrawn stake has status Unstaked.

Retorno

Tipo

object[]

Array of DelegatedStake: validatorAddress, stakingPool and stakes.

Exemplos de código

curl https://holy-burned-sky-sui-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7 \
  -X POST \
  -H 'content-type: application/json' \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "suix_getStakesByIds",
  "params": [
    [
      "0x3b4a5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f6071829"
    ]
  ]
}'