Skip to main content

platform.sampleValidators RPC Method

Sample validators from the specified Subnet.

Updated on
Nov 02, 2023

Parameters

size
int

The number of validators to sample.

subnetID
string

The subnet to sample from. If omitted, defaults to the Primary Network.

Returns

validators
[]string

IDs of the sampled validators.

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free