ドキュメント
料金GitHubダッシュボード

Sui

suix_getStakesByIds25クレジット

Return stakes by IDs

ネットワーク: sui

パラメータ

名前型説明
staked_sui_idsstring[]Object IDs of StakedSui objects. A withdrawn stake has status Unstaked.

戻り値

型

object[]

Array of DelegatedStake: validatorAddress, stakingPool and stakes.

コード例

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"
    ]
  ]
}'