Skip to main content

platform.sampleValidators RPC Method

Loading...

Updated on
Apr 29, 2026

platform.sampleValidators RPC Method

To use the platform.sampleValidators method on the P-Chain, ensure that the end of your URL includes ext/bc/P.

Parameters

size
integer
Loading...
subnetID
string
Loading...

Returns

validators
array
Loading...
Request
Response
1
{
2
"jsonrpc": "2.0",
3
"result": {
4
"validators": [
5
"NodeID-FXJQRCN2nEqBYVsorBS5WHriwihjzv7G6"
6
]
7
},
8
"id": 1
9
}
1
{
2
"jsonrpc": "2.0",
3
"result": {
4
"validators": [
5
"NodeID-FXJQRCN2nEqBYVsorBS5WHriwihjzv7G6"
6
]
7
},
8
"id": 1
9
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free