Skip to main content

suix_getStakes RPC Method

Return the reference gas price for the network.

Updated on
Dec 10, 2024

suix_getStakes RPC Method

Parameters

validatorAddress
string
REQUIRED
Unique address of the validator

Returns

result
array
List of validators with their staking pool information and stakes
validatorAddress
string
Unique address of the validator
stakingPool
string
Identifier of the staking pool associated with the validator
stakes
array
List of stakes associated with the validator
stakedSuiId
string
Unique identifier of the staked SUI token
stakeRequestEpoch
string
Epoch when the stake was requested
stakeActiveEpoch
string
Epoch when the stake became active
principal
string
Principal amount of the stake
status
string
Current status of the stake
estimatedReward
string
Estimated reward for the stake
Request
1
curl --location 'https://docs-demo.sui-mainnet.quiknode.pro/' \
2
--header 'Content-Type: application/json' \
3
--data '{
4
"jsonrpc": "2.0",
5
"id": 1,
6
"method": "suix_getStakes",
7
"params": [
8
"0xac5bceec1b789ff840d7d4e6ce4ce61c90d190a7f8c4f4ddf0bff6ee2413c33c"
9
]
10
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free