File tree 2 files changed +22
-3
lines changed
2 files changed +22
-3
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ VERBOSE=3
8
8
# LOG_ROTATION=DAILY
9
9
10
10
# beacon chain endpoint url
11
+ # easily apply for a Beacon Chain endpoint on the quicknode.com platform.
11
12
BEACON_ENDPOINT=http://localhost:3500
12
13
13
14
# beacon client request timeout
@@ -17,6 +18,7 @@ BEACON_ENDPOINT=http://localhost:3500
17
18
#POLL_INTERVAL=6
18
19
19
20
# blob archiver api server listening address
21
+ # blob sidecars data is obtained from this endpoint.
20
22
LISTEN_ADDR=0.0.0.0:8000
21
23
22
24
# blob archiver origin block number
@@ -34,14 +36,17 @@ AWS_SECRET_ACCESS_KEY=password
34
36
# s3 storage region just use default value: us-east-1
35
37
AWS_REGION=us-east-1
36
38
39
+ #S3_CLIENT
40
+ S3_CLIENT=minio
41
+
37
42
# s3 storage endpoint
38
- S3_ENDPOINT=http://localhost :9000
43
+ S3_ENDPOINT=http://${S3_CLIENT} :9000
39
44
40
45
# s3 storage bucket
41
- S3_BUCKET=
46
+ S3_BUCKET=blobs
42
47
43
48
# s3 storage path
44
- S3_PATH=
49
+ S3_PATH=/
45
50
46
51
# s3 storage compress
47
52
S3_COMPRESS=true
Original file line number Diff line number Diff line change @@ -41,6 +41,20 @@ to your beacon client and storage backend of choice. Then you can run the projec
41
41
docker compose up
42
42
```
43
43
44
+ #### Get blobs
45
+ After successfully starting the service, you can use the following command to obtain the blob:
46
+
47
+ - get blob by block id from api service:
48
+ ``` shell
49
+ # also there is support other type of block id, like: finalized,justified.
50
+ curl -X ' GET' ' http://localhost:8000/eth/v1/beacon/blob_sidecars/head' -H ' accept: application/json'
51
+ ```
52
+
53
+ - get blob by slot number from api service:
54
+ ``` shell
55
+ curl -X ' GET' ' http://localhost:8000/eth/v1/beacon/blob_sidecars/7111008' -H ' accept: application/json'
56
+ ```
57
+
44
58
## Options
45
59
46
60
### ` verbose `
You can’t perform that action at this time.
0 commit comments