Skip to main content
POST
/
validators
cURL
curl --request POST \
  --url https://api.example.com/validators \
  --header 'Content-Type: application/json' \
  --data '
{
  "params": {
    "epoch_id": "<string>"
  },
  "id": "dontcare",
  "jsonrpc": "2.0"
}
'
{
  "result": {
    "current_fishermen": [
      {
        "account_id": "<string>",
        "public_key": "<string>",
        "stake": "<string>"
      }
    ],
    "current_proposals": [
      {
        "account_id": "<string>",
        "public_key": "<string>",
        "stake": "<string>"
      }
    ],
    "current_validators": [
      {
        "account_id": "<string>",
        "is_slashed": true,
        "num_expected_blocks": 1,
        "num_produced_blocks": 1,
        "public_key": "<string>",
        "shards": [
          1
        ],
        "stake": "<string>",
        "num_expected_chunks": 0,
        "num_expected_chunks_per_shard": [],
        "num_expected_endorsements": 0,
        "num_expected_endorsements_per_shard": [],
        "num_produced_chunks": 0,
        "num_produced_chunks_per_shard": [],
        "num_produced_endorsements": 0,
        "num_produced_endorsements_per_shard": [],
        "shards_endorsed": []
      }
    ],
    "epoch_height": 1,
    "epoch_start_height": 1,
    "next_fishermen": [
      {
        "account_id": "<string>",
        "public_key": "<string>",
        "stake": "<string>"
      }
    ],
    "next_validators": [
      {
        "account_id": "<string>",
        "public_key": "<string>",
        "shards": [
          1
        ],
        "stake": "<string>"
      }
    ],
    "prev_epoch_kickout": [
      {
        "account_id": "<string>"
      }
    ],
    "validator_reward_paid_prev_epoch": {}
  },
  "id": "<string>",
  "jsonrpc": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.near.org/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
method
enum<string>
required
Available options:
validators
params
RpcValidatorRequest · object
required
id
string
default:dontcare

JSON-RPC request id. Auto-populated; can be any string.

jsonrpc
enum<string>
default:2.0

JSON-RPC protocol version. Always 2.0.

Available options:
2.0

Response

200 - application/json
result
object
required

Information about this epoch validators and next epoch validators

id
string
required
jsonrpc
string
required