Documentation Index
Fetch the complete documentation index at: https://berachain-422fce37-feat-nodes-section-reno.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Beacon Kit API Reference
Enabling the API
Beacon Kit exposes two distinct APIs:- Consensus API: An implementation of the standard Ethereum Beacon Node API for consensus clients.
- Beacon Kit API: A custom AvaPI (
bkit/v1) specific to Berachain’s implementation for validators and tooling.
app.toml file, in the [beacon-kit.node-api] section. When enabled, the suggested port is 3500.
Note that this API is different from the CometBFT RPC endpoint (also known as the CometBFT Consensus API), which is typically exposed on port 26657.
Consensus API
Beacon Kit implements a large surface area of the standard Ethereum Consensus API. For detailed request and response formats, please refer directly to the official Ethereum Beacon API Specification.Supported Endpoints
The following namespaces and endpoints are actively supported by the Beacon Kit consensus implementation:-
Beacon (
/eth/v1/beacon/*&/eth/v2/beacon/*):genesis,headers,blocks,blinded_blocksstates/{state_id}/root,fork,validators,validator_balances,committees,randao, etc.blob_sidecars/{block_id}rewards/blocks,rewards/attestations,rewards/sync_committeepool/attestations,pool/attester_slashings,pool/proposer_slashings,pool/voluntary_exits,pool/bls_to_execution_changeslight_client/bootstrap,light_client/updates,light_client/finality_update,light_client/optimistic_update
-
Config (
/eth/v1/config/*):spec,fork_schedule,deposit_contract
-
Node (
/eth/v1/node/*):identity,peers,peer_count,syncing,version,health
-
Validator (
/eth/v1/validator/*,/eth/v2/validator/*,/eth/v3/validator/*):duties/attester,duties/proposer,duties/syncblocks/{slot}attestation_data,aggregate_attestation,aggregate_and_proofsbeacon_committee_subscriptions,sync_committee_subscriptions,beacon_committee_selectionssync_committee_contribution,contribution_and_proofsprepare_beacon_proposer,register_validatorliveness/{epoch}
-
Builder (
/eth/v1/builder/*):states/{state_id}/expected_withdrawals
-
Events (
/eth/v1/events): Event streaming -
Debug (
/eth/v1/debug/*,/eth/v2/debug/*):fork_choice,beacon/heads,beacon/states/{state_id}
Beacon Kit API (bkit/v1)
The custom bkit/v1 namespace exposes specialized endpoints that are unique to the Beacon Kit architecture.
API Values
- All balance values are returned in Gwei (1 ETH = 10^9 Gwei)
-
Validator statuses include:
active_ongoingactive_exitingactive_slashedexited_unslashedexited_slashedpending_initializedpending_queuedwithdrawal_possiblewithdrawal_done
-
State IDs can be:
headgenesisfinalizedjustified- A specific slot number