更新时间:2023-09-11 GMT+08:00

共识层请求示例

Request example(With Credential):

curl -X GET -H 'Content-Type: application/json' https://your-http-endpoint/your-credential/eth/v1/beacon/genesis
Request example(With IAM Token):
curl -X GET -H 'Content-Type: application/json' -H 'X-Auth-Token:your-iam-token' https://your-http-endpoint/eth/v1/beacon/genesis 

Response example:

{"data":{"genesis_time":"1606824023","genesis_validators_root":"0x4b363db94e286120d76eb905340fdd4e54bfe9f06bf33ff6cf5ad27f511bfe95","genesis_fork_version":"0x00000000"}}