Skip to main content
POST

Parameters

chainId
string
default:"43114"
required
Unique identifier for a blockchain network.
id
number
default:1
required
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"platform.sampleValidators"
required
JSON-RPC method name.
params
object
required
Parameters for platform.sampleValidators:
  • params.size: Number of validators to sample from the specified Subnet.
  • params.subnetID: Optional Subnet ID to sample validators from. Defaults to the Primary Network.

Returns

result
object
The JSON-RPC result.