package
0.0.0-20230316214135-5f8afbd6d05d
Repository: https://github.com/protolambda/eth2api.git
Documentation: pkg.go.dev
# Functions
Retrieves block details for given block id.
Retrieves attestations included in requested block.
Retrieves block header for given block id.
Retrieves block headers matching given query.
Retrieves hashTreeRoot of BeaconBlock/BeaconBlockHeader.
Retrieves block details for given block id.
Retrieves the committees for the given state.
Returns finality checkpoints for state with given 'stateId'.
Returns Fork object for state with given 'stateId'.
Retrieve details of the chain's genesis which can be used to identify chain.
Retrieves attestations known by the node but not necessarily incorporated into any block.
Retrieves attester slashings known by the node but not necessarily incorporated into any block.
Retrieves proposer slashings known by the node but not necessarily incorporated into any block.
Retrieves voluntary exits known by the node but not necessarily incorporated into any block.
Instructs the beacon node to broadcast a newly signed beacon block to the beacon network, to be included in the beacon chain.
Calculates HashTreeRoot for state with given 'stateId'.
Returns validator specified by state and id or public key along with status and balance.
Returns filterable list of validator balances.
Returns filterable list of validators with their balance, status and index.
Submits Attestation objects to the node.
Submits AttesterSlashing object to node's pool and if passes validation node MUST broadcast it to network.
Submits SignedBLSToExecutionChanges object to node's pool and if passes validation node MUST broadcast it to network.
Submits ProposerSlashing object to node's pool and if passes validation node MUST broadcast it to network.
Submits sync committee signature objects to the node.
Submits SignedVoluntaryExit object to node's pool and if passes validation node MUST broadcast it to network.
Retrieves the sync committees for the given state.