diff --git a/CHANGES.md b/CHANGES.md index c3fd6e4d..abe7ee8c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -16,6 +16,17 @@ The Following are no longer in the Standard API, removed since the latest versio | Endpoint | [Lighthouse](https://github.com/sigp/lighthouse) | [Lodestar](https://github.com/ChainSafe/lodestar) | [Nimbus](https://github.com/status-im/nimbus-eth2) | [Prysm](https://github.com/prysmaticlabs/prysm) | [Teku](https://github.com/ConsenSys/teku) | |----------------------------------------------------------------------------------------------------------|--------------------------------------------------|---------------------------------------------------|----------------------------------------------------|-------------------------------------------------|-------------------------------------------| +| [#549](https://github.com/ethereum/beacon-APIs/pull/549) `GET /eth/v1/beacon/deposit_snapshot` removed | | | | | | +| [#549](https://github.com/ethereum/beacon-APIs/pull/549) `GET /eth/v1/beacon/blocks/{block_id}/attestations` removed | | | | | | +| [#549](https://github.com/ethereum/beacon-APIs/pull/549) `GET /eth/v1/beacon/pool/attestations` removed | | | | | | +| [#549](https://github.com/ethereum/beacon-APIs/pull/549) `POST /eth/v1/beacon/pool/attestations` removed | | | | | | +| [#549](https://github.com/ethereum/beacon-APIs/pull/549) `GET /eth/v1/beacon/pool/attester_slashings` removed | | | | | | +| [#549](https://github.com/ethereum/beacon-APIs/pull/549) `POST /eth/v1/beacon/pool/attester_slashings` removed | | | | | | +| [#549](https://github.com/ethereum/beacon-APIs/pull/549) `GET /eth/v1/validator/aggregate_attestation` removed | | | | | | +| [#549](https://github.com/ethereum/beacon-APIs/pull/549) `POST /eth/v1/validator/aggregate_and_proofs` removed | | | | | | +| [#549](https://github.com/ethereum/beacon-APIs/pull/549) `POST /eth/v1/beacon/blocks` removed | | | | | | +| [#549](https://github.com/ethereum/beacon-APIs/pull/549) `POST /eth/v1/beacon/blinded_blocks` removed | | | | | | +| [#549](https://github.com/ethereum/beacon-APIs/pull/549) `GET /eth/v1/builder/states/{state_id}/expected_withdrawals` removed | | | | | | ## v3.1.0 diff --git a/apis/beacon/blocks/attestations.yaml b/apis/beacon/blocks/attestations.yaml deleted file mode 100644 index 55add0c8..00000000 --- a/apis/beacon/blocks/attestations.yaml +++ /dev/null @@ -1,51 +0,0 @@ -get: - operationId: getBlockAttestations - summary: Get block attestations - deprecated: true - description: Retrieves attestation included in requested block. - tags: - - Beacon - parameters: - - name: block_id - in: path - required: true - $ref: '../../../beacon-node-oapi.yaml#/components/parameters/BlockId' - - responses: - "200": - description: Success - content: - application/json: - schema: - title: GetBlockAttestationsResponse - type: object - required: [execution_optimistic, finalized, data] - properties: - execution_optimistic: - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/ExecutionOptimistic" - finalized: - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Finalized" - data: - type: array - items: - $ref: '../../../beacon-node-oapi.yaml#/components/schemas/Phase0.Attestation' - "400": - description: "The block ID supplied could not be parsed" - content: - application/json: - schema: - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/ErrorMessage" - example: - code: 400 - message: "Invalid block ID: current" - "404": - description: "Block not found" - content: - application/json: - schema: - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/ErrorMessage" - example: - code: 404 - message: "Block not found" - "500": - $ref: "../../../beacon-node-oapi.yaml#/components/responses/InternalError" diff --git a/apis/beacon/blocks/blinded_blocks.yaml b/apis/beacon/blocks/blinded_blocks.yaml deleted file mode 100644 index 9e4c8e76..00000000 --- a/apis/beacon/blocks/blinded_blocks.yaml +++ /dev/null @@ -1,60 +0,0 @@ -post: - tags: - - Beacon - - ValidatorRequiredApi - summary: "Publish a signed block." - deprecated: true - operationId: "publishBlindedBlock" - description: | - Instructs the beacon node to use the components of the `SignedBlindedBeaconBlock` to construct and publish a - `SignedBeaconBlock` by swapping out the `transactions_root` for the corresponding full list of `transactions`. - The beacon node should broadcast a newly constructed `SignedBeaconBlock` to the beacon network, - to be included in the beacon chain. The beacon node is not required to validate the signed - `BeaconBlock`, and a successful response (20X) only indicates that the broadcast has been - successful. The beacon node is expected to integrate the new block into its state, and - therefore validate the block internally, however blocks which fail the validation are still - broadcast but a different status code is returned (202). Before Bellatrix, this endpoint will accept - a `SignedBeaconBlock`. - parameters: - - in: header - schema: - $ref: '../../../beacon-node-oapi.yaml#/components/schemas/ConsensusVersion' - required: false - name: Eth-Consensus-Version - description: "The active consensus version to which the block being submitted belongs." - requestBody: - description: "The `SignedBlindedBeaconBlock` object composed of `BlindedBeaconBlock` object (produced by beacon node) and validator signature." - required: true - content: - application/json: - schema: - anyOf: - - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Electra.SignedBlindedBeaconBlock" - - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Deneb.SignedBlindedBeaconBlock" - - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Capella.SignedBlindedBeaconBlock" - - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Bellatrix.SignedBlindedBeaconBlock" - - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Altair.SignedBeaconBlock" - - $ref: '../../../beacon-node-oapi.yaml#/components/schemas/Phase0.SignedBeaconBlock' - application/octet-stream: - schema: - description: "SSZ serialized block bytes. Use content type header to indicate that SSZ data is contained in the request body." - responses: - "200": - description: "The block was validated successfully and has been broadcast. It has also been integrated into the beacon node's database." - "202": - description: "The block failed validation, but was successfully broadcast anyway. It was not integrated into the beacon node's database." - "400": - description: "The `SignedBlindedBeaconBlock` object is invalid" - content: - application/json: - schema: - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/ErrorMessage" - example: - code: 400 - message: "Invalid block: missing signature" - "415": - $ref: '../../../beacon-node-oapi.yaml#/components/responses/UnsupportedMediaType' - "500": - $ref: '../../../beacon-node-oapi.yaml#/components/responses/InternalError' - "503": - $ref: '../../../beacon-node-oapi.yaml#/components/responses/CurrentlySyncing' diff --git a/apis/beacon/blocks/blocks.yaml b/apis/beacon/blocks/blocks.yaml deleted file mode 100644 index 43d23446..00000000 --- a/apis/beacon/blocks/blocks.yaml +++ /dev/null @@ -1,60 +0,0 @@ -post: - tags: - - Beacon - - ValidatorRequiredApi - summary: "Publish a signed block." - deprecated: true - operationId: "publishBlock" - description: | - Instructs the beacon node to broadcast a newly signed beacon block to the beacon network, - to be included in the beacon chain. A success response (20x) indicates that the block - passed gossip validation and was successfully broadcast onto the network. - The beacon node is also expected to integrate the block into state, but may broadcast it - before doing so, so as to aid timely delivery of the block. Should the block fail full - validation, a separate success response code (202) is used to indicate that the block was - successfully broadcast but failed integration. After Deneb, this additionally instructs - the beacon node to broadcast all given blobs. - parameters: - - in: header - schema: - $ref: '../../../beacon-node-oapi.yaml#/components/schemas/ConsensusVersion' - required: false - name: Eth-Consensus-Version - description: "The active consensus version to which the block being submitted belongs." - requestBody: - description: "The `SignedBeaconBlock` object composed of `BeaconBlock` object (produced by beacon node) and validator signature." - required: true - content: - application/json: - schema: - anyOf: - - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Fulu.SignedBlockContents" - - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Electra.SignedBlockContents" - - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Deneb.SignedBlockContents" - - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Capella.SignedBeaconBlock" - - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Bellatrix.SignedBeaconBlock" - - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Altair.SignedBeaconBlock" - - $ref: '../../../beacon-node-oapi.yaml#/components/schemas/Phase0.SignedBeaconBlock' - application/octet-stream: - schema: - description: "SSZ serialized block bytes. Use content type header to indicate that SSZ data is contained in the request body." - responses: - "200": - description: "The block was validated successfully and has been broadcast. It has also been integrated into the beacon node's database." - "202": - description: "The block could not be integrated into the beacon node's database as it failed validation, but was successfully broadcast." - "400": - description: "The `SignedBeaconBlock` object is invalid and could not be broadcast" - content: - application/json: - schema: - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/ErrorMessage" - example: - code: 400 - message: "Invalid block: missing signature" - "415": - $ref: '../../../beacon-node-oapi.yaml#/components/responses/UnsupportedMediaType' - "500": - $ref: '../../../beacon-node-oapi.yaml#/components/responses/InternalError' - "503": - $ref: '../../../beacon-node-oapi.yaml#/components/responses/CurrentlySyncing' diff --git a/apis/beacon/deposit_snapshot.yaml b/apis/beacon/deposit_snapshot.yaml deleted file mode 100644 index 2c80752c..00000000 --- a/apis/beacon/deposit_snapshot.yaml +++ /dev/null @@ -1,37 +0,0 @@ - get: - operationId: getDepositSnapshot - summary: "Get Deposit Tree Snapshot" - deprecated: true - description: | - Retrieve [EIP-4881](https://eips.ethereum.org/EIPS/eip-4881) Deposit Tree Snapshot. - Depending on `Accept` header it can be returned either as json or as bytes serialized by SSZ - tags: - - Beacon - responses: - "200": - description: Success - content: - application/json: - schema: - type: object - title: GetDepositSnapshotResponse - required: [data] - properties: - data: - $ref: '../../beacon-node-oapi.yaml#/components/schemas/DepositSnapshotResponse' - application/octet-stream: - schema: - description: "SSZ serialized block bytes. Use Accept header to choose this response type" - "404": - description: "No Finalized Snapshot Available" - content: - application/json: - schema: - $ref: "../../beacon-node-oapi.yaml#/components/schemas/ErrorMessage" - example: - code: 404 - message: "No Finalized Snapshot Available" - "406": - $ref: "../../beacon-node-oapi.yaml#/components/responses/NotAcceptable" - "500": - $ref: '../../beacon-node-oapi.yaml#/components/responses/InternalError' diff --git a/apis/beacon/pool/attestations.yaml b/apis/beacon/pool/attestations.yaml deleted file mode 100644 index ab15b377..00000000 --- a/apis/beacon/pool/attestations.yaml +++ /dev/null @@ -1,76 +0,0 @@ -get: - operationId: getPoolAttestations - summary: Get Attestations from operations pool - deprecated: true - description: Retrieves attestations known by the node but not necessarily incorporated into any block - parameters: - - name: slot - in: query - required: false - schema: - $ref: '../../../beacon-node-oapi.yaml#/components/schemas/Uint64' - - name: committee_index - in: query - required: false - schema: - $ref: '../../../beacon-node-oapi.yaml#/components/schemas/Uint64' - tags: - - Beacon - responses: - "200": - description: Successful response - content: - application/json: - schema: - title: GetPoolAttestationsResponse - type: object - required: [data] - properties: - data: - type: array - items: - $ref: '../../../beacon-node-oapi.yaml#/components/schemas/Phase0.Attestation' - "400": - description: "The slot or committee index could not be parsed" - content: - application/json: - schema: - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/ErrorMessage" - example: - code: 400 - message: "Invalid slot: current" - "500": - $ref: '../../../beacon-node-oapi.yaml#/components/responses/InternalError' - -post: - operationId: submitPoolAttestations - summary: Submit Attestation objects to node - deprecated: true - description: | - Submits Attestation objects to the node. Each attestation in the request body is processed individually. - - If an attestation is validated successfully the node MUST publish that attestation on the appropriate subnet. - - If one or more attestations fail validation the node MUST return a 400 error with details of which attestations have failed, and why. - tags: - - Beacon - - ValidatorRequiredApi - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '../../../beacon-node-oapi.yaml#/components/schemas/Phase0.Attestation' - responses: - "200": - description: Attestations are stored in pool and broadcast on appropriate subnet - "400": - description: "Errors with one or more attestations" - content: - application/json: - schema: - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/IndexedErrorMessage" - "500": - $ref: '../../../beacon-node-oapi.yaml#/components/responses/InternalError' diff --git a/apis/beacon/pool/attester_slashings.yaml b/apis/beacon/pool/attester_slashings.yaml deleted file mode 100644 index 5d7d3acc..00000000 --- a/apis/beacon/pool/attester_slashings.yaml +++ /dev/null @@ -1,51 +0,0 @@ -get: - operationId: getPoolAttesterSlashings - summary: Get AttesterSlashings from operations pool - deprecated: true - description: Retrieves attester slashings known by the node but not necessarily incorporated into any block - tags: - - Beacon - responses: - "200": - description: Successful response - content: - application/json: - schema: - title: GetPoolAttesterSlashingsResponse - type: object - required: [data] - properties: - data: - type: array - items: - $ref: '../../../beacon-node-oapi.yaml#/components/schemas/Phase0.AttesterSlashing' - "500": - $ref: '../../../beacon-node-oapi.yaml#/components/responses/InternalError' - -post: - operationId: submitPoolAttesterSlashings - summary: Submit AttesterSlashing object to node's pool - deprecated: true - description: Submits AttesterSlashing object to node's pool and if passes validation node MUST broadcast it to network. - tags: - - Beacon - requestBody: - required: true - content: - application/json: - schema: - $ref: '../../../beacon-node-oapi.yaml#/components/schemas/Phase0.AttesterSlashing' - responses: - "200": - description: Success - "400": - description: "Invalid attester slashing" - content: - application/json: - schema: - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/ErrorMessage" - example: - code: 400 - message: "Invalid attester slashing, it will never pass validation so it's rejected" - "500": - $ref: '../../../beacon-node-oapi.yaml#/components/responses/InternalError' diff --git a/apis/builder/states/expected_withdrawals.yaml b/apis/builder/states/expected_withdrawals.yaml deleted file mode 100644 index a30f9ce5..00000000 --- a/apis/builder/states/expected_withdrawals.yaml +++ /dev/null @@ -1,63 +0,0 @@ -get: - operationId: "getNextWithdrawals" - summary: "Get the withdrawals that are to be included for the block built on the specified state." - deprecated: true - description: | - Get the withdrawals computed from the specified state, that will be included in the block - that gets built on the specified state. - tags: - - Builder - parameters: - - name: state_id - in: path - $ref: '../../../beacon-node-oapi.yaml#/components/parameters/StateId' - - name: proposal_slot - description: "The slot that a block is being built for, with the specified state as the parent. Defaults to the slot after the parent state if not specified." - in: query - required: false - allowEmptyValue: false - schema: - $ref: '../../../beacon-node-oapi.yaml#/components/schemas/Uint64' - responses: - "200": - description: Success - content: - application/json: - schema: - title: GetNextWithdrawalsResponse - type: object - required: [execution_optimistic, finalized, data] - properties: - execution_optimistic: - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/ExecutionOptimistic" - finalized: - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Finalized" - data: - type: array - items: - $ref: '../../../beacon-node-oapi.yaml#/components/schemas/Capella.Withdrawal' - application/octet-stream: - schema: - description: "SSZ serialized Withdrawals list. Use Accept header to choose this response type" - "400": - description: "An error occurred preparing the withdrawals from the specified state for the proposal slot." - content: - application/json: - schema: - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/ErrorMessage" - example: - code: 400 - message: "The specified state is not a capella state." - "404": - description: "State not found" - content: - application/json: - schema: - $ref: "../../../beacon-node-oapi.yaml#/components/schemas/ErrorMessage" - example: - code: 404 - message: "State not found" - "406": - $ref: "../../../beacon-node-oapi.yaml#/components/responses/NotAcceptable" - "500": - $ref: '../../../beacon-node-oapi.yaml#/components/responses/InternalError' diff --git a/apis/validator/aggregate_and_proofs.yaml b/apis/validator/aggregate_and_proofs.yaml deleted file mode 100644 index d01050b5..00000000 --- a/apis/validator/aggregate_and_proofs.yaml +++ /dev/null @@ -1,23 +0,0 @@ -post: - operationId: "publishAggregateAndProofs" - summary: "Publish multiple aggregate and proofs" - deprecated: true - description: "Verifies given aggregate and proofs and publishes them on appropriate gossipsub topic." - tags: - - ValidatorRequiredApi - - Validator - requestBody: - required: true - content: - application/json: - schema: - type: array - items: - $ref: '../../beacon-node-oapi.yaml#/components/schemas/Phase0.SignedAggregateAndProof' - responses: - "200": - description: "Successful response" - "400": - $ref: '../../beacon-node-oapi.yaml#/components/responses/InvalidRequest' - "500": - $ref: '../../beacon-node-oapi.yaml#/components/responses/InternalError' diff --git a/apis/validator/aggregate_attestation.yaml b/apis/validator/aggregate_attestation.yaml deleted file mode 100644 index 49a61f82..00000000 --- a/apis/validator/aggregate_attestation.yaml +++ /dev/null @@ -1,46 +0,0 @@ -get: - operationId: "getAggregatedAttestation" - summary: "Get aggregated attestation" - deprecated: true - description: | - Aggregates all attestations matching given attestation data root and slot. - - A 503 error must be returned if the block identified by the response - `beacon_block_root` is optimistic (i.e. the aggregated attestation attests - to a block that has not been fully verified by an execution engine). - - A 404 error must be returned if no attestation is available for the requested - `attestation_data_root`. - tags: - - ValidatorRequiredApi - - Validator - parameters: - - name: attestation_data_root - in: query - required: true - description: "HashTreeRoot of AttestationData that validator wants aggregated" - schema: - $ref: '../../beacon-node-oapi.yaml#/components/schemas/Root' - - name: slot - in: query - required: true - schema: - $ref: '../../beacon-node-oapi.yaml#/components/schemas/Uint64' - responses: - "200": - description: "Returns aggregated `Attestation` object with same `AttestationData` root." - content: - application/json: - schema: - title: GetAggregatedAttestationResponse - type: object - required: [data] - properties: - data: - $ref: '../../beacon-node-oapi.yaml#/components/schemas/Phase0.Attestation' - "400": - $ref: '../../beacon-node-oapi.yaml#/components/responses/InvalidRequest' - "404": - $ref: '../../beacon-node-oapi.yaml#/components/responses/NotFound' - "500": - $ref: '../../beacon-node-oapi.yaml#/components/responses/InternalError' diff --git a/beacon-node-oapi.yaml b/beacon-node-oapi.yaml index 3664e07e..6c8c92ff 100644 --- a/beacon-node-oapi.yaml +++ b/beacon-node-oapi.yaml @@ -45,8 +45,6 @@ servers: tags: - name: Beacon description: Set of endpoints to query beacon chain. - - name: Builder - description: Set of endpoints specific to building blocks. - name: Config description: Endpoints to query chain configuration, specification, and fork schedules. - name: Debug @@ -102,20 +100,14 @@ paths: $ref: "./apis/beacon/blocks/headers.yaml" /eth/v1/beacon/headers/{block_id}: $ref: "./apis/beacon/blocks/header.yaml" - /eth/v1/beacon/blinded_blocks: - $ref: "./apis/beacon/blocks/blinded_blocks.yaml" /eth/v2/beacon/blinded_blocks: $ref: "./apis/beacon/blocks/blinded_blocks.v2.yaml" - /eth/v1/beacon/blocks: - $ref: "./apis/beacon/blocks/blocks.yaml" /eth/v2/beacon/blocks: $ref: "./apis/beacon/blocks/blocks.v2.yaml" /eth/v2/beacon/blocks/{block_id}: $ref: "./apis/beacon/blocks/block.v2.yaml" /eth/v1/beacon/blocks/{block_id}/root: $ref: "./apis/beacon/blocks/root.yaml" - /eth/v1/beacon/blocks/{block_id}/attestations: - $ref: "./apis/beacon/blocks/attestations.yaml" /eth/v2/beacon/blocks/{block_id}/attestations: $ref: "./apis/beacon/blocks/attestations.v2.yaml" /eth/v1/beacon/blob_sidecars/{block_id}: @@ -124,8 +116,6 @@ paths: $ref: "./apis/debug/data_column_sidecars.yaml" /eth/v1/beacon/rewards/sync_committee/{block_id}: $ref: "./apis/beacon/rewards/sync_committee.yaml" - /eth/v1/beacon/deposit_snapshot: - $ref: "./apis/beacon/deposit_snapshot.yaml" /eth/v1/beacon/rewards/blocks/{block_id}: $ref: "./apis/beacon/rewards/blocks.yaml" /eth/v1/beacon/rewards/attestations/{epoch}: @@ -140,12 +130,8 @@ paths: $ref: "./apis/beacon/light_client/finality_update.yaml" /eth/v1/beacon/light_client/optimistic_update: $ref: "./apis/beacon/light_client/optimistic_update.yaml" - /eth/v1/beacon/pool/attestations: - $ref: "./apis/beacon/pool/attestations.yaml" /eth/v2/beacon/pool/attestations: $ref: "./apis/beacon/pool/attestations.v2.yaml" - /eth/v1/beacon/pool/attester_slashings: - $ref: "./apis/beacon/pool/attester_slashings.yaml" /eth/v2/beacon/pool/attester_slashings: $ref: "./apis/beacon/pool/attester_slashings.v2.yaml" /eth/v1/beacon/pool/proposer_slashings: @@ -157,9 +143,6 @@ paths: /eth/v1/beacon/pool/bls_to_execution_changes: $ref: "./apis/beacon/pool/bls_to_execution_changes.yaml" - /eth/v1/builder/states/{state_id}/expected_withdrawals: - $ref: "./apis/builder/states/expected_withdrawals.yaml" - /eth/v2/debug/beacon/states/{state_id}: $ref: './apis/debug/state.v2.yaml' /eth/v2/debug/beacon/heads: @@ -199,12 +182,8 @@ paths: $ref: "./apis/validator/block.v3.yaml" /eth/v1/validator/attestation_data: $ref: "./apis/validator/attestation_data.yaml" - /eth/v1/validator/aggregate_attestation: - $ref: "./apis/validator/aggregate_attestation.yaml" /eth/v2/validator/aggregate_attestation: $ref: "./apis/validator/aggregate_attestation.v2.yaml" - /eth/v1/validator/aggregate_and_proofs: - $ref: "./apis/validator/aggregate_and_proofs.yaml" /eth/v2/validator/aggregate_and_proofs: $ref: "./apis/validator/aggregate_and_proofs.v2.yaml" /eth/v1/validator/beacon_committee_subscriptions: @@ -234,8 +213,6 @@ components: schemas: BroadcastValidation: $ref: './types/api.yaml#/BroadcastValidation' - DepositSnapshotResponse: - $ref: './types/api.yaml#/DepositSnapshotResponse' ValidatorResponse: $ref: './types/api.yaml#/ValidatorResponse' ValidatorBalanceResponse: diff --git a/types/api.yaml b/types/api.yaml index 25d2c5e3..356fb4e6 100644 --- a/types/api.yaml +++ b/types/api.yaml @@ -1,24 +1,5 @@ # API specific types -DepositSnapshotResponse: - type: object - required: [finalized, deposit_root, deposit_count, execution_block_hash, execution_block_height] - properties: - finalized: - type: array - items: - $ref: './primitive.yaml#/Root' - minItems: 0 - maxItems: 32 - deposit_root: - $ref: './primitive.yaml#/Root' - deposit_count: - $ref: './primitive.yaml#/Uint64' - execution_block_hash: - $ref: './primitive.yaml#/Root' - execution_block_height: - $ref: './primitive.yaml#/Uint64' - ValidatorResponse: type: object required: [index, balance, status, validator]