Skip to main content

platform.getCurrentValidators RPC Method

List the current validators of the given Subnet.

Updated on
Dec 4, 2024

platform.getCurrentValidators RPC Method

Parameters

subnetID
string
The subnet whose current validators are returned. If omitted, returns the current validators of the Primary Network
nodeIDs
string
A list of the nodeIDs of pending validators to request. If omitted, all pending validators are returned. If a specified nodeID is not in the set of pending validators, it will not be included in the response

Returns

result
object
The result containing validator details
validators
array
List of validators
txID
string
Transaction ID of the validator
startTime
string
The start time of the validation period in UNIX timestamp
endTime
string
The end time of the validation period in UNIX timestamp
stakeAmount
string
The amount of stake for the validator
nodeID
string
The Node ID of the validator
rewardOwner
object
Details about the reward owner
locktime
string
The locktime for the reward
threshold
string
The threshold for the reward owner
addresses
array
Addresses associated with the reward owner
validationRewardOwner
object
Details about the validation reward owner
locktime
string
The locktime for the validation reward
threshold
string
The threshold for the validation reward owner
addresses
array
Addresses associated with the validation reward owner
delegationRewardOwner
object
Details about the delegation reward owner
locktime
string
The locktime for the delegation reward
threshold
string
The threshold for the delegation reward owner
addresses
array
Addresses associated with the delegation reward owner
potentialReward
string
The potential reward for the validator
delegationFee
string
The delegation fee percentage
uptime
string
The uptime of the validator
connected
boolean
Whether the node is connected or not
delegators
array
List of delegators for this validator
txID
string
Transaction ID of the delegator
startTime
string
The start time of the delegation period in UNIX timestamp
endTime
string
The end time of the delegation period in UNIX timestamp
stakeAmount
string
The amount of stake for the delegator
nodeID
string
The Node ID of the delegator
rewardOwner
object
Details about the reward owner of the delegator
locktime
string
The locktime for the delegator reward
threshold
string
The threshold for the delegator reward owner
addresses
array
Addresses associated with the delegator reward owner
potentialReward
string
The potential reward for the delegator
Request
1
curl --location --request POST https://docs-demo.flare-mainnet.quiknode.pro/ext/bc/P \
2
--header 'Content-Type: application/json' \
3
--data-raw '{
4
"jsonrpc": "2.0",
5
"method": "platform.getCurrentValidators",
6
"params": {},
7
"id": 1
8
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free