文档
定价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"
    ]
  ]
}'