Parameters
chainId
string
default:"43113"
required
Unique identifier for a blockchain network.
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"platform.getCurrentValidators"
required
JSON-RPC method name.
Parameters for platform.getCurrentValidators:params.subnetID: Optional ID of the subnet. If omitted, returns validators of the Primary Network.params.nodeIDs: Optional list of NodeIDs to filter the validators returned.
Returns
The JSON-RPC result.
Validator transaction ID.
Unix time when validation starts.
Unix time when validation ends.
Stake weight used for sampling.
L1 validator registration tx ID.
Compressed BLS public key.
OutputOwners for withdrawn balance.
OutputOwners who can deactivate.
Minimum nonce for SetL1ValidatorWeightTx.
Remaining balance for continuous fee.
Owner of staking rewards.
Owner of delegation rewards.
Potential reward from staking.
Fee rate charged to delegators.
Whether node is currently connected.
Total stake of delegators.
List of delegators (only when a single nodeID is requested).
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43113 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "platform.getCurrentValidators",
"params": {}
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}