Updated on 2024-11-14 GMT+08:00

Validator APIs

Table 1 Validator APIs

API Method

Type

Description

/eth/v1/node/version

GET

Get the beacon node version.

/eth/v1/beacon/genesis

GET

Get details of the chain's genesis.

/eth/v1/beacon/states/{state_id}/fork

GET

Get the fork object for a given state_id.

/eth/v1/beacon/states/{state_id}/validators/{validator_id}

GET

Get the information for a given validator_id.

/eth/v1/beacon/blinded_blocks

POST

Publish a signed block.

/eth/v2/beacon/blinded_blocks

POST

Publish a signed block.

/eth/v1/beacon/blocks

POST

Publish a signed block.

/eth/v2/beacon/blocks

POST

Publish a signed block.

/eth/v1/beacon/blocks/{block_id}/root

GET

Get the block root information for a given block ID.

/eth/v1/beacon/pool/attestations

POST

Submit attestation objects to node.

/eth/v1/beacon/pool/sync_committees

POST

Submit sync committee signatures to node.

/eth/v1/node/syncing

GET

Get the beacon node syncing status.

/eth/v1/config/spec

GET

Get the specification configurations used on this node.

/eth/v1/validator/duties/attester/{epoch}

POST

Get validator duties.

/eth/v1/validator/duties/proposer/{epoch}

GET

Get block proposer duties.

/eth/v1/validator/duties/sync/{epoch}

POST

Get sync committee duties.

/eth/v2/validator/blocks/{slot} (Deprecated)

POST

Produce a new block, without signature.

/eth/v3/validator/blocks/{slot}/eth/v1/node/health

GET

Produce a new block, without signature.

/eth/v1/validator/blinded_blocks/{slot} (Deprecated)

GET

Produce a new blinded block, without signature.

/eth/v1/validator/attestation_data

GET

Produce an attestation data.

/eth/v1/validator/aggregate_attestation

GET

Get aggregated attestation.

/eth/v1/node/health

POST

Publish multiple aggregate and proofs.

/eth/v1/validator/beacon_committee_subscriptions

POST

Signal beacon node to prepare for a committee subnet.

/eth/v1/validator/sync_committee_subscriptions

POST

Subscribe to sync committee subnets.

/eth/v1/validator/sync_committee_contribution

GET

Produce a sync committee contribution.

/eth/v1/validator/contribution_and_proofs

POST

Publish multiple contributions and proofs.

/eth/v1/validator/prepare_beacon_proposer

POST

Provide beacon node with proposals for the given validators.

/eth/v1/events

GET

Subscribe to beacon node events.

/eth/v1/validator/register_validator

POST

Register a validator.

/eth/v1/config/deposit_contract

GET

Get the deposit contract address.

/eth/v1/config/fork_schedule

GET

Get all forks.

/eth/v1/beacon/states/{state_id}/validators

GET

Get the validator information.

/eth/v1/beacon/blocks/{block_id}/attestations

GET

Get attestations included in a requested block.

/eth/v1/node/peer_count

GET

Get the number of known peers.

/eth/v1/node/peers

GET

Get data about the given peer.

/eth/v1/node/health

GET

Get the node health status in HTTP status codes.