MCPcopy Create free account
hub / github.com/ethstorage/es-node / QueryUrlForV2BeaconBlock

Method QueryUrlForV2BeaconBlock

ethstorage/eth/beacon_client.go:112–114  ·  view source on GitHub ↗
(clBlock string)

Source from the content-addressed store, hash-verified

110}
111
112func (c *BeaconClient) QueryUrlForV2BeaconBlock(clBlock string) (string, error) {
113 return url.JoinPath(c.beaconURL, fmt.Sprintf("/eth/v2/beacon/blocks/%s", clBlock))
114}
115
116func (c *BeaconClient) QueryUrlForV1BeaconBlobs(timestamp uint64, hashes []common.Hash) (string, error) {
117 slot := c.Timestamp2Slot(timestamp)

Callers 2

queryBlobsMethod · 0.80
queryBlobSidecarsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected