Overview of Ethereum Beacon APIs
masterThe Ethereum Beacon APIs are a collection of RESTful APIs provided by Ethereum Beacon nodes. They expose an interface based on the Ethereum consensus layer specifications to promote interoperability between different beacon node implementations.
Key Concepts
- API Interface: A REST interface accessed via HTTP, currently supporting JSON as the only return data type.
- Beacon Node (BN): Maintains the state of the beacon chain by communicating with other nodes. It does not maintain the keypairs used for participating in the chain.
- Validator Client (VC): A conceptually separate entity that uses private keys to perform validator duties, such as producing beacon blocks and signing attestations.
Security Warning
Unless protected by additional security layers, these APIs should not be exposed to the public internet. Certain endpoints can trigger heavy processing, making the node vulnerable to denial-of-service (DoS) attacks.