Skip to content

Latest commit

 

History

History
515 lines (422 loc) · 16.8 KB

web3.beacon.rst

File metadata and controls

515 lines (422 loc) · 16.8 KB

Eth 2.0 Beacon API

Warning

This API Is experimental. Client support is incomplete and the API itself is still evolving.

To use this API, you'll need a beacon node running locally or remotely. To set that up, refer to the documentation of your specific client.

Once you have a running beacon node, import and configure your beacon instance:

>>> from web3.beacon import Beacon
>>> beacon = Beacon("http://localhost:5051")

Methods