curl --request POST \
--url https://rpc.mainnet.near.org/EXPERIMENTAL_validators_ordered \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"jsonrpc": "<string>",
"method": "EXPERIMENTAL_validators_ordered",
"params": {
"block_id": 1
}
}
'{
"result": [
{
"account_id": "<string>",
"public_key": "<string>",
"stake": "<string>",
"validator_stake_struct_version": "V1"
}
],
"id": "<string>",
"jsonrpc": "<string>"
}Returns the current epoch validators ordered in the block producer order with repetition. This endpoint is solely used for bridge currently and is not intended for other external use cases.
curl --request POST \
--url https://rpc.mainnet.near.org/EXPERIMENTAL_validators_ordered \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"jsonrpc": "<string>",
"method": "EXPERIMENTAL_validators_ordered",
"params": {
"block_id": 1
}
}
'{
"result": [
{
"account_id": "<string>",
"public_key": "<string>",
"stake": "<string>",
"validator_stake_struct_version": "V1"
}
],
"id": "<string>",
"jsonrpc": "<string>"
}