Skip to content

Commit a64f8ca

Browse files
committed
Delete API docs for lighthouse/eth1 endpoints
1 parent 63ff0d5 commit a64f8ca

File tree

1 file changed

+0
-120
lines changed

1 file changed

+0
-120
lines changed

book/src/api_lighthouse.md

Lines changed: 0 additions & 120 deletions
Original file line numberDiff line numberDiff line change
@@ -353,126 +353,6 @@ See [Validator Inclusion APIs](./api_validator_inclusion.md).
353353

354354
See [Validator Inclusion APIs](./api_validator_inclusion.md).
355355

356-
## `/lighthouse/eth1/syncing`
357-
358-
Returns information regarding execution layer, as it is required for use in
359-
consensus layer
360-
361-
### Fields
362-
363-
- `head_block_number`, `head_block_timestamp`: the block number and timestamp
364-
from the very head of the execution chain. Useful for understanding the immediate
365-
health of the execution node that the beacon node is connected to.
366-
- `latest_cached_block_number` & `latest_cached_block_timestamp`: the block
367-
number and timestamp of the latest block we have in our block cache.
368-
- For correct execution client voting this timestamp should be later than the
369-
`voting_target_timestamp`.
370-
371-
- `voting_target_timestamp`: The latest timestamp allowed for an execution layer block in this voting period.
372-
- `eth1_node_sync_status_percentage` (float): An estimate of how far the head of the
373-
execution node is from the head of the execution chain.
374-
- `100.0` indicates a fully synced execution node.
375-
- `0.0` indicates an execution node that has not verified any blocks past the
376-
genesis block.
377-
- `lighthouse_is_cached_and_ready`: Is set to `true` if the caches in the
378-
beacon node are ready for block production.
379-
- This value might be set to
380-
`false` whilst `eth1_node_sync_status_percentage == 100.0` if the beacon
381-
node is still building its internal cache.
382-
- This value might be set to `true` whilst
383-
`eth1_node_sync_status_percentage < 100.0` since the cache only cares
384-
about blocks a certain distance behind the head.
385-
386-
### Example
387-
388-
```bash
389-
curl -X GET "http://localhost:5052/lighthouse/eth1/syncing" -H "accept: application/json" | jq
390-
```
391-
392-
```json
393-
{
394-
"data": {
395-
"head_block_number": 3611806,
396-
"head_block_timestamp": 1603249317,
397-
"latest_cached_block_number": 3610758,
398-
"latest_cached_block_timestamp": 1603233597,
399-
"voting_target_timestamp": 1603228632,
400-
"eth1_node_sync_status_percentage": 100,
401-
"lighthouse_is_cached_and_ready": true
402-
}
403-
}
404-
```
405-
406-
## `/lighthouse/eth1/block_cache`
407-
408-
Returns a list of all the execution layer blocks in the execution client voting cache.
409-
410-
### Example
411-
412-
```bash
413-
curl -X GET "http://localhost:5052/lighthouse/eth1/block_cache" -H "accept: application/json" | jq
414-
```
415-
416-
```json
417-
{
418-
"data": [
419-
{
420-
"hash": "0x3a17f4b7ae4ee57ef793c49ebc9c06ff85207a5e15a1d0bd37b68c5ef5710d7f",
421-
"timestamp": 1603173338,
422-
"number": 3606741,
423-
"deposit_root": "0xd24920d936e8fb9b67e93fd126ce1d9e14058b6d82dcf7d35aea46879fae6dee",
424-
"deposit_count": 88911
425-
},
426-
{
427-
"hash": "0x78852954ea4904e5f81038f175b2adefbede74fbb2338212964405443431c1e7",
428-
"timestamp": 1603173353,
429-
"number": 3606742,
430-
"deposit_root": "0xd24920d936e8fb9b67e93fd126ce1d9e14058b6d82dcf7d35aea46879fae6dee",
431-
"deposit_count": 88911
432-
}
433-
]
434-
}
435-
```
436-
437-
## `/lighthouse/eth1/deposit_cache`
438-
439-
Returns a list of all cached logs from the deposit contract.
440-
441-
### Example
442-
443-
```bash
444-
curl -X GET "http://localhost:5052/lighthouse/eth1/deposit_cache" -H "accept: application/json" | jq
445-
```
446-
447-
```json
448-
{
449-
"data": [
450-
{
451-
"deposit_data": {
452-
"pubkey": "0xae9e6a550ac71490cdf134533b1688fcbdb16f113d7190eacf4f2e9ca6e013d5bd08c37cb2bde9bbdec8ffb8edbd495b",
453-
"withdrawal_credentials": "0x0062a90ebe71c4c01c4e057d7d13b944d9705f524ebfa24290c22477ab0517e4",
454-
"amount": "32000000000",
455-
"signature": "0xa87a4874d276982c471e981a113f8af74a31ffa7d18898a02df2419de2a7f02084065784aa2f743d9ddf80952986ea0b012190cd866f1f2d9c633a7a33c2725d0b181906d413c82e2c18323154a2f7c7ae6f72686782ed9e423070daa00db05b"
456-
},
457-
"block_number": 3086571,
458-
"index": 0,
459-
"signature_is_valid": false
460-
},
461-
{
462-
"deposit_data": {
463-
"pubkey": "0xb1d0ec8f907e023ea7b8cb1236be8a74d02ba3f13aba162da4a68e9ffa2e395134658d150ef884bcfaeecdf35c286496",
464-
"withdrawal_credentials": "0x00a6aa2a632a6c4847cf87ef96d789058eb65bfaa4cc4e0ebc39237421c22e54",
465-
"amount": "32000000000",
466-
"signature": "0x8d0f8ec11935010202d6dde9ab437f8d835b9cfd5052c001be5af9304f650ada90c5363022e1f9ef2392dd222cfe55b40dfd52578468d2b2092588d4ad3745775ea4d8199216f3f90e57c9435c501946c030f7bfc8dbd715a55effa6674fd5a4"
467-
},
468-
"block_number": 3086579,
469-
"index": 1,
470-
"signature_is_valid": false
471-
}
472-
]
473-
}
474-
```
475-
476356
## `/lighthouse/liveness`
477357

478358
POST request that checks if any of the given validators have attested in the given epoch. Returns a list

0 commit comments

Comments
 (0)