2021-06-02 20:20:11 +00:00
|
|
|
{
|
|
|
|
"swagger": "2.0",
|
|
|
|
"info": {
|
|
|
|
"title": "Ethereum Serenity APIs",
|
|
|
|
"description": "{{ index . description }}",
|
|
|
|
"version": "v1alpha1",
|
|
|
|
"license": {
|
|
|
|
"name": "Licenced under Apache 2.0",
|
|
|
|
"url": "http://www.apache.org/licenses/LICENSE-2.0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"host": "api.prylabs.net",
|
|
|
|
"schemes": [
|
|
|
|
"https",
|
|
|
|
"wss"
|
|
|
|
],
|
|
|
|
"consumes": [
|
|
|
|
"application/json",
|
|
|
|
"application/grpc-web-text",
|
|
|
|
"application/grpc-web-json"
|
|
|
|
],
|
|
|
|
"produces": [
|
|
|
|
"application/json",
|
|
|
|
"application/grpc-web-text",
|
|
|
|
"application/grpc-web-json"
|
|
|
|
],
|
|
|
|
"paths": {},
|
|
|
|
"definitions": {
|
|
|
|
"protobufAny": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"typeUrl": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "byte"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"rpcStatus": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"code": {
|
|
|
|
"type": "integer",
|
|
|
|
"format": "int32"
|
|
|
|
},
|
|
|
|
"message": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"details": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"$ref": "#/definitions/protobufAny"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"externalDocs": {
|
2021-06-26 19:00:33 +00:00
|
|
|
"description": "Ethereum Consensus Specification on Github",
|
2021-06-02 20:20:11 +00:00
|
|
|
"url": "https://github.com/ethereum/eth2.0-specs"
|
|
|
|
}
|
|
|
|
}
|