From b1f7c09aebbecdb16553520c79833ccfbd32a2f8 Mon Sep 17 00:00:00 2001 From: rolfyone Date: Mon, 23 Sep 2024 02:43:21 +0000 Subject: [PATCH] deploy: 203410d04697520abb83b1c7e8a396e1b7878b1c --- beacon-node-oapi.yaml | 49668 +++++++++++++++++++++++++--------------- 1 file changed, 31183 insertions(+), 18485 deletions(-) diff --git a/beacon-node-oapi.yaml b/beacon-node-oapi.yaml index 774f7754..58fa19ed 100644 --- a/beacon-node-oapi.yaml +++ b/beacon-node-oapi.yaml @@ -4822,13 +4822,13 @@ paths: pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - type: object - description: 'A variant of the [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#signedbeaconblock) object envelope from the CL Deneb spec, which contains a `BlindedBeaconBlock` rather than a `BeaconBlock`.' + description: 'A variant of the [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Deneb spec, which contains a `BlindedBeaconBlock` rather than a `BeaconBlock`.' required: - message - signature properties: message: - description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblock) object from the CL Deneb spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' + description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/beacon-chain.md#beaconblock) object from the CL Deneb spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' allOf: - type: object required: @@ -5505,188 +5505,14 @@ paths: format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - 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: - type: object - required: - - code - - message - properties: - code: - description: Either specific error code in case of invalid request or http status code - type: number - example: 404 - message: - description: Message describing error - type: string - stacktraces: - description: 'Optional stacktraces, sent when node is in debug mode' - type: array - items: - type: string - example: - code: 400 - message: 'Invalid block: missing signature' - '415': - description: Supplied content-type is not supported. - content: - application/json: - schema: - type: object - required: - - code - - message - properties: - code: - description: 'The media type in "Content-Type" header is unsupported, and the request has been rejected. This occurs when a HTTP request supplies a payload in a content-type that the server is not able to handle.' - type: number - example: 415 - message: - description: Message describing error - type: string - stacktraces: - description: 'Optional stacktraces, sent when node is in debug mode' - type: array - items: - type: string - example: - code: 415 - message: Cannot read the supplied content type. - '500': - description: Beacon node internal error. - content: - application/json: - schema: - type: object - required: - - code - - message - properties: - code: - description: Either specific error code in case of invalid request or http status code - type: number - example: 404 - message: - description: Message describing error - type: string - stacktraces: - description: 'Optional stacktraces, sent when node is in debug mode' - type: array - items: - type: string - example: - code: 500 - message: Internal server error - '503': - description: 'Beacon node is currently syncing, try again later.' - content: - application/json: - schema: - type: object - required: - - code - - message - properties: - code: - description: Either specific error code in case of invalid request or http status code - type: number - example: 404 - message: - description: Message describing error - type: string - stacktraces: - description: 'Optional stacktraces, sent when node is in debug mode' - type: array - items: - type: string - example: - code: 503 - message: Beacon node is currently syncing and not serving request on that endpoint - /eth/v2/beacon/blinded_blocks: - post: - tags: - - Beacon - - ValidatorRequiredApi - summary: Publish a signed block. - operationId: publishBlindedBlockV2 - 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`. The broadcast behaviour may be adjusted via the `broadcast_validation` - query parameter. - parameters: - - name: broadcast_validation - in: query - required: false - description: | - Level of validation that must be applied to a block before it is broadcast. - - Possible values: - - **`gossip`** (default): lightweight gossip checks only - - **`consensus`**: full consensus checks, including validation of all signatures and - blocks fields _except_ for the execution payload transactions. - - **`consensus_and_equivocation`**: the same as `consensus`, with an extra equivocation - check immediately before the block is broadcast. If the block is found to be an - equivocation it fails validation. - - If the block fails the requested level of a validation a 400 status MUST be returned - immediately and the block MUST NOT be broadcast to the network. - - If validation succeeds, the block must still be fully verified before it is - incorporated into the state and a 20x status is returned to the caller. - schema: - description: Level of validation that must be applied to a block before it is broadcast. - type: string - enum: - - gossip - - consensus - - consensus_and_equivocation - - in: header - schema: - type: string - enum: - - phase0 - - altair - - bellatrix - - capella - - deneb - - electra - example: phase0 - required: true - 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: - type: object - description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL spec.' + description: 'A variant of the [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Electra spec, which contains a `BlindedBeaconBlock` rather than a `BeaconBlock`.' required: - message - signature properties: message: - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL spec.' + description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/phase0/beacon-chain.md#beaconblock) object from the CL Electra spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' allOf: - type: object required: @@ -5704,13 +5530,13 @@ paths: type: string example: '1' parent_root: - description: The signing merkle root of the parent `BeaconBlock`. + description: The signing Merkle root of the parent `BeaconBlock`. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' @@ -5720,190 +5546,344 @@ paths: - body properties: body: - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockbody) object from the CL spec.' - required: - - randao_reveal - - eth1_data - - graffiti - - proposer_slashings - - attester_slashings - - attestations - - deposits - - voluntary_exits - properties: - randao_reveal: - description: The RanDAO reveal value provided by the validator. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - eth1_data: - type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#beaconblockbody) object from the CL Electra spec, which contains a transactions root rather than a full transactions list.' + allOf: + - type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#beaconblockbody) object from the CL Electra spec.' required: - - deposit_root - - deposit_count - - block_hash + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + - bls_to_execution_changes + - blob_kzg_commitments properties: - deposit_root: - description: Root of the deposit tree. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. - type: string - example: '1' - block_hash: - description: Ethereum 1.x block hash. + randao_reveal: + allOf: + - type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - description: The RANDAO reveal value provided by the validator. + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - graffiti: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - proposer_slashings: - type: array - items: - type: object - description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' - required: - - signed_header_1 - - signed_header_2 - properties: - signed_header_1: + proposer_slashings: + type: array + items: type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' required: - - message - - signature + - signed_header_1 + - signed_header_2 properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 131072 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - slot - - proposer_index - - parent_root - - state_root + - index + - beacon_block_root + - source + - target properties: slot: - description: The slot to which this block corresponds. type: string example: '1' - proposer_index: - description: Index of validator in validator registry. + index: type: string example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - - type: object + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 131072 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - - body_root + - slot + - index + - beacon_block_root + - source + - target properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signed_header_2: + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attestation) object from the CL spec.' required: - - message + - aggregation_bits + - data - signature + - committee_bits properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: + aggregation_bits: + description: Attester aggregation bits. type: string format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attester_slashings: - type: array - items: - type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' - required: - - attestation_1 - - attestation_2 - properties: - attestation_1: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' - required: - - attesting_indices - - data - - signature - properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' data: type: object description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' @@ -5957,250 +5937,453 @@ paths: example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + description: BLS aggregate signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestation_2: + committee_bits: + description: Committee bits. + example: '0x0000000000000001' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{2,}$' + deposits: + type: array + items: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' required: - - attesting_indices + - proof - data - - signature properties: - attesting_indices: + proof: type: array - maxItems: 2048 - description: Attesting validator indices + description: Branch in the deposit tree. items: type: string - example: '1' + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 data: type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' required: - - slot - - index - - beacon_block_root - - source - - target + - pubkey + - withdrawal_credentials + - amount + - signature properties: - slot: - type: string - example: '1' - index: + pubkey: type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestations: - type: array - items: - type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' - required: - - aggregation_bits - - data - - signature - properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: + amount: + description: Amount in Gwei. type: string example: '1' - root: + signature: + description: Container self-signature. type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' required: - epoch - - root + - validator_index properties: epoch: + description: Minimum epoch for processing exit. type: string example: '1' - root: + validator_index: + description: Index of the exiting validator. type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: BLS aggregate signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - deposits: - type: array - items: - type: object - description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' - required: - - proof - - data - properties: - proof: - type: array - description: Branch in the deposit tree. - items: + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 32 - maxItems: 32 - data: + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + bls_to_execution_changes: + type: array + items: type: object - description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' required: - - pubkey - - withdrawal_credentials - - amount + - message - signature properties: - pubkey: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - withdrawal_credentials: - description: The withdrawal credentials. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - amount: - description: Amount in Gwei. - type: string - example: '1' + message: + type: object + description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' + required: + - validator_index + - from_bls_pubkey + - to_execution_address + properties: + validator_index: + description: Index of the validator for which credentials will be changed. + type: string + example: '1' + from_bls_pubkey: + description: Public key of existing credentials. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + to_execution_address: + description: Execution address to which the credentials will be changed. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' signature: - description: Container self-signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - voluntary_exits: - type: array - items: - type: object - description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' - required: - - epoch - - validator_index - properties: - epoch: - description: Minimum epoch for processing exit. - type: string - example: '1' - validator_index: - description: Index of the exiting validator. - type: string - example: '1' - signature: + blob_kzg_commitments: + type: array + items: type: string format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + - type: object + required: + - execution_payload_header + - execution_requests_root + properties: + execution_payload_header: + description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - excess_blob_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + excess_blob_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions_root + - withdrawals_root + properties: + transactions_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + withdrawals_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + execution_requests_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' signature: type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - type: object - description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Altair spec.' + 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: + type: object + required: + - code + - message + properties: + code: + description: Either specific error code in case of invalid request or http status code + type: number + example: 404 + message: + description: Message describing error + type: string + stacktraces: + description: 'Optional stacktraces, sent when node is in debug mode' + type: array + items: + type: string + example: + code: 400 + message: 'Invalid block: missing signature' + '415': + description: Supplied content-type is not supported. + content: + application/json: + schema: + type: object + required: + - code + - message + properties: + code: + description: 'The media type in "Content-Type" header is unsupported, and the request has been rejected. This occurs when a HTTP request supplies a payload in a content-type that the server is not able to handle.' + type: number + example: 415 + message: + description: Message describing error + type: string + stacktraces: + description: 'Optional stacktraces, sent when node is in debug mode' + type: array + items: + type: string + example: + code: 415 + message: Cannot read the supplied content type. + '500': + description: Beacon node internal error. + content: + application/json: + schema: + type: object + required: + - code + - message + properties: + code: + description: Either specific error code in case of invalid request or http status code + type: number + example: 404 + message: + description: Message describing error + type: string + stacktraces: + description: 'Optional stacktraces, sent when node is in debug mode' + type: array + items: + type: string + example: + code: 500 + message: Internal server error + '503': + description: 'Beacon node is currently syncing, try again later.' + content: + application/json: + schema: + type: object + required: + - code + - message + properties: + code: + description: Either specific error code in case of invalid request or http status code + type: number + example: 404 + message: + description: Message describing error + type: string + stacktraces: + description: 'Optional stacktraces, sent when node is in debug mode' + type: array + items: + type: string + example: + code: 503 + message: Beacon node is currently syncing and not serving request on that endpoint + /eth/v2/beacon/blinded_blocks: + post: + tags: + - Beacon + - ValidatorRequiredApi + summary: Publish a signed block. + operationId: publishBlindedBlockV2 + 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`. The broadcast behaviour may be adjusted via the `broadcast_validation` + query parameter. + parameters: + - name: broadcast_validation + in: query + required: false + description: | + Level of validation that must be applied to a block before it is broadcast. + + Possible values: + - **`gossip`** (default): lightweight gossip checks only + - **`consensus`**: full consensus checks, including validation of all signatures and + blocks fields _except_ for the execution payload transactions. + - **`consensus_and_equivocation`**: the same as `consensus`, with an extra equivocation + check immediately before the block is broadcast. If the block is found to be an + equivocation it fails validation. + + If the block fails the requested level of a validation a 400 status MUST be returned + immediately and the block MUST NOT be broadcast to the network. + + If validation succeeds, the block must still be fully verified before it is + incorporated into the state and a 20x status is returned to the caller. + schema: + description: Level of validation that must be applied to a block before it is broadcast. + type: string + enum: + - gossip + - consensus + - consensus_and_equivocation + - in: header + schema: + type: string + enum: + - phase0 + - altair + - bellatrix + - capella + - deneb + - electra + example: phase0 + required: true + 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: + - type: object + description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL spec.' required: - message - signature properties: message: - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Altair spec.' + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL spec.' allOf: - type: object required: @@ -6218,13 +6401,13 @@ paths: type: string example: '1' parent_root: - description: The signing Merkle root of the parent `BeaconBlock`. + description: The signing merkle root of the parent `BeaconBlock`. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' state_root: - description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' @@ -6235,7 +6418,7 @@ paths: properties: body: type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#beaconblockbody) object from the CL Altair spec.' + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockbody) object from the CL spec.' required: - randao_reveal - eth1_data @@ -6245,7 +6428,6 @@ paths: - attestations - deposits - voluntary_exits - - sync_aggregate properties: randao_reveal: description: The RanDAO reveal value provided by the validator. @@ -6703,37 +6885,19 @@ paths: format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - sync_aggregate: - type: object - description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' - required: - - sync_committee_bits - - sync_committee_signature - properties: - sync_committee_bits: - description: Aggregation bits of sync - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - sync_committee_signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' signature: type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - type: object - description: 'A variant of the [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Bellatrix spec, which contains a `BlindedBeaconBlock` rather than a `BeaconBlock`.' + description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Altair spec.' required: - message - signature properties: message: - description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Bellatrix spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Altair spec.' allOf: - type: object required: @@ -6767,340 +6931,191 @@ paths: - body properties: body: - description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#beaconblockbody) object from the CL Bellatrix spec, which contains a transactions root rather than a full transactions list.' - allOf: - - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#beaconblockbody) object from the CL Bellatrix spec.' + type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#beaconblockbody) object from the CL Altair spec.' + required: + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + properties: + randao_reveal: + description: The RanDAO reveal value provided by the validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' required: - - randao_reveal - - eth1_data - - graffiti - - proposer_slashings - - attester_slashings - - attestations - - deposits - - voluntary_exits - - sync_aggregate + - deposit_root + - deposit_count + - block_hash properties: - randao_reveal: - description: The RanDAO reveal value provided by the validator. + deposit_root: + description: Root of the deposit tree. type: string format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - eth1_data: - type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' - required: - - deposit_root - - deposit_count - - block_hash - properties: - deposit_root: - description: Root of the deposit tree. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. - type: string - example: '1' - block_hash: - description: Ethereum 1.x block hash. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - graffiti: + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - proposer_slashings: - type: array - items: + graffiti: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + proposer_slashings: + type: array + items: + type: object + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' + required: + - signed_header_1 + - signed_header_2 + properties: + signed_header_1: type: object - description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' required: - - signed_header_1 - - signed_header_2 + - message + - signature properties: - signed_header_1: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signed_header_2: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attester_slashings: - type: array - items: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' required: - - attestation_1 - - attestation_2 + - message + - signature properties: - attestation_1: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' - required: - - attesting_indices - - data - - signature - properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object required: - slot - - index - - beacon_block_root - - source - - target + - proposer_index + - parent_root + - state_root properties: slot: + description: The slot to which this block corresponds. type: string example: '1' - index: + proposer_index: + description: Index of validator in validator registry. type: string example: '1' - beacon_block_root: - description: LMD GHOST vote. + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestation_2: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' - required: - - attesting_indices - - data - - signature - properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object required: - - slot - - index - - beacon_block_root - - source - - target + - body_root properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestations: - type: array - items: + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' required: - - aggregation_bits + - attesting_indices - data - signature properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' data: type: object description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' @@ -7154,212 +7169,268 @@ paths: example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' signature: - description: BLS aggregate signature. + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - deposits: - type: array - items: + attestation_2: type: object - description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' required: - - proof + - attesting_indices - data + - signature properties: - proof: + attesting_indices: type: array - description: Branch in the deposit tree. + maxItems: 2048 + description: Attesting validator indices items: type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 32 - maxItems: 32 + example: '1' data: type: object - description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - - pubkey - - withdrawal_credentials - - amount - - signature + - slot + - index + - beacon_block_root + - source + - target properties: - pubkey: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - withdrawal_credentials: - description: The withdrawal credentials. + slot: type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - amount: - description: Amount in Gwei. + example: '1' + index: type: string example: '1' - signature: - description: Container self-signature. + beacon_block_root: + description: LMD GHOST vote. type: string format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - voluntary_exits: - type: array - items: + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: + type: object + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + required: + - aggregation_bits + - data + - signature + properties: + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: type: object - description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - - message - - signature + - slot + - index + - beacon_block_root + - source + - target properties: - message: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: type: object - description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' required: - epoch - - validator_index + - root properties: epoch: - description: Minimum epoch for processing exit. type: string example: '1' - validator_index: - description: Index of the exiting validator. + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: type: string example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: BLS aggregate signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + deposits: + type: array + items: + type: object + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + required: + - proof + - data + properties: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: + type: object + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + properties: + pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: Amount in Gwei. + type: string + example: '1' signature: + description: Container self-signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - sync_aggregate: - type: object - description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' - required: - - sync_committee_bits - - sync_committee_signature - properties: - sync_committee_bits: - description: Aggregation bits of sync - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - sync_committee_signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - type: object + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' required: - - execution_payload_header + - sync_committee_bits + - sync_committee_signature properties: - execution_payload_header: - description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#executionpayloadheader) object from the CL Bellatrix spec.' - allOf: - - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#executionpayload) object from the CL Bellatrix spec.' - required: - - parent_hash - - fee_recipient - - state_root - - receipts_root - - logs_bloom - - prev_randao - - block_number - - gas_limit - - gas_used - - timestamp - - extra_data - - base_fee_per_gas - - block_hash - properties: - parent_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - fee_recipient: - type: string - format: hex - description: An address on the execution (Ethereum 1) network. - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - state_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - receipts_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - logs_bloom: - type: string - format: hex - example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' - pattern: '^0x[a-fA-F0-9]{512}$' - prev_randao: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - block_number: - type: string - example: '1' - gas_limit: - type: string - example: '1' - gas_used: - type: string - example: '1' - timestamp: - type: string - example: '1' - extra_data: - type: string - format: hex - description: Extra data on the execution (Ethereum 1) network. - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{0,64}$' - base_fee_per_gas: - type: string - example: '1' - block_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - additionalProperties: false - required: - - transactions_root - properties: - transactions_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' signature: type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - type: object - description: 'A variant of the [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Capella spec, which contains a `BlindedBeaconBlock` rather than a `BeaconBlock`.' + description: 'A variant of the [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Bellatrix spec, which contains a `BlindedBeaconBlock` rather than a `BeaconBlock`.' required: - message - signature properties: message: - description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Capella spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' + description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Bellatrix spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' allOf: - type: object required: @@ -7393,10 +7464,10 @@ paths: - body properties: body: - description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#beaconblockbody) object from the CL Capella spec, which contains a transactions root rather than a full transactions list.' + description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#beaconblockbody) object from the CL Bellatrix spec, which contains a transactions root rather than a full transactions list.' allOf: - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#beaconblockbody) object from the CL Capella spec.' + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#beaconblockbody) object from the CL Bellatrix spec.' required: - randao_reveal - eth1_data @@ -7407,7 +7478,6 @@ paths: - deposits - voluntary_exits - sync_aggregate - - bls_to_execution_changes properties: randao_reveal: description: The RanDAO reveal value provided by the validator. @@ -7883,53 +7953,15 @@ paths: format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - bls_to_execution_changes: - type: array - items: - type: object - description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' - required: - - validator_index - - from_bls_pubkey - - to_execution_address - properties: - validator_index: - description: Index of the validator for which credentials will be changed. - type: string - example: '1' - from_bls_pubkey: - description: Public key of existing credentials. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - to_execution_address: - description: Execution address to which the credentials will be changed. - type: string - format: hex - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - type: object required: - execution_payload_header properties: execution_payload_header: - description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayloadheader) object from the CL Capella spec.' + description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#executionpayloadheader) object from the CL Bellatrix spec.' allOf: - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayload) object from the CL Capella spec.' + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#executionpayload) object from the CL Bellatrix spec.' required: - parent_hash - fee_recipient @@ -8006,31 +8038,25 @@ paths: additionalProperties: false required: - transactions_root - - withdrawals_root properties: transactions_root: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - withdrawals_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' signature: type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - type: object - description: 'A variant of the [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#signedbeaconblock) object envelope from the CL Deneb spec, which contains a `BlindedBeaconBlock` rather than a `BeaconBlock`.' + description: 'A variant of the [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Capella spec, which contains a `BlindedBeaconBlock` rather than a `BeaconBlock`.' required: - message - signature properties: message: - description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblock) object from the CL Deneb spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' + description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Capella spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' allOf: - type: object required: @@ -8064,10 +8090,10 @@ paths: - body properties: body: - description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec, which contains a transactions root rather than a full transactions list.' + description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#beaconblockbody) object from the CL Capella spec, which contains a transactions root rather than a full transactions list.' allOf: - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec.' + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#beaconblockbody) object from the CL Capella spec.' required: - randao_reveal - eth1_data @@ -8079,15 +8105,13 @@ paths: - voluntary_exits - sync_aggregate - bls_to_execution_changes - - blob_kzg_commitments properties: randao_reveal: - allOf: - - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - description: The RANDAO reveal value provided by the validator. + description: The RanDAO reveal value provided by the validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' eth1_data: type: object description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' @@ -8594,23 +8618,15 @@ paths: format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - blob_kzg_commitments: - type: array - items: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - type: object required: - execution_payload_header properties: execution_payload_header: - description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' + description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayloadheader) object from the CL Capella spec.' allOf: - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayload) object from the CL Capella spec.' required: - parent_hash - fee_recipient @@ -8624,7 +8640,6 @@ paths: - timestamp - extra_data - base_fee_per_gas - - excess_blob_gas - block_hash properties: parent_hash: @@ -8679,15 +8694,13 @@ paths: base_fee_per_gas: type: string example: '1' - excess_blob_gas: - type: string - example: '1' block_hash: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - type: object + additionalProperties: false required: - transactions_root - withdrawals_root @@ -8707,161 +8720,14 @@ paths: format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - 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 or broadcast validation failed - content: - application/json: - schema: - type: object - required: - - code - - message - properties: - code: - description: Either specific error code in case of invalid request or http status code - type: number - example: 404 - message: - description: Message describing error - type: string - stacktraces: - description: 'Optional stacktraces, sent when node is in debug mode' - type: array - items: - type: string - example: - code: 400 - message: 'Invalid block: missing signature' - '415': - description: Supplied content-type is not supported. - content: - application/json: - schema: - type: object - required: - - code - - message - properties: - code: - description: 'The media type in "Content-Type" header is unsupported, and the request has been rejected. This occurs when a HTTP request supplies a payload in a content-type that the server is not able to handle.' - type: number - example: 415 - message: - description: Message describing error - type: string - stacktraces: - description: 'Optional stacktraces, sent when node is in debug mode' - type: array - items: - type: string - example: - code: 415 - message: Cannot read the supplied content type. - '500': - description: Beacon node internal error. - content: - application/json: - schema: - type: object - required: - - code - - message - properties: - code: - description: Either specific error code in case of invalid request or http status code - type: number - example: 404 - message: - description: Message describing error - type: string - stacktraces: - description: 'Optional stacktraces, sent when node is in debug mode' - type: array - items: - type: string - example: - code: 500 - message: Internal server error - '503': - description: 'Beacon node is currently syncing, try again later.' - content: - application/json: - schema: - type: object - required: - - code - - message - properties: - code: - description: Either specific error code in case of invalid request or http status code - type: number - example: 404 - message: - description: Message describing error - type: string - stacktraces: - description: 'Optional stacktraces, sent when node is in debug mode' - type: array - items: - type: string - example: - code: 503 - message: Beacon node is currently syncing and not serving request on that endpoint - /eth/v1/beacon/blocks: - 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: - type: string - enum: - - phase0 - - altair - - bellatrix - - capella - - deneb - - electra - example: phase0 - 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: - type: object - description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL spec.' + description: 'A variant of the [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Deneb spec, which contains a `BlindedBeaconBlock` rather than a `BeaconBlock`.' required: - message - signature properties: message: - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL spec.' + description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/beacon-chain.md#beaconblock) object from the CL Deneb spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' allOf: - type: object required: @@ -8879,13 +8745,13 @@ paths: type: string example: '1' parent_root: - description: The signing merkle root of the parent `BeaconBlock`. + description: The signing Merkle root of the parent `BeaconBlock`. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' @@ -8895,190 +8761,343 @@ paths: - body properties: body: - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockbody) object from the CL spec.' - required: - - randao_reveal - - eth1_data - - graffiti - - proposer_slashings - - attester_slashings - - attestations - - deposits - - voluntary_exits - properties: - randao_reveal: - description: The RanDAO reveal value provided by the validator. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - eth1_data: - type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec, which contains a transactions root rather than a full transactions list.' + allOf: + - type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec.' required: - - deposit_root - - deposit_count - - block_hash + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + - bls_to_execution_changes + - blob_kzg_commitments properties: - deposit_root: - description: Root of the deposit tree. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. - type: string - example: '1' - block_hash: - description: Ethereum 1.x block hash. + randao_reveal: + allOf: + - type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - description: The RANDAO reveal value provided by the validator. + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - graffiti: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - proposer_slashings: - type: array - items: - type: object - description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' - required: - - signed_header_1 - - signed_header_2 - properties: - signed_header_1: + proposer_slashings: + type: array + items: type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' required: - - message - - signature + - signed_header_1 + - signed_header_2 properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - slot - - proposer_index - - parent_root - - state_root + - index + - beacon_block_root + - source + - target properties: slot: - description: The slot to which this block corresponds. type: string example: '1' - proposer_index: - description: Index of validator in validator registry. + index: type: string example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signed_header_2: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - slot - - proposer_index - - parent_root - - state_root + - index + - beacon_block_root + - source + - target properties: slot: - description: The slot to which this block corresponds. type: string example: '1' - proposer_index: - description: Index of validator in validator registry. + index: type: string example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attester_slashings: - type: array - items: - type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' - required: - - attestation_1 - - attestation_2 - properties: - attestation_1: + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' required: - - attesting_indices + - aggregation_bits - data - signature properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' data: type: object description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' @@ -9132,468 +9151,638 @@ paths: example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + description: BLS aggregate signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestation_2: + deposits: + type: array + items: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' required: - - attesting_indices + - proof - data - - signature properties: - attesting_indices: + proof: type: array - maxItems: 2048 - description: Attesting validator indices + description: Branch in the deposit tree. items: type: string - example: '1' + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 data: type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' required: - - slot - - index - - beacon_block_root - - source - - target + - pubkey + - withdrawal_credentials + - amount + - signature properties: - slot: - type: string - example: '1' - index: + pubkey: type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestations: - type: array - items: - type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' - required: - - aggregation_bits - - data - - signature - properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: + amount: + description: Amount in Gwei. type: string example: '1' - root: + signature: + description: Container self-signature. type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' required: - epoch - - root + - validator_index properties: epoch: + description: Minimum epoch for processing exit. type: string example: '1' - root: + validator_index: + description: Index of the exiting validator. type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: BLS aggregate signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - deposits: - type: array - items: - type: object - description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' - required: - - proof - - data - properties: - proof: - type: array - description: Branch in the deposit tree. - items: + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 32 - maxItems: 32 - data: + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + bls_to_execution_changes: + type: array + items: type: object - description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' required: - - pubkey - - withdrawal_credentials - - amount + - message - signature properties: - pubkey: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - withdrawal_credentials: - description: The withdrawal credentials. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - amount: - description: Amount in Gwei. - type: string - example: '1' + message: + type: object + description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' + required: + - validator_index + - from_bls_pubkey + - to_execution_address + properties: + validator_index: + description: Index of the validator for which credentials will be changed. + type: string + example: '1' + from_bls_pubkey: + description: Public key of existing credentials. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + to_execution_address: + description: Execution address to which the credentials will be changed. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' signature: - description: Container self-signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - voluntary_exits: - type: array - items: - type: object - description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' - required: - - epoch - - validator_index - properties: - epoch: - description: Minimum epoch for processing exit. - type: string - example: '1' - validator_index: - description: Index of the exiting validator. - type: string - example: '1' - signature: + blob_kzg_commitments: + type: array + items: type: string format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - type: object - description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Altair spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Altair spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing Merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body - properties: - body: - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#beaconblockbody) object from the CL Altair spec.' - required: - - randao_reveal - - eth1_data - - graffiti - - proposer_slashings - - attester_slashings - - attestations - - deposits - - voluntary_exits - - sync_aggregate - properties: - randao_reveal: - description: The RanDAO reveal value provided by the validator. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - eth1_data: - type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + - type: object required: - - deposit_root - - deposit_count - - block_hash + - execution_payload_header properties: - deposit_root: - description: Root of the deposit tree. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. - type: string - example: '1' - block_hash: - description: Ethereum 1.x block hash. + execution_payload_header: + description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - excess_blob_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + excess_blob_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions_root + - withdrawals_root + properties: + transactions_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + withdrawals_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - type: object + description: 'A variant of the [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Electra spec, which contains a `BlindedBeaconBlock` rather than a `BeaconBlock`.' + required: + - message + - signature + properties: + message: + description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/phase0/beacon-chain.md#beaconblock) object from the CL Electra spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing Merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body + properties: + body: + description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#beaconblockbody) object from the CL Electra spec, which contains a transactions root rather than a full transactions list.' + allOf: + - type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#beaconblockbody) object from the CL Electra spec.' + required: + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + - bls_to_execution_changes + - blob_kzg_commitments + properties: + randao_reveal: + allOf: + - type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - description: The RANDAO reveal value provided by the validator. + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - graffiti: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - proposer_slashings: - type: array - items: - type: object - description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' - required: - - signed_header_1 - - signed_header_2 - properties: - signed_header_1: + proposer_slashings: + type: array + items: type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' required: - - message - - signature + - signed_header_1 + - signed_header_2 properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 131072 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - slot - - proposer_index - - parent_root - - state_root + - index + - beacon_block_root + - source + - target properties: slot: - description: The slot to which this block corresponds. type: string example: '1' - proposer_index: - description: Index of validator in validator registry. + index: type: string example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signed_header_2: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 131072 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - slot - - proposer_index - - parent_root - - state_root + - index + - beacon_block_root + - source + - target properties: slot: - description: The slot to which this block corresponds. type: string example: '1' - proposer_index: - description: Index of validator in validator registry. + index: type: string example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attester_slashings: - type: array - items: - type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' - required: - - attestation_1 - - attestation_2 - properties: - attestation_1: + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attestation) object from the CL spec.' required: - - attesting_indices + - aggregation_bits - data - signature + - committee_bits properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' data: type: object description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' @@ -9647,797 +9836,170 @@ paths: example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + description: BLS aggregate signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestation_2: + committee_bits: + description: Committee bits. + example: '0x0000000000000001' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{2,}$' + deposits: + type: array + items: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' required: - - attesting_indices + - proof - data - - signature properties: - attesting_indices: + proof: type: array - maxItems: 2048 - description: Attesting validator indices + description: Branch in the deposit tree. items: type: string - example: '1' + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 data: type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' required: - - slot - - index - - beacon_block_root - - source - - target + - pubkey + - withdrawal_credentials + - amount + - signature properties: - slot: - type: string - example: '1' - index: + pubkey: type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestations: - type: array - items: - type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' - required: - - aggregation_bits - - data - - signature - properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: + amount: + description: Amount in Gwei. type: string example: '1' - root: + signature: + description: Container self-signature. type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' required: - epoch - - root + - validator_index properties: epoch: + description: Minimum epoch for processing exit. type: string example: '1' - root: + validator_index: + description: Index of the exiting validator. type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: BLS aggregate signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - deposits: - type: array - items: - type: object - description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' - required: - - proof - - data - properties: - proof: - type: array - description: Branch in the deposit tree. - items: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 32 - maxItems: 32 - data: - type: object - description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' - required: - - pubkey - - withdrawal_credentials - - amount - - signature - properties: - pubkey: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - withdrawal_credentials: - description: The withdrawal credentials. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - amount: - description: Amount in Gwei. - type: string - example: '1' + example: '1' signature: - description: Container self-signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - voluntary_exits: - type: array - items: - type: object - description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' - required: - - epoch - - validator_index - properties: - epoch: - description: Minimum epoch for processing exit. - type: string - example: '1' - validator_index: - description: Index of the exiting validator. - type: string - example: '1' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - sync_aggregate: - type: object - description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' - required: - - sync_committee_bits - - sync_committee_signature - properties: - sync_committee_bits: - description: Aggregation bits of sync - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - sync_committee_signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - type: object - description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Bellatrix spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Bellatrix spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing Merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body - properties: - body: - allOf: - - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#beaconblockbody) object from the CL Bellatrix spec.' - required: - - randao_reveal - - eth1_data - - graffiti - - proposer_slashings - - attester_slashings - - attestations - - deposits - - voluntary_exits - - sync_aggregate - properties: - randao_reveal: - description: The RanDAO reveal value provided by the validator. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - eth1_data: + sync_aggregate: type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' required: - - deposit_root - - deposit_count - - block_hash + - sync_committee_bits + - sync_committee_signature properties: - deposit_root: - description: Root of the deposit tree. + sync_committee_bits: + description: Aggregation bits of sync type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. - type: string - example: '1' - block_hash: - description: Ethereum 1.x block hash. + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - graffiti: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - proposer_slashings: + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + bls_to_execution_changes: type: array items: type: object - description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' + description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' required: - - signed_header_1 - - signed_header_2 + - message + - signature properties: - signed_header_1: + message: type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' required: - - message - - signature + - validator_index + - from_bls_pubkey + - to_execution_address properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signed_header_2: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attester_slashings: - type: array - items: - type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' - required: - - attestation_1 - - attestation_2 - properties: - attestation_1: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' - required: - - attesting_indices - - data - - signature - properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestation_2: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' - required: - - attesting_indices - - data - - signature - properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestations: - type: array - items: - type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' - required: - - aggregation_bits - - data - - signature - properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: BLS aggregate signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - deposits: - type: array - items: - type: object - description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' - required: - - proof - - data - properties: - proof: - type: array - description: Branch in the deposit tree. - items: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 32 - maxItems: 32 - data: - type: object - description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' - required: - - pubkey - - withdrawal_credentials - - amount - - signature - properties: - pubkey: + validator_index: + description: Index of the validator for which credentials will be changed. + type: string + example: '1' + from_bls_pubkey: + description: Public key of existing credentials. type: string format: hex pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - withdrawal_credentials: - description: The withdrawal credentials. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - amount: - description: Amount in Gwei. - type: string - example: '1' - signature: - description: Container self-signature. + to_execution_address: + description: Execution address to which the credentials will be changed. type: string format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - voluntary_exits: - type: array - items: - type: object - description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' - required: - - epoch - - validator_index - properties: - epoch: - description: Minimum epoch for processing exit. - type: string - example: '1' - validator_index: - description: Index of the exiting validator. - type: string - example: '1' + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' signature: type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - sync_aggregate: - type: object - description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' - required: - - sync_committee_bits - - sync_committee_signature - properties: - sync_committee_bits: - description: Aggregation bits of sync - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - sync_committee_signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + blob_kzg_commitments: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - type: object required: - - execution_payload + - execution_payload_header + - execution_requests_root properties: - execution_payload: + execution_payload_header: + description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' allOf: - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#executionpayload) object from the CL Bellatrix spec.' + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' required: - parent_hash - fee_recipient @@ -10451,6 +10013,7 @@ paths: - timestamp - extra_data - base_fee_per_gas + - excess_blob_gas - block_hash properties: parent_hash: @@ -10505,6 +10068,9 @@ paths: base_fee_per_gas: type: string example: '1' + excess_blob_gas: + type: string + example: '1' block_hash: type: string format: hex @@ -10512,397 +10078,401 @@ paths: pattern: '^0x[a-fA-F0-9]{64}$' - type: object required: - - transactions + - transactions_root + - withdrawals_root properties: - transactions: - type: array - items: - type: string - format: hex - description: A transaction on the execution (Ethereum 1) network. - example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' - pattern: '^0x[a-fA-F0-9]{0,2147483648}$' - maxItems: 1048576 + transactions_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + withdrawals_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + execution_requests_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' signature: type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - type: object - description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Capella spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Capella spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing Merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body - properties: - body: - allOf: - - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#beaconblockbody) object from the CL Capella spec.' - required: - - randao_reveal - - eth1_data - - graffiti - - proposer_slashings - - attester_slashings - - attestations - - deposits - - voluntary_exits - - sync_aggregate - - bls_to_execution_changes - properties: - randao_reveal: - description: The RanDAO reveal value provided by the validator. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - eth1_data: - type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' - required: - - deposit_root - - deposit_count - - block_hash - properties: - deposit_root: - description: Root of the deposit tree. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. - type: string - example: '1' - block_hash: - description: Ethereum 1.x block hash. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - graffiti: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - proposer_slashings: - type: array - items: - type: object - description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' - required: - - signed_header_1 - - signed_header_2 - properties: - signed_header_1: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signed_header_2: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attester_slashings: - type: array - items: + 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 or broadcast validation failed + content: + application/json: + schema: + type: object + required: + - code + - message + properties: + code: + description: Either specific error code in case of invalid request or http status code + type: number + example: 404 + message: + description: Message describing error + type: string + stacktraces: + description: 'Optional stacktraces, sent when node is in debug mode' + type: array + items: + type: string + example: + code: 400 + message: 'Invalid block: missing signature' + '415': + description: Supplied content-type is not supported. + content: + application/json: + schema: + type: object + required: + - code + - message + properties: + code: + description: 'The media type in "Content-Type" header is unsupported, and the request has been rejected. This occurs when a HTTP request supplies a payload in a content-type that the server is not able to handle.' + type: number + example: 415 + message: + description: Message describing error + type: string + stacktraces: + description: 'Optional stacktraces, sent when node is in debug mode' + type: array + items: + type: string + example: + code: 415 + message: Cannot read the supplied content type. + '500': + description: Beacon node internal error. + content: + application/json: + schema: + type: object + required: + - code + - message + properties: + code: + description: Either specific error code in case of invalid request or http status code + type: number + example: 404 + message: + description: Message describing error + type: string + stacktraces: + description: 'Optional stacktraces, sent when node is in debug mode' + type: array + items: + type: string + example: + code: 500 + message: Internal server error + '503': + description: 'Beacon node is currently syncing, try again later.' + content: + application/json: + schema: + type: object + required: + - code + - message + properties: + code: + description: Either specific error code in case of invalid request or http status code + type: number + example: 404 + message: + description: Message describing error + type: string + stacktraces: + description: 'Optional stacktraces, sent when node is in debug mode' + type: array + items: + type: string + example: + code: 503 + message: Beacon node is currently syncing and not serving request on that endpoint + /eth/v1/beacon/blocks: + 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: + type: string + enum: + - phase0 + - altair + - bellatrix + - capella + - deneb + - electra + example: phase0 + 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: + - type: object + description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body + properties: + body: + type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockbody) object from the CL spec.' + required: + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + properties: + randao_reveal: + description: The RanDAO reveal value provided by the validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + proposer_slashings: + type: array + items: + type: object + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' + required: + - signed_header_1 + - signed_header_2 + properties: + signed_header_1: type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' required: - - attestation_1 - - attestation_2 + - message + - signature properties: - attestation_1: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' - required: - - attesting_indices - - data - - signature - properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object required: - slot - - index - - beacon_block_root - - source - - target + - proposer_index + - parent_root + - state_root properties: slot: + description: The slot to which this block corresponds. type: string example: '1' - index: + proposer_index: + description: Index of validator in validator registry. type: string example: '1' - beacon_block_root: - description: LMD GHOST vote. + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestation_2: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' - required: - - attesting_indices - - data - - signature - properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object required: - slot - - index - - beacon_block_root - - source - - target + - proposer_index + - parent_root + - state_root properties: slot: + description: The slot to which this block corresponds. type: string example: '1' - index: + proposer_index: + description: Index of validator in validator registry. type: string example: '1' - beacon_block_root: - description: LMD GHOST vote. + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestations: - type: array - items: + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' required: - - aggregation_bits + - attesting_indices - data - signature properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' data: type: object description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' @@ -10956,1408 +10526,1149 @@ paths: example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' signature: - description: BLS aggregate signature. + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - deposits: - type: array - items: + attestation_2: type: object - description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' required: - - proof + - attesting_indices - data + - signature properties: - proof: + attesting_indices: type: array - description: Branch in the deposit tree. + maxItems: 2048 + description: Attesting validator indices items: type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 32 - maxItems: 32 + example: '1' data: type: object - description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - - pubkey - - withdrawal_credentials - - amount - - signature + - slot + - index + - beacon_block_root + - source + - target properties: - pubkey: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - withdrawal_credentials: - description: The withdrawal credentials. + slot: type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - amount: - description: Amount in Gwei. + example: '1' + index: type: string example: '1' - signature: - description: Container self-signature. + beacon_block_root: + description: LMD GHOST vote. type: string format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - voluntary_exits: - type: array - items: + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: + type: object + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + required: + - aggregation_bits + - data + - signature + properties: + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: type: object - description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - - message - - signature + - slot + - index + - beacon_block_root + - source + - target properties: - message: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: type: object - description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' required: - epoch - - validator_index + - root properties: epoch: - description: Minimum epoch for processing exit. type: string example: '1' - validator_index: - description: Index of the exiting validator. + root: type: string - example: '1' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - sync_aggregate: - type: object - description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' - required: - - sync_committee_bits - - sync_committee_signature - properties: - sync_committee_bits: - description: Aggregation bits of sync - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - sync_committee_signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - bls_to_execution_changes: - type: array - items: - type: object - description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' - required: - - message - - signature - properties: - message: + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: type: object - description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' required: - - validator_index - - from_bls_pubkey - - to_execution_address + - epoch + - root properties: - validator_index: - description: Index of the validator for which credentials will be changed. + epoch: type: string example: '1' - from_bls_pubkey: - description: Public key of existing credentials. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - to_execution_address: - description: Execution address to which the credentials will be changed. + root: type: string format: hex - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: BLS aggregate signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + deposits: + type: array + items: + type: object + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + required: + - proof + - data + properties: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: + type: object + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + properties: + pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: Amount in Gwei. + type: string + example: '1' signature: + description: Container self-signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - type: object - required: - - execution_payload - properties: - execution_payload: - allOf: - - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayload) object from the CL Capella spec.' - required: - - parent_hash - - fee_recipient - - state_root - - receipts_root - - logs_bloom - - prev_randao - - block_number - - gas_limit - - gas_used - - timestamp - - extra_data - - base_fee_per_gas - - block_hash - properties: - parent_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - fee_recipient: - type: string - format: hex - description: An address on the execution (Ethereum 1) network. - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - state_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - receipts_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - logs_bloom: - type: string - format: hex - example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' - pattern: '^0x[a-fA-F0-9]{512}$' - prev_randao: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - block_number: - type: string - example: '1' - gas_limit: - type: string - example: '1' - gas_used: - type: string - example: '1' - timestamp: - type: string - example: '1' - extra_data: - type: string - format: hex - description: Extra data on the execution (Ethereum 1) network. - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{0,64}$' - base_fee_per_gas: - type: string - example: '1' - block_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - transactions - - withdrawals - properties: - transactions: - type: array - items: - type: string - format: hex - description: A transaction on the execution (Ethereum 1) network. - example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' - pattern: '^0x[a-fA-F0-9]{0,2147483648}$' - maxItems: 1048576 - withdrawals: - type: array - items: - type: object - required: - - index - - validator_index - - address - - amount - properties: - index: - description: The index of the withdrawal. - type: string - example: '1' - validator_index: - description: The index of the withdrawing validator. - type: string - example: '1' - address: - description: The address to which the withdrawal is credited. - type: string - format: hex - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - amount: - description: The value withdrawn (gwei). - type: string - example: '1' - maxItems: 16 + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' signature: type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - type: object - description: The required signed components of block production according to the Deneb CL spec. + description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Altair spec.' required: - - signed_block - - kzg_proofs - - blobs + - message + - signature properties: - signed_block: - type: object - description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#signedbeaconblock) object envelope from the CL Deneb spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblock) object from the CL Deneb spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing Merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body - properties: - body: - allOf: - - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec.' - required: - - randao_reveal - - eth1_data - - graffiti - - proposer_slashings - - attester_slashings - - attestations - - deposits - - voluntary_exits - - sync_aggregate - - bls_to_execution_changes - - blob_kzg_commitments - properties: - randao_reveal: - allOf: - - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - description: The RANDAO reveal value provided by the validator. - eth1_data: - type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' - required: - - deposit_root - - deposit_count - - block_hash - properties: - deposit_root: - description: Root of the deposit tree. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. - type: string - example: '1' - block_hash: - description: Ethereum 1.x block hash. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - graffiti: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - proposer_slashings: - type: array - items: - type: object - description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' - required: - - signed_header_1 - - signed_header_2 - properties: - signed_header_1: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + message: + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Altair spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing Merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body + properties: + body: + type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#beaconblockbody) object from the CL Altair spec.' + required: + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + properties: + randao_reveal: + description: The RanDAO reveal value provided by the validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + proposer_slashings: + type: array + items: + type: object + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' + required: + - signed_header_1 + - signed_header_2 + properties: + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object required: - - message - - signature + - slot + - proposer_index + - parent_root + - state_root properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: + slot: + description: The slot to which this block corresponds. type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signed_header_2: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. type: string format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attester_slashings: - type: array - items: - type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' - required: - - attestation_1 - - attestation_2 - properties: - attestation_1: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' - required: - - attesting_indices - - data - - signature - properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. type: string format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestation_2: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object required: - - attesting_indices - - data - - signature + - body_root properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` type: string format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestations: - type: array - items: - type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' - required: - - aggregation_bits - - data - - signature - properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object required: - slot - - index - - beacon_block_root - - source - - target + - proposer_index + - parent_root + - state_root properties: slot: + description: The slot to which this block corresponds. type: string example: '1' - index: + proposer_index: + description: Index of validator in validator registry. type: string example: '1' - beacon_block_root: - description: LMD GHOST vote. + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: BLS aggregate signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - deposits: - type: array - items: + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: type: object - description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - - proof - - data + - slot + - index + - beacon_block_root + - source + - target properties: - proof: - type: array - description: Branch in the deposit tree. - items: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 32 - maxItems: 32 - data: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: type: object - description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' required: - - pubkey - - withdrawal_credentials - - amount - - signature + - epoch + - root properties: - pubkey: + epoch: type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - withdrawal_credentials: - description: The withdrawal credentials. + example: '1' + root: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - amount: - description: Amount in Gwei. + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: type: string example: '1' - signature: - description: Container self-signature. + root: type: string format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - voluntary_exits: - type: array - items: + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: type: object - description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - - message - - signature + - slot + - index + - beacon_block_root + - source + - target properties: - message: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: type: object - description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' required: - epoch - - validator_index + - root properties: epoch: - description: Minimum epoch for processing exit. type: string example: '1' - validator_index: - description: Index of the exiting validator. + root: type: string - example: '1' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - sync_aggregate: - type: object - description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' - required: - - sync_committee_bits - - sync_committee_signature - properties: - sync_committee_bits: - description: Aggregation bits of sync - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - sync_committee_signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - bls_to_execution_changes: - type: array - items: - type: object - description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' - required: - - message - - signature - properties: - message: + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: type: object - description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' required: - - validator_index - - from_bls_pubkey - - to_execution_address + - epoch + - root properties: - validator_index: - description: Index of the validator for which credentials will be changed. + epoch: type: string example: '1' - from_bls_pubkey: - description: Public key of existing credentials. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - to_execution_address: - description: Execution address to which the credentials will be changed. + root: type: string format: hex - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - signature: + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: + type: object + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + required: + - aggregation_bits + - data + - signature + properties: + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: type: string format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - blob_kzg_commitments: - type: array - items: + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: BLS aggregate signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + deposits: + type: array + items: + type: object + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + required: + - proof + - data + properties: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: + type: object + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + properties: + pubkey: type: string format: hex pattern: '^0x[a-fA-F0-9]{96}$' - description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - - type: object + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: Amount in Gwei. + type: string + example: '1' + signature: + description: Container self-signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - type: object + description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Bellatrix spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Bellatrix spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing Merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body + properties: + body: + allOf: + - type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#beaconblockbody) object from the CL Bellatrix spec.' + required: + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + properties: + randao_reveal: + description: The RanDAO reveal value provided by the validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' required: - - execution_payload + - deposit_root + - deposit_count + - block_hash properties: - execution_payload: - allOf: - - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' - required: - - parent_hash - - fee_recipient - - state_root - - receipts_root - - logs_bloom - - prev_randao - - block_number - - gas_limit - - gas_used - - timestamp - - extra_data - - base_fee_per_gas - - excess_blob_gas - - block_hash - properties: - parent_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - fee_recipient: - type: string - format: hex - description: An address on the execution (Ethereum 1) network. - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - state_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - receipts_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - logs_bloom: - type: string - format: hex - example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' - pattern: '^0x[a-fA-F0-9]{512}$' - prev_randao: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - block_number: - type: string - example: '1' - gas_limit: - type: string - example: '1' - gas_used: - type: string - example: '1' - timestamp: - type: string - example: '1' - extra_data: - type: string - format: hex - description: Extra data on the execution (Ethereum 1) network. - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{0,64}$' - base_fee_per_gas: - type: string - example: '1' - excess_blob_gas: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + proposer_slashings: + type: array + items: + type: object + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' + required: + - signed_header_1 + - signed_header_2 + properties: + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: type: string example: '1' - block_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - transactions - - withdrawals - properties: - transactions: - type: array - items: + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. type: string format: hex - description: A transaction on the execution (Ethereum 1) network. - example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' - pattern: '^0x[a-fA-F0-9]{0,2147483648}$' - maxItems: 1048576 - withdrawals: - type: array - items: + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' required: - - index - - validator_index - - address - - amount + - epoch + - root properties: - index: - description: The index of the withdrawal. + epoch: type: string example: '1' - validator_index: - description: The index of the withdrawing validator. + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: type: string example: '1' - address: - description: The address to which the withdrawal is credited. + root: type: string format: hex - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - amount: - description: The value withdrawn (gwei). + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: type: string example: '1' - maxItems: 16 - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - kzg_proofs: - type: array - items: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: A G1 curve point. Used for verifying that the `KZGCommitment` for a given `Blob` is correct. - minItems: 0 - maxItems: 4096 - blobs: - type: array - items: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{262144}$' - description: A blob is `FIELD_ELEMENTS_PER_BLOB * size_of(BLSFieldElement) = 4096 * 32 = 131072` bytes (`DATA`) representing a Blob as defined in Deneb - minItems: 0 - maxItems: 4096 - 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: - type: object - required: - - code - - message - properties: - code: - description: Either specific error code in case of invalid request or http status code - type: number - example: 404 - message: - description: Message describing error - type: string - stacktraces: - description: 'Optional stacktraces, sent when node is in debug mode' - type: array - items: - type: string - example: - code: 400 - message: 'Invalid block: missing signature' - '415': - description: Supplied content-type is not supported. - content: - application/json: - schema: - type: object - required: - - code - - message - properties: - code: - description: 'The media type in "Content-Type" header is unsupported, and the request has been rejected. This occurs when a HTTP request supplies a payload in a content-type that the server is not able to handle.' - type: number - example: 415 - message: - description: Message describing error - type: string - stacktraces: - description: 'Optional stacktraces, sent when node is in debug mode' - type: array - items: - type: string - example: - code: 415 - message: Cannot read the supplied content type. - '500': - description: Beacon node internal error. - content: - application/json: - schema: - type: object - required: - - code - - message - properties: - code: - description: Either specific error code in case of invalid request or http status code - type: number - example: 404 - message: - description: Message describing error - type: string - stacktraces: - description: 'Optional stacktraces, sent when node is in debug mode' - type: array - items: - type: string - example: - code: 500 - message: Internal server error - '503': - description: 'Beacon node is currently syncing, try again later.' - content: - application/json: - schema: - type: object - required: - - code - - message - properties: - code: - description: Either specific error code in case of invalid request or http status code - type: number - example: 404 - message: - description: Message describing error - type: string - stacktraces: - description: 'Optional stacktraces, sent when node is in debug mode' - type: array - items: - type: string - example: - code: 503 - message: Beacon node is currently syncing and not serving request on that endpoint - /eth/v2/beacon/blocks: - post: - tags: - - Beacon - - ValidatorRequiredApi - summary: Publish a signed block. - operationId: publishBlockV2 - 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 the 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. The broadcast behaviour may be adjusted via the - `broadcast_validation` query parameter. - parameters: - - name: broadcast_validation - in: query - required: false - description: | - Level of validation that must be applied to a block before it is broadcast. - - Possible values: - - **`gossip`** (default): lightweight gossip checks only - - **`consensus`**: full consensus checks, including validation of all signatures and - blocks fields _except_ for the execution payload transactions. - - **`consensus_and_equivocation`**: the same as `consensus`, with an extra equivocation - check immediately before the block is broadcast. If the block is found to be an - equivocation it fails validation. - - If the block fails the requested level of a validation a 400 status MUST be returned - immediately and the block MUST NOT be broadcast to the network. - - If validation succeeds, the block must still be fully verified before it is - incorporated into the state and a 20x status is returned to the caller. - schema: - description: Level of validation that must be applied to a block before it is broadcast. - type: string - enum: - - gossip - - consensus - - consensus_and_equivocation - - in: header - schema: - type: string - enum: - - phase0 - - altair - - bellatrix - - capella - - deneb - - electra - example: phase0 - required: true - 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: - - type: object - description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body - properties: - body: - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockbody) object from the CL spec.' - required: - - randao_reveal - - eth1_data - - graffiti - - proposer_slashings - - attester_slashings - - attestations - - deposits - - voluntary_exits - properties: - randao_reveal: - description: The RanDAO reveal value provided by the validator. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - eth1_data: - type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' - required: - - deposit_root - - deposit_count - - block_hash - properties: - deposit_root: - description: Root of the deposit tree. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. - type: string - example: '1' - block_hash: - description: Ethereum 1.x block hash. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - graffiti: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - proposer_slashings: - type: array - items: - type: object - description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' - required: - - signed_header_1 - - signed_header_2 - properties: - signed_header_1: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signed_header_2: + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' required: - - message + - aggregation_bits + - data - signature properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: + aggregation_bits: + description: Attester aggregation bits. type: string format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attester_slashings: - type: array - items: - type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' - required: - - attestation_1 - - attestation_2 - properties: - attestation_1: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' - required: - - attesting_indices - - data - - signature - properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' data: type: object description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' @@ -12411,250 +11722,214 @@ paths: example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + description: BLS aggregate signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestation_2: + deposits: + type: array + items: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' required: - - attesting_indices + - proof - data - - signature properties: - attesting_indices: + proof: type: array - maxItems: 2048 - description: Attesting validator indices + description: Branch in the deposit tree. items: type: string - example: '1' + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 data: type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' required: - - slot - - index - - beacon_block_root - - source - - target + - pubkey + - withdrawal_credentials + - amount + - signature properties: - slot: - type: string - example: '1' - index: + pubkey: type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestations: - type: array - items: - type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' - required: - - aggregation_bits - - data - - signature - properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: + amount: + description: Amount in Gwei. type: string example: '1' - root: + signature: + description: Container self-signature. type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' required: - epoch - - root + - validator_index properties: epoch: + description: Minimum epoch for processing exit. type: string example: '1' - root: + validator_index: + description: Index of the exiting validator. type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: BLS aggregate signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - deposits: - type: array - items: - type: object - description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' - required: - - proof - - data - properties: - proof: - type: array - description: Branch in the deposit tree. - items: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 32 - maxItems: 32 - data: - type: object - description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' - required: - - pubkey - - withdrawal_credentials - - amount - - signature - properties: - pubkey: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - withdrawal_credentials: - description: The withdrawal credentials. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - amount: - description: Amount in Gwei. - type: string - example: '1' + example: '1' signature: - description: Container self-signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - voluntary_exits: - type: array - items: - type: object - description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' - required: - - epoch - - validator_index - properties: - epoch: - description: Minimum epoch for processing exit. - type: string - example: '1' - validator_index: - description: Index of the exiting validator. - type: string - example: '1' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - type: object + required: + - execution_payload + properties: + execution_payload: + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#executionpayload) object from the CL Bellatrix spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions + properties: + transactions: + type: array + items: + type: string + format: hex + description: A transaction on the execution (Ethereum 1) network. + example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' + pattern: '^0x[a-fA-F0-9]{0,2147483648}$' + maxItems: 1048576 signature: type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - type: object - description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Altair spec.' + description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Capella spec.' required: - message - signature properties: message: - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Altair spec.' + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Capella spec.' allOf: - type: object required: @@ -12688,191 +11963,340 @@ paths: - body properties: body: - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#beaconblockbody) object from the CL Altair spec.' - required: - - randao_reveal - - eth1_data - - graffiti - - proposer_slashings - - attester_slashings - - attestations - - deposits - - voluntary_exits - - sync_aggregate - properties: - randao_reveal: - description: The RanDAO reveal value provided by the validator. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - eth1_data: - type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + allOf: + - type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#beaconblockbody) object from the CL Capella spec.' required: - - deposit_root - - deposit_count - - block_hash + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + - bls_to_execution_changes properties: - deposit_root: - description: Root of the deposit tree. + randao_reveal: + description: The RanDAO reveal value provided by the validator. type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. - type: string - example: '1' - block_hash: - description: Ethereum 1.x block hash. + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - graffiti: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - proposer_slashings: - type: array - items: - type: object - description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' - required: - - signed_header_1 - - signed_header_2 - properties: - signed_header_1: + proposer_slashings: + type: array + items: type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' required: - - message - - signature + - signed_header_1 + - signed_header_2 properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - slot - - proposer_index - - parent_root - - state_root + - index + - beacon_block_root + - source + - target properties: slot: - description: The slot to which this block corresponds. type: string example: '1' - proposer_index: - description: Index of validator in validator registry. + index: type: string example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signed_header_2: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - slot - - proposer_index - - parent_root - - state_root + - index + - beacon_block_root + - source + - target properties: slot: - description: The slot to which this block corresponds. type: string example: '1' - proposer_index: - description: Index of validator in validator registry. + index: type: string example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attester_slashings: - type: array - items: - type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' - required: - - attestation_1 - - attestation_2 - properties: - attestation_1: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' - required: - - attesting_indices - - data - - signature + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: + type: object + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + required: + - aggregation_bits + - data + - signature properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' data: type: object description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' @@ -12926,789 +12350,146 @@ paths: example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + description: BLS aggregate signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestation_2: + deposits: + type: array + items: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' required: - - attesting_indices + - proof - data - - signature properties: - attesting_indices: + proof: type: array - maxItems: 2048 - description: Attesting validator indices + description: Branch in the deposit tree. items: type: string - example: '1' + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 data: type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' required: - - slot - - index - - beacon_block_root - - source - - target + - pubkey + - withdrawal_credentials + - amount + - signature properties: - slot: - type: string - example: '1' - index: + pubkey: type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestations: - type: array - items: - type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' - required: - - aggregation_bits - - data - - signature - properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: + amount: + description: Amount in Gwei. type: string example: '1' - root: + signature: + description: Container self-signature. type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' required: - epoch - - root + - validator_index properties: epoch: + description: Minimum epoch for processing exit. type: string example: '1' - root: + validator_index: + description: Index of the exiting validator. type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: BLS aggregate signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - deposits: - type: array - items: - type: object - description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' - required: - - proof - - data - properties: - proof: - type: array - description: Branch in the deposit tree. - items: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 32 - maxItems: 32 - data: - type: object - description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' - required: - - pubkey - - withdrawal_credentials - - amount - - signature - properties: - pubkey: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - withdrawal_credentials: - description: The withdrawal credentials. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - amount: - description: Amount in Gwei. - type: string - example: '1' + example: '1' signature: - description: Container self-signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - voluntary_exits: - type: array - items: - type: object - description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' - required: - - epoch - - validator_index - properties: - epoch: - description: Minimum epoch for processing exit. - type: string - example: '1' - validator_index: - description: Index of the exiting validator. - type: string - example: '1' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - sync_aggregate: - type: object - description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' - required: - - sync_committee_bits - - sync_committee_signature - properties: - sync_committee_bits: - description: Aggregation bits of sync - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - sync_committee_signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - type: object - description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Bellatrix spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Bellatrix spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing Merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body - properties: - body: - allOf: - - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#beaconblockbody) object from the CL Bellatrix spec.' - required: - - randao_reveal - - eth1_data - - graffiti - - proposer_slashings - - attester_slashings - - attestations - - deposits - - voluntary_exits - - sync_aggregate - properties: - randao_reveal: - description: The RanDAO reveal value provided by the validator. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - eth1_data: + sync_aggregate: type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' required: - - deposit_root - - deposit_count - - block_hash + - sync_committee_bits + - sync_committee_signature properties: - deposit_root: - description: Root of the deposit tree. + sync_committee_bits: + description: Aggregation bits of sync type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. - type: string - example: '1' - block_hash: - description: Ethereum 1.x block hash. + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - graffiti: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - proposer_slashings: + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + bls_to_execution_changes: type: array items: type: object - description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' + description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' required: - - signed_header_1 - - signed_header_2 + - message + - signature properties: - signed_header_1: + message: type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' required: - - message - - signature + - validator_index + - from_bls_pubkey + - to_execution_address properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signed_header_2: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attester_slashings: - type: array - items: - type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' - required: - - attestation_1 - - attestation_2 - properties: - attestation_1: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' - required: - - attesting_indices - - data - - signature - properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestation_2: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' - required: - - attesting_indices - - data - - signature - properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestations: - type: array - items: - type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' - required: - - aggregation_bits - - data - - signature - properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: BLS aggregate signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - deposits: - type: array - items: - type: object - description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' - required: - - proof - - data - properties: - proof: - type: array - description: Branch in the deposit tree. - items: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 32 - maxItems: 32 - data: - type: object - description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' - required: - - pubkey - - withdrawal_credentials - - amount - - signature - properties: - pubkey: + validator_index: + description: Index of the validator for which credentials will be changed. + type: string + example: '1' + from_bls_pubkey: + description: Public key of existing credentials. type: string format: hex pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - withdrawal_credentials: - description: The withdrawal credentials. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - amount: - description: Amount in Gwei. - type: string - example: '1' - signature: - description: Container self-signature. + to_execution_address: + description: Execution address to which the credentials will be changed. type: string format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - voluntary_exits: - type: array - items: - type: object - description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' - required: - - epoch - - validator_index - properties: - epoch: - description: Minimum epoch for processing exit. - type: string - example: '1' - validator_index: - description: Index of the exiting validator. - type: string - example: '1' + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' signature: type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - sync_aggregate: - type: object - description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' - required: - - sync_committee_bits - - sync_committee_signature - properties: - sync_committee_bits: - description: Aggregation bits of sync - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - sync_committee_signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - type: object required: - execution_payload @@ -13716,7 +12497,7 @@ paths: execution_payload: allOf: - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#executionpayload) object from the CL Bellatrix spec.' + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayload) object from the CL Capella spec.' required: - parent_hash - fee_recipient @@ -13792,6 +12573,7 @@ paths: - type: object required: - transactions + - withdrawals properties: transactions: type: array @@ -13802,239 +12584,425 @@ paths: example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' pattern: '^0x[a-fA-F0-9]{0,2147483648}$' maxItems: 1048576 + withdrawals: + type: array + items: + type: object + required: + - index + - validator_index + - address + - amount + properties: + index: + description: The index of the withdrawal. + type: string + example: '1' + validator_index: + description: The index of the withdrawing validator. + type: string + example: '1' + address: + description: The address to which the withdrawal is credited. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + amount: + description: The value withdrawn (gwei). + type: string + example: '1' + maxItems: 16 signature: type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - type: object - description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Capella spec.' + description: The required signed components of block production according to the Deneb CL spec. required: - - message - - signature + - signed_block + - kzg_proofs + - blobs properties: - message: - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Capella spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing Merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body - properties: - body: - allOf: - - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#beaconblockbody) object from the CL Capella spec.' - required: - - randao_reveal - - eth1_data - - graffiti - - proposer_slashings - - attester_slashings - - attestations - - deposits - - voluntary_exits - - sync_aggregate - - bls_to_execution_changes - properties: - randao_reveal: - description: The RanDAO reveal value provided by the validator. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - eth1_data: - type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + signed_block: + type: object + description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Deneb spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/beacon-chain.md#beaconblock) object from the CL Deneb spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing Merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body + properties: + body: + allOf: + - type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec.' required: - - deposit_root - - deposit_count - - block_hash + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + - bls_to_execution_changes + - blob_kzg_commitments properties: - deposit_root: - description: Root of the deposit tree. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. - type: string - example: '1' - block_hash: - description: Ethereum 1.x block hash. - type: string - format: hex + randao_reveal: + allOf: + - type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - description: The RANDAO reveal value provided by the validator. + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: + type: string + format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - graffiti: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - proposer_slashings: - type: array - items: - type: object - description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' - required: - - signed_header_1 - - signed_header_2 - properties: - signed_header_1: + proposer_slashings: + type: array + items: type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' required: - - message - - signature + - signed_header_1 + - signed_header_2 properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - slot - - proposer_index - - parent_root - - state_root + - index + - beacon_block_root + - source + - target properties: slot: - description: The slot to which this block corresponds. type: string example: '1' - proposer_index: - description: Index of validator in validator registry. + index: type: string example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signed_header_2: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - slot - - proposer_index - - parent_root - - state_root + - index + - beacon_block_root + - source + - target properties: slot: - description: The slot to which this block corresponds. type: string example: '1' - proposer_index: - description: Index of validator in validator registry. + index: type: string example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attester_slashings: - type: array - items: - type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' - required: - - attestation_1 - - attestation_2 - properties: - attestation_1: + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' required: - - attesting_indices + - aggregation_bits - data - signature properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' data: type: object description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' @@ -14088,423 +13056,306 @@ paths: example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + description: BLS aggregate signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestation_2: + deposits: + type: array + items: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' required: - - attesting_indices + - proof - data - - signature properties: - attesting_indices: + proof: type: array - maxItems: 2048 - description: Attesting validator indices + description: Branch in the deposit tree. items: type: string - example: '1' + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 data: type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' required: - - slot - - index - - beacon_block_root - - source - - target + - pubkey + - withdrawal_credentials + - amount + - signature properties: - slot: - type: string - example: '1' - index: + pubkey: type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: Amount in Gwei. + type: string + example: '1' + signature: + description: Container self-signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestations: - type: array - items: - type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' - required: - - aggregation_bits - - data - - signature - properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - data: + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + bls_to_execution_changes: + type: array + items: type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' required: - - slot - - index - - beacon_block_root - - source - - target + - message + - signature properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: + message: type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' required: - - epoch - - root + - validator_index + - from_bls_pubkey + - to_execution_address properties: - epoch: + validator_index: + description: Index of the validator for which credentials will be changed. type: string example: '1' - root: + from_bls_pubkey: + description: Public key of existing credentials. type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + to_execution_address: + description: Execution address to which the credentials will be changed. type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: BLS aggregate signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - deposits: - type: array - items: - type: object - description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' - required: - - proof - - data - properties: - proof: - type: array - description: Branch in the deposit tree. - items: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 32 - maxItems: 32 - data: - type: object - description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' - required: - - pubkey - - withdrawal_credentials - - amount - - signature - properties: - pubkey: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - withdrawal_credentials: - description: The withdrawal credentials. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - amount: - description: Amount in Gwei. - type: string - example: '1' + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' signature: - description: Container self-signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - voluntary_exits: - type: array - items: - type: object - description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' - required: - - epoch - - validator_index - properties: - epoch: - description: Minimum epoch for processing exit. - type: string - example: '1' - validator_index: - description: Index of the exiting validator. - type: string - example: '1' - signature: + blob_kzg_commitments: + type: array + items: type: string format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - sync_aggregate: - type: object - description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + - type: object required: - - sync_committee_bits - - sync_committee_signature + - execution_payload properties: - sync_committee_bits: - description: Aggregation bits of sync - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - sync_committee_signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - bls_to_execution_changes: - type: array - items: - type: object - description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' - required: - - validator_index - - from_bls_pubkey - - to_execution_address - properties: - validator_index: - description: Index of the validator for which credentials will be changed. - type: string - example: '1' - from_bls_pubkey: - description: Public key of existing credentials. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - to_execution_address: - description: Execution address to which the credentials will be changed. - type: string - format: hex - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - type: object - required: - - execution_payload - properties: - execution_payload: - allOf: - - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayload) object from the CL Capella spec.' - required: - - parent_hash - - fee_recipient - - state_root - - receipts_root - - logs_bloom - - prev_randao - - block_number - - gas_limit - - gas_used - - timestamp - - extra_data - - base_fee_per_gas - - block_hash - properties: - parent_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - fee_recipient: - type: string - format: hex - description: An address on the execution (Ethereum 1) network. - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - state_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - receipts_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - logs_bloom: - type: string - format: hex - example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' - pattern: '^0x[a-fA-F0-9]{512}$' - prev_randao: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - block_number: - type: string - example: '1' - gas_limit: - type: string - example: '1' - gas_used: - type: string - example: '1' - timestamp: - type: string - example: '1' - extra_data: - type: string - format: hex - description: Extra data on the execution (Ethereum 1) network. - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{0,64}$' - base_fee_per_gas: - type: string - example: '1' - block_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - transactions - - withdrawals - properties: - transactions: - type: array - items: - type: string - format: hex - description: A transaction on the execution (Ethereum 1) network. - example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' - pattern: '^0x[a-fA-F0-9]{0,2147483648}$' - maxItems: 1048576 - withdrawals: - type: array - items: - type: object - required: - - index - - validator_index - - address - - amount - properties: - index: - description: The index of the withdrawal. - type: string - example: '1' - validator_index: - description: The index of the withdrawing validator. - type: string - example: '1' - address: - description: The address to which the withdrawal is credited. + execution_payload: + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - excess_blob_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + excess_blob_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions + - withdrawals + properties: + transactions: + type: array + items: type: string format: hex - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - amount: - description: The value withdrawn (gwei). - type: string - example: '1' - maxItems: 16 - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + description: A transaction on the execution (Ethereum 1) network. + example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' + pattern: '^0x[a-fA-F0-9]{0,2147483648}$' + maxItems: 1048576 + withdrawals: + type: array + items: + type: object + required: + - index + - validator_index + - address + - amount + properties: + index: + description: The index of the withdrawal. + type: string + example: '1' + validator_index: + description: The index of the withdrawing validator. + type: string + example: '1' + address: + description: The address to which the withdrawal is credited. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + amount: + description: The value withdrawn (gwei). + type: string + example: '1' + maxItems: 16 + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + kzg_proofs: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Used for verifying that the `KZGCommitment` for a given `Blob` is correct. + minItems: 0 + maxItems: 4096 + blobs: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{262144}$' + description: A blob is `FIELD_ELEMENTS_PER_BLOB * size_of(BLSFieldElement) = 4096 * 32 = 131072` bytes (`DATA`) representing a Blob as defined in Deneb + minItems: 0 + maxItems: 4096 - type: object - description: The required signed components of block production according to the Deneb CL spec. + description: The required signed components of block production according to the Electra CL spec. required: - signed_block - kzg_proofs @@ -14512,13 +13363,13 @@ paths: properties: signed_block: type: object - description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#signedbeaconblock) object envelope from the CL Deneb spec.' + description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Electra spec.' required: - message - signature properties: message: - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblock) object from the CL Deneb spec.' + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/phase0/beacon-chain.md#beaconblock) object from the CL Electra spec.' allOf: - type: object required: @@ -14554,7 +13405,7 @@ paths: body: allOf: - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec.' + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#beaconblockbody) object from the CL Electra spec.' required: - randao_reveal - eth1_data @@ -14721,14 +13572,14 @@ paths: type: array items: type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attesterslashing) object from the CL spec.' required: - attestation_1 - attestation_2 properties: attestation_1: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#indexedattestation) object from the CL spec.' required: - attesting_indices - data @@ -14736,7 +13587,7 @@ paths: properties: attesting_indices: type: array - maxItems: 2048 + maxItems: 131072 description: Attesting validator indices items: type: string @@ -14801,7 +13652,7 @@ paths: example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' attestation_2: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#indexedattestation) object from the CL spec.' required: - attesting_indices - data @@ -14809,7 +13660,7 @@ paths: properties: attesting_indices: type: array - maxItems: 2048 + maxItems: 131072 description: Attesting validator indices items: type: string @@ -14876,11 +13727,12 @@ paths: type: array items: type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attestation) object from the CL spec.' required: - aggregation_bits - data - signature + - committee_bits properties: aggregation_bits: description: Attester aggregation bits. @@ -14946,6 +13798,12 @@ paths: format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + committee_bits: + description: Committee bits. + example: '0x0000000000000001' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{2,}$' deposits: type: array items: @@ -15092,6 +13950,7 @@ paths: - type: object required: - execution_payload + - execution_requests properties: execution_payload: allOf: @@ -15216,6 +14075,108 @@ paths: type: string example: '1' maxItems: 16 + execution_requests: + type: object + description: 'The [`ExecutionRequests`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.6/specs/electra/beacon-chain.md#executionrequests) object from the CL Electra spec.' + required: + - deposits + - withdrawals + - consolidations + properties: + deposits: + type: array + items: + type: object + description: 'The [`DepositRequest`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#depositrequest) object from the CL Electra spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + - index + properties: + pubkey: + description: BLS public key of validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: The value to be deposited (gwei). + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + index: + description: The index of the deposit request. + type: string + example: '1' + maxItems: 8192 + withdrawals: + type: array + items: + type: object + description: 'The [`WithdrawalRequest`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#withdrawalrequest) object from the CL Electra spec.' + required: + - source_address + - validator_pubkey + - amount + properties: + source_address: + description: Execution address which sent the request. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + validator_pubkey: + description: BLS public key of validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + amount: + description: The value to be withdrawn (gwei). + type: string + example: '1' + maxItems: 16 + consolidations: + type: array + items: + type: object + description: 'The [`ConsolidationRequest`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#consolidationrequest) object from the CL Electra spec.' + required: + - source_address + - source_pubkey + - target_pubkey + properties: + source_address: + description: Execution address which sent the request. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + source_pubkey: + description: BLS public key of validator to consolidate from. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + target_pubkey: + description: BLS public key of validator to consolidate to. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + maxItems: 1 signature: type: string format: hex @@ -15248,7 +14209,7 @@ paths: '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 or broadcast validation failed + description: The `SignedBeaconBlock` object is invalid and could not be broadcast content: application/json: schema: @@ -15347,4015 +14308,8962 @@ paths: example: code: 503 message: Beacon node is currently syncing and not serving request on that endpoint - '/eth/v2/beacon/blocks/{block_id}': - get: - operationId: getBlockV2 - summary: Get block - description: | - Retrieves block details for given block id. - Depending on `Accept` header it can be returned either as json or as bytes serialized by SSZ + /eth/v2/beacon/blocks: + post: tags: - Beacon + - ValidatorRequiredApi + summary: Publish a signed block. + operationId: publishBlockV2 + 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 the 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. The broadcast behaviour may be adjusted via the + `broadcast_validation` query parameter. parameters: - - name: block_id - in: path - required: true - example: head + - name: broadcast_validation + in: query + required: false + description: | + Level of validation that must be applied to a block before it is broadcast. + + Possible values: + - **`gossip`** (default): lightweight gossip checks only + - **`consensus`**: full consensus checks, including validation of all signatures and + blocks fields _except_ for the execution payload transactions. + - **`consensus_and_equivocation`**: the same as `consensus`, with an extra equivocation + check immediately before the block is broadcast. If the block is found to be an + equivocation it fails validation. + + If the block fails the requested level of a validation a 400 status MUST be returned + immediately and the block MUST NOT be broadcast to the network. + + If validation succeeds, the block must still be fully verified before it is + incorporated into the state and a 20x status is returned to the caller. schema: + description: Level of validation that must be applied to a block before it is broadcast. type: string - description: | - Block identifier. - Can be one of: "head" (canonical head in node's view), "genesis", "finalized", \, \. - responses: - '200': - description: Successful response - headers: - Eth-Consensus-Version: - description: | - The active consensus version to which the data belongs. Required in response so client can deserialize returned json or ssz data - more effectively. - required: true - schema: - type: string - enum: - - phase0 - - altair - - bellatrix - - capella - - deneb - - electra - example: phase0 - content: - application/json: - schema: - title: GetBlockV2Response - type: object - required: - - version - - execution_optimistic - - finalized - - data - properties: - version: - type: string - enum: - - phase0 - - altair - - bellatrix - - capella - - deneb - example: phase0 - execution_optimistic: - type: boolean - example: false - description: 'True if the response references an unverified execution payload. Optimistic information may be invalidated at a later time. If the field is not present, assume the False value.' - finalized: - type: boolean - example: false - description: 'True if the response references the finalized history of the chain, as determined by fork choice. If the field is not present, additional calls are necessary to compare the epoch of the requested information with the finalized checkpoint.' - data: - anyOf: - - type: object - description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body - properties: - body: + enum: + - gossip + - consensus + - consensus_and_equivocation + - in: header + schema: + type: string + enum: + - phase0 + - altair + - bellatrix + - capella + - deneb + - electra + example: phase0 + required: true + 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: + - type: object + description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body + properties: + body: + type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockbody) object from the CL spec.' + required: + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + properties: + randao_reveal: + description: The RanDAO reveal value provided by the validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + proposer_slashings: + type: array + items: type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockbody) object from the CL spec.' + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' required: - - randao_reveal - - eth1_data - - graffiti - - proposer_slashings - - attester_slashings - - attestations - - deposits - - voluntary_exits + - signed_header_1 + - signed_header_2 properties: - randao_reveal: - description: The RanDAO reveal value provided by the validator. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - eth1_data: + signed_header_1: type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' required: - - deposit_root - - deposit_count - - block_hash + - message + - signature properties: - deposit_root: - description: Root of the deposit tree. + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. - type: string - example: '1' - block_hash: - description: Ethereum 1.x block hash. + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - graffiti: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - proposer_slashings: - type: array - items: - type: object - description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' - required: - - signed_header_1 - - signed_header_2 - properties: - signed_header_1: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signed_header_2: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attester_slashings: - type: array - items: - type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' - required: - - attestation_1 - - attestation_2 - properties: - attestation_1: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' - required: - - attesting_indices - - data - - signature - properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: type: string example: '1' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestation_2: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' - required: - - attesting_indices - - data - - signature - properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: type: string example: '1' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestations: - type: array - items: - type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' - required: - - aggregation_bits - - data - - signature - properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: BLS aggregate signature. + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - deposits: - type: array - items: - type: object - description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' - required: - - proof - - data - properties: - proof: - type: array - description: Branch in the deposit tree. - items: + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 32 - maxItems: 32 - data: - type: object - description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' - required: - - pubkey - - withdrawal_credentials - - amount - - signature - properties: - pubkey: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - withdrawal_credentials: - description: The withdrawal credentials. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - amount: - description: Amount in Gwei. - type: string - example: '1' - signature: - description: Container self-signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - voluntary_exits: - type: array - items: - type: object - description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' - required: - - epoch - - validator_index - properties: - epoch: - description: Minimum epoch for processing exit. - type: string - example: '1' - validator_index: - description: Index of the exiting validator. - type: string - example: '1' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - type: object - description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Altair spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Altair spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing Merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body - properties: - body: + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#beaconblockbody) object from the CL Altair spec.' + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' required: - - randao_reveal - - eth1_data - - graffiti - - proposer_slashings - - attester_slashings - - attestations - - deposits - - voluntary_exits - - sync_aggregate + - aggregation_bits + - data + - signature properties: - randao_reveal: - description: The RanDAO reveal value provided by the validator. + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: BLS aggregate signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - eth1_data: + deposits: + type: array + items: + type: object + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + required: + - proof + - data + properties: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' required: - - deposit_root - - deposit_count - - block_hash + - pubkey + - withdrawal_credentials + - amount + - signature properties: - deposit_root: - description: Root of the deposit tree. + pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. + amount: + description: Amount in Gwei. type: string example: '1' - block_hash: - description: Ethereum 1.x block hash. + signature: + description: Container self-signature. type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - graffiti: + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' + signature: type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - proposer_slashings: - type: array - items: - type: object - description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' - required: - - signed_header_1 - - signed_header_2 - properties: - signed_header_1: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signed_header_2: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attester_slashings: - type: array - items: - type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' - required: - - attestation_1 - - attestation_2 - properties: - attestation_1: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' - required: - - attesting_indices - - data - - signature - properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - type: object + description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Altair spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Altair spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing Merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body + properties: + body: + type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#beaconblockbody) object from the CL Altair spec.' + required: + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + properties: + randao_reveal: + description: The RanDAO reveal value provided by the validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + proposer_slashings: + type: array + items: + type: object + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' + required: + - signed_header_1 + - signed_header_2 + properties: + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. type: string example: '1' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestation_2: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' - required: - - attesting_indices - - data - - signature - properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: + proposer_index: + description: Index of validator in validator registry. type: string example: '1' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestations: - type: array - items: - type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' - required: - - aggregation_bits - - data - - signature - properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: BLS aggregate signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - deposits: - type: array - items: - type: object - description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' - required: - - proof - - data - properties: - proof: - type: array - description: Branch in the deposit tree. - items: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 32 - maxItems: 32 - data: - type: object - description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' - required: - - pubkey - - withdrawal_credentials - - amount - - signature - properties: - pubkey: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - withdrawal_credentials: - description: The withdrawal credentials. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - amount: - description: Amount in Gwei. - type: string - example: '1' - signature: - description: Container self-signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - voluntary_exits: - type: array - items: - type: object - description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' - required: - - epoch - - validator_index - properties: - epoch: - description: Minimum epoch for processing exit. - type: string - example: '1' - validator_index: - description: Index of the exiting validator. - type: string - example: '1' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - sync_aggregate: - type: object - description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' - required: - - sync_committee_bits - - sync_committee_signature - properties: - sync_committee_bits: - description: Aggregation bits of sync - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - sync_committee_signature: + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - type: object - description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Bellatrix spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Bellatrix spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing Merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body - properties: - body: - allOf: - - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#beaconblockbody) object from the CL Bellatrix spec.' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' required: - - randao_reveal - - eth1_data - - graffiti - - proposer_slashings - - attester_slashings - - attestations - - deposits - - voluntary_exits - - sync_aggregate + - message + - signature properties: - randao_reveal: - description: The RanDAO reveal value provided by the validator. + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - eth1_data: + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - - deposit_root - - deposit_count - - block_hash + - slot + - index + - beacon_block_root + - source + - target properties: - deposit_root: - description: Root of the deposit tree. + slot: type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. + example: '1' + index: type: string example: '1' - block_hash: - description: Ethereum 1.x block hash. + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - graffiti: + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - proposer_slashings: + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: type: array + maxItems: 2048 + description: Attesting validator indices items: - type: object - description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' - required: - - signed_header_1 - - signed_header_2 - properties: - signed_header_1: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signed_header_2: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attester_slashings: - type: array - items: - type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' - required: - - attestation_1 - - attestation_2 - properties: - attestation_1: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' - required: - - attesting_indices - - data - - signature - properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestation_2: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' - required: - - attesting_indices - - data - - signature - properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestations: - type: array - items: - type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' - required: - - aggregation_bits - - data - - signature - properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: BLS aggregate signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - deposits: - type: array - items: - type: object - description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' - required: - - proof - - data - properties: - proof: - type: array - description: Branch in the deposit tree. - items: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 32 - maxItems: 32 - data: - type: object - description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' - required: - - pubkey - - withdrawal_credentials - - amount - - signature - properties: - pubkey: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - withdrawal_credentials: - description: The withdrawal credentials. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - amount: - description: Amount in Gwei. - type: string - example: '1' - signature: - description: Container self-signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - voluntary_exits: - type: array - items: - type: object - description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' - required: - - epoch - - validator_index - properties: - epoch: - description: Minimum epoch for processing exit. - type: string - example: '1' - validator_index: - description: Index of the exiting validator. - type: string - example: '1' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - sync_aggregate: + type: string + example: '1' + data: type: object - description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - - sync_committee_bits - - sync_committee_signature + - slot + - index + - beacon_block_root + - source + - target properties: - sync_committee_bits: - description: Aggregation bits of sync + slot: type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - sync_committee_signature: + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. type: string format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - type: object - required: - - execution_payload - properties: - execution_payload: - allOf: - - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#executionpayload) object from the CL Bellatrix spec.' + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' required: - - parent_hash - - fee_recipient - - state_root - - receipts_root - - logs_bloom - - prev_randao - - block_number - - gas_limit - - gas_used - - timestamp - - extra_data - - base_fee_per_gas - - block_hash + - epoch + - root properties: - parent_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - fee_recipient: - type: string - format: hex - description: An address on the execution (Ethereum 1) network. - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - state_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - receipts_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - logs_bloom: - type: string - format: hex - example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' - pattern: '^0x[a-fA-F0-9]{512}$' - prev_randao: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - block_number: - type: string - example: '1' - gas_limit: - type: string - example: '1' - gas_used: - type: string - example: '1' - timestamp: + epoch: type: string example: '1' - extra_data: + root: type: string format: hex - description: Extra data on the execution (Ethereum 1) network. example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{0,64}$' - base_fee_per_gas: + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: type: string example: '1' - block_hash: + root: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - transactions - properties: - transactions: - type: array - items: - type: string - format: hex - description: A transaction on the execution (Ethereum 1) network. - example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' - pattern: '^0x[a-fA-F0-9]{0,2147483648}$' - maxItems: 1048576 - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - type: object - description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Capella spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Capella spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing Merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body - properties: - body: - allOf: - - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#beaconblockbody) object from the CL Capella spec.' - required: - - randao_reveal - - eth1_data - - graffiti - - proposer_slashings - - attester_slashings - - attestations - - deposits - - voluntary_exits - - sync_aggregate - - bls_to_execution_changes - properties: - randao_reveal: - description: The RanDAO reveal value provided by the validator. + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - eth1_data: + attestations: + type: array + items: + type: object + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + required: + - aggregation_bits + - data + - signature + properties: + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' required: - - deposit_root - - deposit_count - - block_hash + - epoch + - root properties: - deposit_root: - description: Root of the deposit tree. + epoch: + type: string + example: '1' + root: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: type: string example: '1' - block_hash: - description: Ethereum 1.x block hash. + root: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - graffiti: + signature: + description: BLS aggregate signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + deposits: + type: array + items: + type: object + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + required: + - proof + - data + properties: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: + type: object + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + properties: + pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - proposer_slashings: - type: array - items: - type: object - description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' - required: - - signed_header_1 - - signed_header_2 - properties: - signed_header_1: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signed_header_2: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attester_slashings: - type: array - items: - type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' - required: - - attestation_1 - - attestation_2 - properties: - attestation_1: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' - required: - - attesting_indices - - data - - signature - properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: + amount: + description: Amount in Gwei. + type: string + example: '1' + signature: + description: Container self-signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - type: object + description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Bellatrix spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Bellatrix spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing Merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body + properties: + body: + allOf: + - type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#beaconblockbody) object from the CL Bellatrix spec.' + required: + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + properties: + randao_reveal: + description: The RanDAO reveal value provided by the validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + proposer_slashings: + type: array + items: + type: object + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' + required: + - signed_header_1 + - signed_header_2 + properties: + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. type: string example: '1' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestation_2: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' - required: - - attesting_indices - - data - - signature - properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: + proposer_index: + description: Index of validator in validator registry. type: string example: '1' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestations: - type: array - items: - type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' - required: - - aggregation_bits - - data - - signature - properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: BLS aggregate signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - deposits: - type: array - items: - type: object - description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' - required: - - proof - - data - properties: - proof: - type: array - description: Branch in the deposit tree. - items: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 32 - maxItems: 32 - data: - type: object - description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' - required: - - pubkey - - withdrawal_credentials - - amount - - signature - properties: - pubkey: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - withdrawal_credentials: - description: The withdrawal credentials. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - amount: - description: Amount in Gwei. - type: string - example: '1' - signature: - description: Container self-signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - voluntary_exits: - type: array - items: - type: object - description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' - required: - - epoch - - validator_index - properties: - epoch: - description: Minimum epoch for processing exit. - type: string - example: '1' - validator_index: - description: Index of the exiting validator. - type: string - example: '1' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - sync_aggregate: + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: type: object - description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' required: - - sync_committee_bits - - sync_committee_signature + - message + - signature properties: - sync_committee_bits: - description: Aggregation bits of sync - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - sync_committee_signature: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - bls_to_execution_changes: - type: array - items: - type: object - description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' - required: - - validator_index - - from_bls_pubkey - - to_execution_address - properties: - validator_index: - description: Index of the validator for which credentials will be changed. - type: string - example: '1' - from_bls_pubkey: - description: Public key of existing credentials. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - to_execution_address: - description: Execution address to which the credentials will be changed. - type: string - format: hex - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - type: object + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' required: - - execution_payload + - attestation_1 + - attestation_2 properties: - execution_payload: - allOf: - - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayload) object from the CL Capella spec.' + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - - parent_hash - - fee_recipient - - state_root - - receipts_root - - logs_bloom - - prev_randao - - block_number - - gas_limit - - gas_used - - timestamp - - extra_data - - base_fee_per_gas - - block_hash + - slot + - index + - beacon_block_root + - source + - target properties: - parent_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - fee_recipient: - type: string - format: hex - description: An address on the execution (Ethereum 1) network. - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - state_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - receipts_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - logs_bloom: - type: string - format: hex - example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' - pattern: '^0x[a-fA-F0-9]{512}$' - prev_randao: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - block_number: - type: string - example: '1' - gas_limit: - type: string - example: '1' - gas_used: - type: string - example: '1' - timestamp: + slot: type: string example: '1' - extra_data: - type: string - format: hex - description: Extra data on the execution (Ethereum 1) network. - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{0,64}$' - base_fee_per_gas: + index: type: string example: '1' - block_hash: + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - transactions - - withdrawals - properties: - transactions: - type: array - items: - type: string - format: hex - description: A transaction on the execution (Ethereum 1) network. - example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' - pattern: '^0x[a-fA-F0-9]{0,2147483648}$' - maxItems: 1048576 - withdrawals: - type: array - items: - type: object - required: - - index - - validator_index - - address - - amount - properties: - index: - description: The index of the withdrawal. - type: string - example: '1' - validator_index: - description: The index of the withdrawing validator. - type: string - example: '1' - address: - description: The address to which the withdrawal is credited. - type: string - format: hex - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - amount: - description: The value withdrawn (gwei). - type: string - example: '1' - maxItems: 16 - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - type: object - description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#signedbeaconblock) object envelope from the CL Deneb spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblock) object from the CL Deneb spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing Merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body - properties: - body: - allOf: - - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec.' - required: - - randao_reveal - - eth1_data - - graffiti - - proposer_slashings - - attester_slashings - - attestations - - deposits - - voluntary_exits - - sync_aggregate - - bls_to_execution_changes - - blob_kzg_commitments - properties: - randao_reveal: - allOf: - - type: string + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - description: The RANDAO reveal value provided by the validator. - eth1_data: + attestation_2: type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' required: - - deposit_root - - deposit_count - - block_hash + - attesting_indices + - data + - signature properties: - deposit_root: - description: Root of the deposit tree. + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: + type: object + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + required: + - aggregation_bits + - data + - signature + properties: + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: type: string example: '1' - block_hash: - description: Ethereum 1.x block hash. + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - graffiti: + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: BLS aggregate signature. type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - proposer_slashings: - type: array - items: - type: object - description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' - required: - - signed_header_1 - - signed_header_2 - properties: - signed_header_1: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signed_header_2: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attester_slashings: + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + deposits: + type: array + items: + type: object + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + required: + - proof + - data + properties: + proof: type: array + description: Branch in the deposit tree. items: - type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' - required: - - attestation_1 - - attestation_2 - properties: - attestation_1: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' - required: - - attesting_indices - - data - - signature - properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestation_2: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' - required: - - attesting_indices - - data - - signature - properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestations: - type: array - items: - type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' - required: - - aggregation_bits - - data - - signature - properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: BLS aggregate signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - deposits: - type: array - items: - type: object - description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' - required: - - proof - - data - properties: - proof: - type: array - description: Branch in the deposit tree. - items: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 32 - maxItems: 32 - data: - type: object - description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' - required: - - pubkey - - withdrawal_credentials - - amount - - signature - properties: - pubkey: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - withdrawal_credentials: - description: The withdrawal credentials. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - amount: - description: Amount in Gwei. - type: string - example: '1' - signature: - description: Container self-signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - voluntary_exits: - type: array - items: - type: object - description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' - required: - - epoch - - validator_index - properties: - epoch: - description: Minimum epoch for processing exit. - type: string - example: '1' - validator_index: - description: Index of the exiting validator. - type: string - example: '1' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - sync_aggregate: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: type: object - description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' required: - - sync_committee_bits - - sync_committee_signature + - pubkey + - withdrawal_credentials + - amount + - signature properties: - sync_committee_bits: - description: Aggregation bits of sync + pubkey: type: string format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - sync_committee_signature: + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: Amount in Gwei. + type: string + example: '1' + signature: + description: Container self-signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - bls_to_execution_changes: - type: array - items: - type: object - description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' - required: - - validator_index - - from_bls_pubkey - - to_execution_address - properties: - validator_index: - description: Index of the validator for which credentials will be changed. - type: string - example: '1' - from_bls_pubkey: - description: Public key of existing credentials. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - to_execution_address: - description: Execution address to which the credentials will be changed. - type: string - format: hex - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - blob_kzg_commitments: - type: array - items: + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - type: object + required: + - execution_payload + properties: + execution_payload: + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#executionpayload) object from the CL Bellatrix spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - block_hash + properties: + parent_hash: type: string format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - - type: object + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions + properties: + transactions: + type: array + items: + type: string + format: hex + description: A transaction on the execution (Ethereum 1) network. + example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' + pattern: '^0x[a-fA-F0-9]{0,2147483648}$' + maxItems: 1048576 + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - type: object + description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Capella spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Capella spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing Merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body + properties: + body: + allOf: + - type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#beaconblockbody) object from the CL Capella spec.' + required: + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + - bls_to_execution_changes + properties: + randao_reveal: + description: The RanDAO reveal value provided by the validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + proposer_slashings: + type: array + items: + type: object + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' required: - - execution_payload + - signed_header_1 + - signed_header_2 properties: - execution_payload: - allOf: - - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' - required: - - parent_hash - - fee_recipient - - state_root - - receipts_root - - logs_bloom - - prev_randao - - block_number - - gas_limit - - gas_used - - timestamp - - extra_data - - base_fee_per_gas - - excess_blob_gas - - block_hash + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target properties: - parent_hash: + slot: type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - fee_recipient: + example: '1' + index: type: string - format: hex - description: An address on the execution (Ethereum 1) network. - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - state_root: + example: '1' + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - receipts_root: + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - logs_bloom: + example: '1' + index: type: string - format: hex - example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' - pattern: '^0x[a-fA-F0-9]{512}$' - prev_randao: + example: '1' + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - block_number: - type: string - example: '1' - gas_limit: - type: string - example: '1' - gas_used: - type: string - example: '1' - timestamp: + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: + type: object + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + required: + - aggregation_bits + - data + - signature + properties: + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: type: string example: '1' - extra_data: + root: type: string format: hex - description: Extra data on the execution (Ethereum 1) network. example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{0,64}$' - base_fee_per_gas: - type: string - example: '1' - excess_blob_gas: + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: type: string example: '1' - block_hash: + root: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - transactions - - withdrawals - properties: - transactions: - type: array - items: - type: string - format: hex - description: A transaction on the execution (Ethereum 1) network. - example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' - pattern: '^0x[a-fA-F0-9]{0,2147483648}$' - maxItems: 1048576 - withdrawals: - type: array - items: - type: object - required: - - index - - validator_index - - address - - amount - properties: - index: - description: The index of the withdrawal. - type: string - example: '1' - validator_index: - description: The index of the withdrawing validator. - type: string - example: '1' - address: - description: The address to which the withdrawal is credited. - type: string - format: hex - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - amount: - description: The value withdrawn (gwei). - type: string - example: '1' - maxItems: 16 - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - application/octet-stream: - schema: - description: SSZ serialized block bytes. Use Accept header to choose this response type - '400': - description: The block ID supplied could not be parsed - content: - application/json: - schema: - type: object - required: - - code - - message - properties: - code: - description: Either specific error code in case of invalid request or http status code - type: number - example: 404 - message: - description: Message describing error - type: string - stacktraces: - description: 'Optional stacktraces, sent when node is in debug mode' - type: array - items: - type: string - example: - code: 400 - message: 'Invalid block ID: current' - '404': - description: Block not found - content: - application/json: - schema: - type: object - required: - - code - - message - properties: - code: - description: Either specific error code in case of invalid request or http status code - type: number - example: 404 - message: - description: Message describing error - type: string - stacktraces: - description: 'Optional stacktraces, sent when node is in debug mode' - type: array - items: - type: string - example: - code: 404 - message: Block not found - '406': - description: Accepted media type is not supported. - content: - application/json: - schema: - type: object - required: - - code - - message - properties: - code: - description: 'The media type in "Accept" header is unsupported, and the request has been rejected. This occurs when the server cannot produce a response in the format accepted by the client.' - type: number - example: 406 - message: - description: Message describing error - type: string - stacktraces: - description: 'Optional stacktraces, sent when node is in debug mode' - type: array - items: - type: string - example: - code: 406 - message: Accepted media type not supported - '500': - description: Beacon node internal error. - content: - application/json: - schema: - type: object - required: - - code - - message - properties: - code: - description: Either specific error code in case of invalid request or http status code - type: number - example: 404 - message: - description: Message describing error - type: string - stacktraces: - description: 'Optional stacktraces, sent when node is in debug mode' - type: array - items: - type: string - example: - code: 500 - message: Internal server error - '/eth/v1/beacon/blocks/{block_id}/root': - get: - operationId: getBlockRoot - summary: Get block root - description: Retrieves hashTreeRoot of BeaconBlock/BeaconBlockHeader - tags: - - Beacon - parameters: - - name: block_id - in: path - required: true - example: head - schema: - type: string - description: | - Block identifier. - Can be one of: "head" (canonical head in node's view), "genesis", "finalized", \, \. - responses: - '200': - description: Success - content: - application/json: - schema: - type: object - title: GetBlockRootResponse - required: - - execution_optimistic - - finalized - - data - properties: - execution_optimistic: - type: boolean - example: false - description: 'True if the response references an unverified execution payload. Optimistic information may be invalidated at a later time. If the field is not present, assume the False value.' - finalized: - type: boolean - example: false - description: 'True if the response references the finalized history of the chain, as determined by fork choice. If the field is not present, additional calls are necessary to compare the epoch of the requested information with the finalized checkpoint.' - data: - type: object - required: - - root - properties: - root: - description: HashTreeRoot of BeaconBlock/BeaconBlockHeader object - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - '400': - description: The block ID supplied could not be parsed - content: - application/json: - schema: - type: object - required: - - code - - message - properties: - code: - description: Either specific error code in case of invalid request or http status code - type: number - example: 404 - message: - description: Message describing error - type: string - stacktraces: - description: 'Optional stacktraces, sent when node is in debug mode' - type: array - items: - type: string - example: - code: 400 - message: 'Invalid block ID: current' - '404': - description: Block not found - content: - application/json: - schema: - type: object - required: - - code - - message - properties: - code: - description: Either specific error code in case of invalid request or http status code - type: number - example: 404 - message: - description: Message describing error - type: string - stacktraces: - description: 'Optional stacktraces, sent when node is in debug mode' - type: array - items: - type: string - example: - code: 404 - message: Block not found - '500': - description: Beacon node internal error. - content: - application/json: - schema: - type: object - required: - - code - - message - properties: - code: - description: Either specific error code in case of invalid request or http status code - type: number - example: 404 - message: - description: Message describing error - type: string - stacktraces: - description: 'Optional stacktraces, sent when node is in debug mode' - type: array - items: + signature: + description: BLS aggregate signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + deposits: + type: array + items: + type: object + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + required: + - proof + - data + properties: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: + type: object + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + properties: + pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: Amount in Gwei. + type: string + example: '1' + signature: + description: Container self-signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + bls_to_execution_changes: + type: array + items: + type: object + description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' + required: + - validator_index + - from_bls_pubkey + - to_execution_address + properties: + validator_index: + description: Index of the validator for which credentials will be changed. + type: string + example: '1' + from_bls_pubkey: + description: Public key of existing credentials. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + to_execution_address: + description: Execution address to which the credentials will be changed. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - type: object + required: + - execution_payload + properties: + execution_payload: + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayload) object from the CL Capella spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions + - withdrawals + properties: + transactions: + type: array + items: + type: string + format: hex + description: A transaction on the execution (Ethereum 1) network. + example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' + pattern: '^0x[a-fA-F0-9]{0,2147483648}$' + maxItems: 1048576 + withdrawals: + type: array + items: + type: object + required: + - index + - validator_index + - address + - amount + properties: + index: + description: The index of the withdrawal. + type: string + example: '1' + validator_index: + description: The index of the withdrawing validator. + type: string + example: '1' + address: + description: The address to which the withdrawal is credited. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + amount: + description: The value withdrawn (gwei). + type: string + example: '1' + maxItems: 16 + signature: type: string - example: - code: 500 - message: Internal server error - '/eth/v1/beacon/blocks/{block_id}/attestations': - 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 - example: head - schema: - type: string - description: | - Block identifier. - Can be one of: "head" (canonical head in node's view), "genesis", "finalized", \, \. - responses: - '200': - description: Success - content: - application/json: - schema: - title: GetBlockAttestationsResponse - type: object - required: - - execution_optimistic - - finalized - - data - properties: - execution_optimistic: - type: boolean - example: false - description: 'True if the response references an unverified execution payload. Optimistic information may be invalidated at a later time. If the field is not present, assume the False value.' - finalized: - type: boolean - example: false - description: 'True if the response references the finalized history of the chain, as determined by fork choice. If the field is not present, additional calls are necessary to compare the epoch of the requested information with the finalized checkpoint.' - data: - type: array - items: + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - type: object + description: The required signed components of block production according to the Deneb CL spec. + required: + - signed_block + - kzg_proofs + - blobs + properties: + signed_block: type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Deneb spec.' required: - - aggregation_bits - - data + - message - signature properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + message: + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/beacon-chain.md#beaconblock) object from the CL Deneb spec.' + allOf: + - type: object required: - - epoch - - root + - slot + - proposer_index + - parent_root + - state_root properties: - epoch: + slot: + description: The slot to which this block corresponds. type: string example: '1' - root: + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing Merkle root of the parent `BeaconBlock`. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: + state_root: + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: BLS aggregate signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - '400': - description: The block ID supplied could not be parsed - content: - application/json: - schema: - type: object - required: - - code - - message - properties: - code: - description: Either specific error code in case of invalid request or http status code - type: number - example: 404 - message: - description: Message describing error - type: string - stacktraces: - description: 'Optional stacktraces, sent when node is in debug mode' - type: array - items: - type: string - example: - code: 400 - message: 'Invalid block ID: current' - '404': - description: Block not found - content: - application/json: - schema: - type: object - required: - - code - - message - properties: - code: - description: Either specific error code in case of invalid request or http status code - type: number - example: 404 - message: - description: Message describing error - type: string - stacktraces: - description: 'Optional stacktraces, sent when node is in debug mode' - type: array - items: - type: string - example: - code: 404 - message: Block not found - '500': - description: Beacon node internal error. - content: - application/json: - schema: - type: object - required: - - code - - message - properties: - code: - description: Either specific error code in case of invalid request or http status code - type: number - example: 404 - message: - description: Message describing error - type: string - stacktraces: - description: 'Optional stacktraces, sent when node is in debug mode' - type: array - items: - type: string - example: - code: 500 - message: Internal server error - '/eth/v2/beacon/blocks/{block_id}/attestations': - get: - operationId: getBlockAttestationsV2 - summary: Get block attestations - description: Retrieves attestation included in requested block. - tags: - - Beacon - parameters: - - name: block_id - in: path - required: true - example: head - schema: - type: string - description: | - Block identifier. - Can be one of: "head" (canonical head in node's view), "genesis", "finalized", \, \. - responses: - '200': - description: Success - headers: - Eth-Consensus-Version: - description: The active consensus version to which the attestations belong. - required: true - schema: - type: string - enum: - - phase0 - - altair - - bellatrix - - capella - - deneb - - electra - example: phase0 - content: - application/json: - schema: - title: GetBlockAttestationsV2Response - type: object - required: - - version - - execution_optimistic - - finalized - - data - properties: - version: - type: string - enum: - - phase0 - - altair - - bellatrix - - capella - - deneb - - electra - example: phase0 - execution_optimistic: - type: boolean - example: false - description: 'True if the response references an unverified execution payload. Optimistic information may be invalidated at a later time. If the field is not present, assume the False value.' - finalized: - type: boolean - example: false - description: 'True if the response references the finalized history of the chain, as determined by fork choice. If the field is not present, additional calls are necessary to compare the epoch of the requested information with the finalized checkpoint.' - data: - anyOf: - - type: array - items: - type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' - required: - - aggregation_bits - - data - - signature - properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: BLS aggregate signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - type: array - items: - type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attestation) object from the CL spec.' - required: - - aggregation_bits - - data - - signature - - committee_bits - properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + - type: object required: - - slot - - index - - beacon_block_root - - source - - target + - body properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: BLS aggregate signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - committee_bits: - description: Committee bits. - example: '0x0000000000000001' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{2,}$' - '400': - description: The block ID supplied could not be parsed - content: - application/json: - schema: - type: object - required: - - code - - message - properties: - code: - description: Either specific error code in case of invalid request or http status code - type: number - example: 404 - message: - description: Message describing error - type: string - stacktraces: - description: 'Optional stacktraces, sent when node is in debug mode' - type: array - items: - type: string - example: - code: 400 - message: 'Invalid block ID: current' - '404': - description: Block not found - content: - application/json: - schema: - type: object - required: - - code - - message - properties: - code: - description: Either specific error code in case of invalid request or http status code - type: number - example: 404 - message: - description: Message describing error - type: string - stacktraces: - description: 'Optional stacktraces, sent when node is in debug mode' - type: array - items: - type: string - example: - code: 404 - message: Block not found - '500': - description: Beacon node internal error. - content: - application/json: - schema: - type: object - required: - - code - - message - properties: - code: - description: Either specific error code in case of invalid request or http status code - type: number - example: 404 - message: - description: Message describing error - type: string - stacktraces: - description: 'Optional stacktraces, sent when node is in debug mode' - type: array - items: - type: string - example: - code: 500 - message: Internal server error - '/eth/v1/beacon/blob_sidecars/{block_id}': - get: - operationId: getBlobSidecars - summary: Get blob sidecars - description: | - Retrieves blob sidecars for a given block id. - Depending on `Accept` header it can be returned either as json or as bytes serialized by SSZ. - - If the `indices` parameter is specified, only the blob sidecars with the specified indices will be returned. There are no guarantees - for the returned blob sidecars in terms of ordering. - tags: - - Beacon - parameters: - - name: block_id - in: path - required: true - example: head - schema: - type: string - description: | - Block identifier. - Can be one of: "head" (canonical head in node's view), "genesis", "finalized", \, \. - - name: indices - in: query - description: Array of indices for blob sidecars to request for in the specified block. Returns all blob sidecars in the block if not specified. - required: false - schema: - type: array - uniqueItems: true - items: - type: string - example: '1' - responses: - '200': - description: Successful response - headers: - Eth-Consensus-Version: - required: false - description: | - The active consensus version to which the data belongs. Required in response so client can deserialize returned json or ssz data - more effectively. - schema: - type: string - enum: - - phase0 - - altair - - bellatrix - - capella - - deneb - - electra - example: phase0 - content: - application/json: - schema: - title: GetBlobSidecarsResponse - type: object - required: - - data - properties: - version: - type: string - enum: - - phase0 - - altair - - bellatrix - - capella - - deneb - example: deneb - execution_optimistic: - type: boolean - example: false - description: 'True if the response references an unverified execution payload. Optimistic information may be invalidated at a later time. If the field is not present, assume the False value.' - finalized: - type: boolean - example: false - description: 'True if the response references the finalized history of the chain, as determined by fork choice. If the field is not present, additional calls are necessary to compare the epoch of the requested information with the finalized checkpoint.' - data: - type: array - items: - type: object - description: A blob sidecar as defined in the Deneb consensus spec. - required: - - index - - blob - - kzg_commitment - - kzg_proof - - signed_block_header - - kzg_commitment_inclusion_proof - properties: - index: - type: string - example: '1' - blob: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{262144}$' - description: A blob is `FIELD_ELEMENTS_PER_BLOB * size_of(BLSFieldElement) = 4096 * 32 = 131072` bytes (`DATA`) representing a Blob as defined in Deneb - kzg_commitment: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - kzg_proof: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: A G1 curve point. Used for verifying that the `KZGCommitment` for a given `Blob` is correct. - signed_block_header: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex + body: + allOf: + - type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec.' + required: + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + - bls_to_execution_changes + - blob_kzg_commitments + properties: + randao_reveal: + allOf: + - type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - description: The RANDAO reveal value provided by the validator. + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + proposer_slashings: + type: array + items: + type: object + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' + required: + - signed_header_1 + - signed_header_2 + properties: + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: + type: object + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + required: + - aggregation_bits + - data + - signature + properties: + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: BLS aggregate signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + deposits: + type: array + items: + type: object + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + required: + - proof + - data + properties: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: + type: object + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + properties: + pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: Amount in Gwei. + type: string + example: '1' + signature: + description: Container self-signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + bls_to_execution_changes: + type: array + items: + type: object + description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' + required: + - validator_index + - from_bls_pubkey + - to_execution_address + properties: + validator_index: + description: Index of the validator for which credentials will be changed. + type: string + example: '1' + from_bls_pubkey: + description: Public key of existing credentials. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + to_execution_address: + description: Execution address to which the credentials will be changed. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + blob_kzg_commitments: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + - type: object + required: + - execution_payload + properties: + execution_payload: + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - excess_blob_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + excess_blob_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions + - withdrawals + properties: + transactions: + type: array + items: + type: string + format: hex + description: A transaction on the execution (Ethereum 1) network. + example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' + pattern: '^0x[a-fA-F0-9]{0,2147483648}$' + maxItems: 1048576 + withdrawals: + type: array + items: + type: object + required: + - index + - validator_index + - address + - amount + properties: + index: + description: The index of the withdrawal. + type: string + example: '1' + validator_index: + description: The index of the withdrawing validator. + type: string + example: '1' + address: + description: The address to which the withdrawal is credited. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + amount: + description: The value withdrawn (gwei). + type: string + example: '1' + maxItems: 16 + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + kzg_proofs: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Used for verifying that the `KZGCommitment` for a given `Blob` is correct. + minItems: 0 + maxItems: 4096 + blobs: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{262144}$' + description: A blob is `FIELD_ELEMENTS_PER_BLOB * size_of(BLSFieldElement) = 4096 * 32 = 131072` bytes (`DATA`) representing a Blob as defined in Deneb + minItems: 0 + maxItems: 4096 + - type: object + description: The required signed components of block production according to the Electra CL spec. + required: + - signed_block + - kzg_proofs + - blobs + properties: + signed_block: + type: object + description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Electra spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/phase0/beacon-chain.md#beaconblock) object from the CL Electra spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing Merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body + properties: + body: + allOf: + - type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#beaconblockbody) object from the CL Electra spec.' + required: + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + - bls_to_execution_changes + - blob_kzg_commitments + properties: + randao_reveal: + allOf: + - type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - description: The RANDAO reveal value provided by the validator. + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + proposer_slashings: + type: array + items: + type: object + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' + required: + - signed_header_1 + - signed_header_2 + properties: + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 131072 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 131072 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: + type: object + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attestation) object from the CL spec.' + required: + - aggregation_bits + - data + - signature + - committee_bits + properties: + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: BLS aggregate signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + committee_bits: + description: Committee bits. + example: '0x0000000000000001' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{2,}$' + deposits: + type: array + items: + type: object + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + required: + - proof + - data + properties: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: + type: object + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + properties: + pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: Amount in Gwei. + type: string + example: '1' + signature: + description: Container self-signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + bls_to_execution_changes: + type: array + items: + type: object + description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' + required: + - validator_index + - from_bls_pubkey + - to_execution_address + properties: + validator_index: + description: Index of the validator for which credentials will be changed. + type: string + example: '1' + from_bls_pubkey: + description: Public key of existing credentials. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + to_execution_address: + description: Execution address to which the credentials will be changed. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + blob_kzg_commitments: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + - type: object + required: + - execution_payload + - execution_requests + properties: + execution_payload: + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - excess_blob_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + excess_blob_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions + - withdrawals + properties: + transactions: + type: array + items: + type: string + format: hex + description: A transaction on the execution (Ethereum 1) network. + example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' + pattern: '^0x[a-fA-F0-9]{0,2147483648}$' + maxItems: 1048576 + withdrawals: + type: array + items: + type: object + required: + - index + - validator_index + - address + - amount + properties: + index: + description: The index of the withdrawal. + type: string + example: '1' + validator_index: + description: The index of the withdrawing validator. + type: string + example: '1' + address: + description: The address to which the withdrawal is credited. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + amount: + description: The value withdrawn (gwei). + type: string + example: '1' + maxItems: 16 + execution_requests: + type: object + description: 'The [`ExecutionRequests`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.6/specs/electra/beacon-chain.md#executionrequests) object from the CL Electra spec.' + required: + - deposits + - withdrawals + - consolidations + properties: + deposits: + type: array + items: + type: object + description: 'The [`DepositRequest`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#depositrequest) object from the CL Electra spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + - index + properties: + pubkey: + description: BLS public key of validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: The value to be deposited (gwei). + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + index: + description: The index of the deposit request. + type: string + example: '1' + maxItems: 8192 + withdrawals: + type: array + items: + type: object + description: 'The [`WithdrawalRequest`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#withdrawalrequest) object from the CL Electra spec.' + required: + - source_address + - validator_pubkey + - amount + properties: + source_address: + description: Execution address which sent the request. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + validator_pubkey: + description: BLS public key of validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + amount: + description: The value to be withdrawn (gwei). + type: string + example: '1' + maxItems: 16 + consolidations: + type: array + items: + type: object + description: 'The [`ConsolidationRequest`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#consolidationrequest) object from the CL Electra spec.' + required: + - source_address + - source_pubkey + - target_pubkey + properties: + source_address: + description: Execution address which sent the request. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + source_pubkey: + description: BLS public key of validator to consolidate from. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + target_pubkey: + description: BLS public key of validator to consolidate to. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + maxItems: 1 + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + kzg_proofs: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Used for verifying that the `KZGCommitment` for a given `Blob` is correct. + minItems: 0 + maxItems: 4096 + blobs: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{262144}$' + description: A blob is `FIELD_ELEMENTS_PER_BLOB * size_of(BLSFieldElement) = 4096 * 32 = 131072` bytes (`DATA`) representing a Blob as defined in Deneb + minItems: 0 + maxItems: 4096 + 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 or broadcast validation failed + content: + application/json: + schema: + type: object + required: + - code + - message + properties: + code: + description: Either specific error code in case of invalid request or http status code + type: number + example: 404 + message: + description: Message describing error + type: string + stacktraces: + description: 'Optional stacktraces, sent when node is in debug mode' + type: array + items: + type: string + example: + code: 400 + message: 'Invalid block: missing signature' + '415': + description: Supplied content-type is not supported. + content: + application/json: + schema: + type: object + required: + - code + - message + properties: + code: + description: 'The media type in "Content-Type" header is unsupported, and the request has been rejected. This occurs when a HTTP request supplies a payload in a content-type that the server is not able to handle.' + type: number + example: 415 + message: + description: Message describing error + type: string + stacktraces: + description: 'Optional stacktraces, sent when node is in debug mode' + type: array + items: + type: string + example: + code: 415 + message: Cannot read the supplied content type. + '500': + description: Beacon node internal error. + content: + application/json: + schema: + type: object + required: + - code + - message + properties: + code: + description: Either specific error code in case of invalid request or http status code + type: number + example: 404 + message: + description: Message describing error + type: string + stacktraces: + description: 'Optional stacktraces, sent when node is in debug mode' + type: array + items: + type: string + example: + code: 500 + message: Internal server error + '503': + description: 'Beacon node is currently syncing, try again later.' + content: + application/json: + schema: + type: object + required: + - code + - message + properties: + code: + description: Either specific error code in case of invalid request or http status code + type: number + example: 404 + message: + description: Message describing error + type: string + stacktraces: + description: 'Optional stacktraces, sent when node is in debug mode' + type: array + items: + type: string + example: + code: 503 + message: Beacon node is currently syncing and not serving request on that endpoint + '/eth/v2/beacon/blocks/{block_id}': + get: + operationId: getBlockV2 + summary: Get block + description: | + Retrieves block details for given block id. + Depending on `Accept` header it can be returned either as json or as bytes serialized by SSZ + tags: + - Beacon + parameters: + - name: block_id + in: path + required: true + example: head + schema: + type: string + description: | + Block identifier. + Can be one of: "head" (canonical head in node's view), "genesis", "finalized", \, \. + responses: + '200': + description: Successful response + headers: + Eth-Consensus-Version: + description: | + The active consensus version to which the data belongs. Required in response so client can deserialize returned json or ssz data + more effectively. + required: true + schema: + type: string + enum: + - phase0 + - altair + - bellatrix + - capella + - deneb + - electra + example: phase0 + content: + application/json: + schema: + title: GetBlockV2Response + type: object + required: + - version + - execution_optimistic + - finalized + - data + properties: + version: + type: string + enum: + - phase0 + - altair + - bellatrix + - capella + - deneb + - electra + example: phase0 + execution_optimistic: + type: boolean + example: false + description: 'True if the response references an unverified execution payload. Optimistic information may be invalidated at a later time. If the field is not present, assume the False value.' + finalized: + type: boolean + example: false + description: 'True if the response references the finalized history of the chain, as determined by fork choice. If the field is not present, additional calls are necessary to compare the epoch of the requested information with the finalized checkpoint.' + data: + anyOf: + - type: object + description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body + properties: + body: + type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockbody) object from the CL spec.' + required: + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + properties: + randao_reveal: + description: The RanDAO reveal value provided by the validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + proposer_slashings: + type: array + items: + type: object + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' + required: + - signed_header_1 + - signed_header_2 + properties: + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: + type: object + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + required: + - aggregation_bits + - data + - signature + properties: + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: BLS aggregate signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + deposits: + type: array + items: + type: object + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + required: + - proof + - data + properties: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: + type: object + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + properties: + pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: Amount in Gwei. + type: string + example: '1' + signature: + description: Container self-signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - type: object + description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Altair spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Altair spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing Merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body + properties: + body: + type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#beaconblockbody) object from the CL Altair spec.' + required: + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + properties: + randao_reveal: + description: The RanDAO reveal value provided by the validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + proposer_slashings: + type: array + items: + type: object + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' + required: + - signed_header_1 + - signed_header_2 + properties: + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: + type: object + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + required: + - aggregation_bits + - data + - signature + properties: + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: BLS aggregate signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + deposits: + type: array + items: + type: object + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + required: + - proof + - data + properties: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: + type: object + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + properties: + pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: Amount in Gwei. + type: string + example: '1' + signature: + description: Container self-signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - type: object + description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Bellatrix spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Bellatrix spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing Merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body + properties: + body: + allOf: + - type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#beaconblockbody) object from the CL Bellatrix spec.' + required: + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + properties: + randao_reveal: + description: The RanDAO reveal value provided by the validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + proposer_slashings: + type: array + items: + type: object + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' + required: + - signed_header_1 + - signed_header_2 + properties: + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: + type: object + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + required: + - aggregation_bits + - data + - signature + properties: + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: BLS aggregate signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + deposits: + type: array + items: + type: object + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + required: + - proof + - data + properties: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: + type: object + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + properties: + pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: Amount in Gwei. + type: string + example: '1' + signature: + description: Container self-signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - type: object + required: + - execution_payload + properties: + execution_payload: + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#executionpayload) object from the CL Bellatrix spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions + properties: + transactions: + type: array + items: + type: string + format: hex + description: A transaction on the execution (Ethereum 1) network. + example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' + pattern: '^0x[a-fA-F0-9]{0,2147483648}$' + maxItems: 1048576 + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - type: object + description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Capella spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Capella spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing Merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body + properties: + body: + allOf: + - type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#beaconblockbody) object from the CL Capella spec.' + required: + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + - bls_to_execution_changes + properties: + randao_reveal: + description: The RanDAO reveal value provided by the validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + proposer_slashings: + type: array + items: + type: object + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' + required: + - signed_header_1 + - signed_header_2 + properties: + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: + type: object + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + required: + - aggregation_bits + - data + - signature + properties: + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: BLS aggregate signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + deposits: + type: array + items: + type: object + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + required: + - proof + - data + properties: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: + type: object + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + properties: + pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: Amount in Gwei. + type: string + example: '1' + signature: + description: Container self-signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + bls_to_execution_changes: + type: array + items: + type: object + description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' + required: + - validator_index + - from_bls_pubkey + - to_execution_address + properties: + validator_index: + description: Index of the validator for which credentials will be changed. + type: string + example: '1' + from_bls_pubkey: + description: Public key of existing credentials. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + to_execution_address: + description: Execution address to which the credentials will be changed. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - type: object + required: + - execution_payload + properties: + execution_payload: + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayload) object from the CL Capella spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions + - withdrawals + properties: + transactions: + type: array + items: + type: string + format: hex + description: A transaction on the execution (Ethereum 1) network. + example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' + pattern: '^0x[a-fA-F0-9]{0,2147483648}$' + maxItems: 1048576 + withdrawals: + type: array + items: + type: object + required: + - index + - validator_index + - address + - amount + properties: + index: + description: The index of the withdrawal. + type: string + example: '1' + validator_index: + description: The index of the withdrawing validator. + type: string + example: '1' + address: + description: The address to which the withdrawal is credited. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + amount: + description: The value withdrawn (gwei). + type: string + example: '1' + maxItems: 16 + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - type: object + description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Deneb spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/beacon-chain.md#beaconblock) object from the CL Deneb spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing Merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body + properties: + body: + allOf: + - type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec.' + required: + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + - bls_to_execution_changes + - blob_kzg_commitments + properties: + randao_reveal: + allOf: + - type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - description: The RANDAO reveal value provided by the validator. + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + proposer_slashings: + type: array + items: + type: object + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' + required: + - signed_header_1 + - signed_header_2 + properties: + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: + type: object + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + required: + - aggregation_bits + - data + - signature + properties: + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: BLS aggregate signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + deposits: + type: array + items: + type: object + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + required: + - proof + - data + properties: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: + type: object + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + properties: + pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: Amount in Gwei. + type: string + example: '1' + signature: + description: Container self-signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + bls_to_execution_changes: + type: array + items: + type: object + description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' + required: + - validator_index + - from_bls_pubkey + - to_execution_address + properties: + validator_index: + description: Index of the validator for which credentials will be changed. + type: string + example: '1' + from_bls_pubkey: + description: Public key of existing credentials. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + to_execution_address: + description: Execution address to which the credentials will be changed. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + blob_kzg_commitments: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + - type: object + required: + - execution_payload + properties: + execution_payload: + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - excess_blob_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + excess_blob_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions + - withdrawals + properties: + transactions: + type: array + items: + type: string + format: hex + description: A transaction on the execution (Ethereum 1) network. + example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' + pattern: '^0x[a-fA-F0-9]{0,2147483648}$' + maxItems: 1048576 + withdrawals: + type: array + items: + type: object + required: + - index + - validator_index + - address + - amount + properties: + index: + description: The index of the withdrawal. + type: string + example: '1' + validator_index: + description: The index of the withdrawing validator. + type: string + example: '1' + address: + description: The address to which the withdrawal is credited. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + amount: + description: The value withdrawn (gwei). + type: string + example: '1' + maxItems: 16 + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - type: object + description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Electra spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/phase0/beacon-chain.md#beaconblock) object from the CL Electra spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing Merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body + properties: + body: + allOf: + - type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#beaconblockbody) object from the CL Electra spec.' + required: + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + - bls_to_execution_changes + - blob_kzg_commitments + properties: + randao_reveal: + allOf: + - type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - description: The RANDAO reveal value provided by the validator. + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + proposer_slashings: + type: array + items: + type: object + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' + required: + - signed_header_1 + - signed_header_2 + properties: + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 131072 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 131072 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: + type: object + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attestation) object from the CL spec.' + required: + - aggregation_bits + - data + - signature + - committee_bits + properties: + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: BLS aggregate signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + committee_bits: + description: Committee bits. + example: '0x0000000000000001' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{2,}$' + deposits: + type: array + items: + type: object + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + required: + - proof + - data + properties: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: + type: object + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + properties: + pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: Amount in Gwei. + type: string + example: '1' + signature: + description: Container self-signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + bls_to_execution_changes: + type: array + items: + type: object + description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' + required: + - validator_index + - from_bls_pubkey + - to_execution_address + properties: + validator_index: + description: Index of the validator for which credentials will be changed. + type: string + example: '1' + from_bls_pubkey: + description: Public key of existing credentials. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + to_execution_address: + description: Execution address to which the credentials will be changed. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + blob_kzg_commitments: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + - type: object + required: + - execution_payload + - execution_requests + properties: + execution_payload: + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - excess_blob_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + excess_blob_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions + - withdrawals + properties: + transactions: + type: array + items: + type: string + format: hex + description: A transaction on the execution (Ethereum 1) network. + example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' + pattern: '^0x[a-fA-F0-9]{0,2147483648}$' + maxItems: 1048576 + withdrawals: + type: array + items: + type: object + required: + - index + - validator_index + - address + - amount + properties: + index: + description: The index of the withdrawal. + type: string + example: '1' + validator_index: + description: The index of the withdrawing validator. + type: string + example: '1' + address: + description: The address to which the withdrawal is credited. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + amount: + description: The value withdrawn (gwei). + type: string + example: '1' + maxItems: 16 + execution_requests: + type: object + description: 'The [`ExecutionRequests`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.6/specs/electra/beacon-chain.md#executionrequests) object from the CL Electra spec.' + required: + - deposits + - withdrawals + - consolidations + properties: + deposits: + type: array + items: + type: object + description: 'The [`DepositRequest`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#depositrequest) object from the CL Electra spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + - index + properties: + pubkey: + description: BLS public key of validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: The value to be deposited (gwei). + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + index: + description: The index of the deposit request. + type: string + example: '1' + maxItems: 8192 + withdrawals: + type: array + items: + type: object + description: 'The [`WithdrawalRequest`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#withdrawalrequest) object from the CL Electra spec.' + required: + - source_address + - validator_pubkey + - amount + properties: + source_address: + description: Execution address which sent the request. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + validator_pubkey: + description: BLS public key of validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + amount: + description: The value to be withdrawn (gwei). + type: string + example: '1' + maxItems: 16 + consolidations: + type: array + items: + type: object + description: 'The [`ConsolidationRequest`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#consolidationrequest) object from the CL Electra spec.' + required: + - source_address + - source_pubkey + - target_pubkey + properties: + source_address: + description: Execution address which sent the request. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + source_pubkey: + description: BLS public key of validator to consolidate from. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + target_pubkey: + description: BLS public key of validator to consolidate to. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + maxItems: 1 + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + application/octet-stream: + schema: + description: SSZ serialized block bytes. Use Accept header to choose this response type + '400': + description: The block ID supplied could not be parsed + content: + application/json: + schema: + type: object + required: + - code + - message + properties: + code: + description: Either specific error code in case of invalid request or http status code + type: number + example: 404 + message: + description: Message describing error + type: string + stacktraces: + description: 'Optional stacktraces, sent when node is in debug mode' + type: array + items: + type: string + example: + code: 400 + message: 'Invalid block ID: current' + '404': + description: Block not found + content: + application/json: + schema: + type: object + required: + - code + - message + properties: + code: + description: Either specific error code in case of invalid request or http status code + type: number + example: 404 + message: + description: Message describing error + type: string + stacktraces: + description: 'Optional stacktraces, sent when node is in debug mode' + type: array + items: + type: string + example: + code: 404 + message: Block not found + '406': + description: Accepted media type is not supported. + content: + application/json: + schema: + type: object + required: + - code + - message + properties: + code: + description: 'The media type in "Accept" header is unsupported, and the request has been rejected. This occurs when the server cannot produce a response in the format accepted by the client.' + type: number + example: 406 + message: + description: Message describing error + type: string + stacktraces: + description: 'Optional stacktraces, sent when node is in debug mode' + type: array + items: + type: string + example: + code: 406 + message: Accepted media type not supported + '500': + description: Beacon node internal error. + content: + application/json: + schema: + type: object + required: + - code + - message + properties: + code: + description: Either specific error code in case of invalid request or http status code + type: number + example: 404 + message: + description: Message describing error + type: string + stacktraces: + description: 'Optional stacktraces, sent when node is in debug mode' + type: array + items: + type: string + example: + code: 500 + message: Internal server error + '/eth/v1/beacon/blocks/{block_id}/root': + get: + operationId: getBlockRoot + summary: Get block root + description: Retrieves hashTreeRoot of BeaconBlock/BeaconBlockHeader + tags: + - Beacon + parameters: + - name: block_id + in: path + required: true + example: head + schema: + type: string + description: | + Block identifier. + Can be one of: "head" (canonical head in node's view), "genesis", "finalized", \, \. + responses: + '200': + description: Success + content: + application/json: + schema: + type: object + title: GetBlockRootResponse + required: + - execution_optimistic + - finalized + - data + properties: + execution_optimistic: + type: boolean + example: false + description: 'True if the response references an unverified execution payload. Optimistic information may be invalidated at a later time. If the field is not present, assume the False value.' + finalized: + type: boolean + example: false + description: 'True if the response references the finalized history of the chain, as determined by fork choice. If the field is not present, additional calls are necessary to compare the epoch of the requested information with the finalized checkpoint.' + data: + type: object + required: + - root + properties: + root: + description: HashTreeRoot of BeaconBlock/BeaconBlockHeader object + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + '400': + description: The block ID supplied could not be parsed + content: + application/json: + schema: + type: object + required: + - code + - message + properties: + code: + description: Either specific error code in case of invalid request or http status code + type: number + example: 404 + message: + description: Message describing error + type: string + stacktraces: + description: 'Optional stacktraces, sent when node is in debug mode' + type: array + items: + type: string + example: + code: 400 + message: 'Invalid block ID: current' + '404': + description: Block not found + content: + application/json: + schema: + type: object + required: + - code + - message + properties: + code: + description: Either specific error code in case of invalid request or http status code + type: number + example: 404 + message: + description: Message describing error + type: string + stacktraces: + description: 'Optional stacktraces, sent when node is in debug mode' + type: array + items: + type: string + example: + code: 404 + message: Block not found + '500': + description: Beacon node internal error. + content: + application/json: + schema: + type: object + required: + - code + - message + properties: + code: + description: Either specific error code in case of invalid request or http status code + type: number + example: 404 + message: + description: Message describing error + type: string + stacktraces: + description: 'Optional stacktraces, sent when node is in debug mode' + type: array + items: + type: string + example: + code: 500 + message: Internal server error + '/eth/v1/beacon/blocks/{block_id}/attestations': + 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 + example: head + schema: + type: string + description: | + Block identifier. + Can be one of: "head" (canonical head in node's view), "genesis", "finalized", \, \. + responses: + '200': + description: Success + content: + application/json: + schema: + title: GetBlockAttestationsResponse + type: object + required: + - execution_optimistic + - finalized + - data + properties: + execution_optimistic: + type: boolean + example: false + description: 'True if the response references an unverified execution payload. Optimistic information may be invalidated at a later time. If the field is not present, assume the False value.' + finalized: + type: boolean + example: false + description: 'True if the response references the finalized history of the chain, as determined by fork choice. If the field is not present, additional calls are necessary to compare the epoch of the requested information with the finalized checkpoint.' + data: + type: array + items: + type: object + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + required: + - aggregation_bits + - data + - signature + properties: + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: BLS aggregate signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + '400': + description: The block ID supplied could not be parsed + content: + application/json: + schema: + type: object + required: + - code + - message + properties: + code: + description: Either specific error code in case of invalid request or http status code + type: number + example: 404 + message: + description: Message describing error + type: string + stacktraces: + description: 'Optional stacktraces, sent when node is in debug mode' + type: array + items: + type: string + example: + code: 400 + message: 'Invalid block ID: current' + '404': + description: Block not found + content: + application/json: + schema: + type: object + required: + - code + - message + properties: + code: + description: Either specific error code in case of invalid request or http status code + type: number + example: 404 + message: + description: Message describing error + type: string + stacktraces: + description: 'Optional stacktraces, sent when node is in debug mode' + type: array + items: + type: string + example: + code: 404 + message: Block not found + '500': + description: Beacon node internal error. + content: + application/json: + schema: + type: object + required: + - code + - message + properties: + code: + description: Either specific error code in case of invalid request or http status code + type: number + example: 404 + message: + description: Message describing error + type: string + stacktraces: + description: 'Optional stacktraces, sent when node is in debug mode' + type: array + items: + type: string + example: + code: 500 + message: Internal server error + '/eth/v2/beacon/blocks/{block_id}/attestations': + get: + operationId: getBlockAttestationsV2 + summary: Get block attestations + description: Retrieves attestation included in requested block. + tags: + - Beacon + parameters: + - name: block_id + in: path + required: true + example: head + schema: + type: string + description: | + Block identifier. + Can be one of: "head" (canonical head in node's view), "genesis", "finalized", \, \. + responses: + '200': + description: Success + headers: + Eth-Consensus-Version: + description: The active consensus version to which the attestations belong. + required: true + schema: + type: string + enum: + - phase0 + - altair + - bellatrix + - capella + - deneb + - electra + example: phase0 + content: + application/json: + schema: + title: GetBlockAttestationsV2Response + type: object + required: + - version + - execution_optimistic + - finalized + - data + properties: + version: + type: string + enum: + - phase0 + - altair + - bellatrix + - capella + - deneb + - electra + example: phase0 + execution_optimistic: + type: boolean + example: false + description: 'True if the response references an unverified execution payload. Optimistic information may be invalidated at a later time. If the field is not present, assume the False value.' + finalized: + type: boolean + example: false + description: 'True if the response references the finalized history of the chain, as determined by fork choice. If the field is not present, additional calls are necessary to compare the epoch of the requested information with the finalized checkpoint.' + data: + anyOf: + - type: array + items: + type: object + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + required: + - aggregation_bits + - data + - signature + properties: + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: BLS aggregate signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - type: array + items: + type: object + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attestation) object from the CL spec.' + required: + - aggregation_bits + - data + - signature + - committee_bits + properties: + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: BLS aggregate signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + committee_bits: + description: Committee bits. + example: '0x0000000000000001' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{2,}$' + '400': + description: The block ID supplied could not be parsed + content: + application/json: + schema: + type: object + required: + - code + - message + properties: + code: + description: Either specific error code in case of invalid request or http status code + type: number + example: 404 + message: + description: Message describing error + type: string + stacktraces: + description: 'Optional stacktraces, sent when node is in debug mode' + type: array + items: + type: string + example: + code: 400 + message: 'Invalid block ID: current' + '404': + description: Block not found + content: + application/json: + schema: + type: object + required: + - code + - message + properties: + code: + description: Either specific error code in case of invalid request or http status code + type: number + example: 404 + message: + description: Message describing error + type: string + stacktraces: + description: 'Optional stacktraces, sent when node is in debug mode' + type: array + items: + type: string + example: + code: 404 + message: Block not found + '500': + description: Beacon node internal error. + content: + application/json: + schema: + type: object + required: + - code + - message + properties: + code: + description: Either specific error code in case of invalid request or http status code + type: number + example: 404 + message: + description: Message describing error + type: string + stacktraces: + description: 'Optional stacktraces, sent when node is in debug mode' + type: array + items: + type: string + example: + code: 500 + message: Internal server error + '/eth/v1/beacon/blob_sidecars/{block_id}': + get: + operationId: getBlobSidecars + summary: Get blob sidecars + description: | + Retrieves blob sidecars for a given block id. + Depending on `Accept` header it can be returned either as json or as bytes serialized by SSZ. + + If the `indices` parameter is specified, only the blob sidecars with the specified indices will be returned. There are no guarantees + for the returned blob sidecars in terms of ordering. + tags: + - Beacon + parameters: + - name: block_id + in: path + required: true + example: head + schema: + type: string + description: | + Block identifier. + Can be one of: "head" (canonical head in node's view), "genesis", "finalized", \, \. + - name: indices + in: query + description: Array of indices for blob sidecars to request for in the specified block. Returns all blob sidecars in the block if not specified. + required: false + schema: + type: array + uniqueItems: true + items: + type: string + example: '1' + responses: + '200': + description: Successful response + headers: + Eth-Consensus-Version: + required: false + description: | + The active consensus version to which the data belongs. Required in response so client can deserialize returned json or ssz data + more effectively. + schema: + type: string + enum: + - phase0 + - altair + - bellatrix + - capella + - deneb + - electra + example: phase0 + content: + application/json: + schema: + title: GetBlobSidecarsResponse + type: object + required: + - data + properties: + version: + type: string + enum: + - phase0 + - altair + - bellatrix + - capella + - deneb + - electra + example: deneb + execution_optimistic: + type: boolean + example: false + description: 'True if the response references an unverified execution payload. Optimistic information may be invalidated at a later time. If the field is not present, assume the False value.' + finalized: + type: boolean + example: false + description: 'True if the response references the finalized history of the chain, as determined by fork choice. If the field is not present, additional calls are necessary to compare the epoch of the requested information with the finalized checkpoint.' + data: + type: array + items: + type: object + description: A blob sidecar as defined in the Deneb consensus spec. + required: + - index + - blob + - kzg_commitment + - kzg_proof + - signed_block_header + - kzg_commitment_inclusion_proof + properties: + index: + type: string + example: '1' + blob: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{262144}$' + description: A blob is `FIELD_ELEMENTS_PER_BLOB * size_of(BLSFieldElement) = 4096 * 32 = 131072` bytes (`DATA`) representing a Blob as defined in Deneb + kzg_commitment: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + kzg_proof: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Used for verifying that the `KZGCommitment` for a given `Blob` is correct. + signed_block_header: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' signature: @@ -20170,6 +24078,7 @@ paths: - bellatrix - capella - deneb + - electra example: phase0 execution_optimistic: type: boolean @@ -20182,13 +24091,527 @@ paths: data: anyOf: - type: object - description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL spec.' + description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body + properties: + body: + type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockbody) object from the CL spec.' + required: + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + properties: + randao_reveal: + description: The RanDAO reveal value provided by the validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + proposer_slashings: + type: array + items: + type: object + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' + required: + - signed_header_1 + - signed_header_2 + properties: + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: + type: object + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + required: + - aggregation_bits + - data + - signature + properties: + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: BLS aggregate signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + deposits: + type: array + items: + type: object + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + required: + - proof + - data + properties: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: + type: object + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + properties: + pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: Amount in Gwei. + type: string + example: '1' + signature: + description: Container self-signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - type: object + description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Altair spec.' required: - message - signature properties: message: - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL spec.' + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Altair spec.' allOf: - type: object required: @@ -20206,13 +24629,13 @@ paths: type: string example: '1' parent_root: - description: The signing merkle root of the parent `BeaconBlock`. + description: The signing Merkle root of the parent `BeaconBlock`. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' @@ -20223,7 +24646,7 @@ paths: properties: body: type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockbody) object from the CL spec.' + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#beaconblockbody) object from the CL Altair spec.' required: - randao_reveal - eth1_data @@ -20233,6 +24656,7 @@ paths: - attestations - deposits - voluntary_exits + - sync_aggregate properties: randao_reveal: description: The RanDAO reveal value provided by the validator. @@ -20690,19 +25114,37 @@ paths: format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' signature: type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - type: object - description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Altair spec.' + description: 'A variant of the [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Bellatrix spec, which contains a `BlindedBeaconBlock` rather than a `BeaconBlock`.' required: - message - signature properties: message: - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Altair spec.' + description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Bellatrix spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' allOf: - type: object required: @@ -20736,264 +25178,340 @@ paths: - body properties: body: - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#beaconblockbody) object from the CL Altair spec.' - required: - - randao_reveal - - eth1_data - - graffiti - - proposer_slashings - - attester_slashings - - attestations - - deposits - - voluntary_exits - - sync_aggregate - properties: - randao_reveal: - description: The RanDAO reveal value provided by the validator. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - eth1_data: - type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#beaconblockbody) object from the CL Bellatrix spec, which contains a transactions root rather than a full transactions list.' + allOf: + - type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#beaconblockbody) object from the CL Bellatrix spec.' required: - - deposit_root - - deposit_count - - block_hash + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate properties: - deposit_root: - description: Root of the deposit tree. + randao_reveal: + description: The RanDAO reveal value provided by the validator. type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. - type: string - example: '1' - block_hash: - description: Ethereum 1.x block hash. + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - graffiti: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - proposer_slashings: - type: array - items: - type: object - description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' - required: - - signed_header_1 - - signed_header_2 - properties: - signed_header_1: + proposer_slashings: + type: array + items: type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' required: - - message - - signature + - signed_header_1 + - signed_header_2 properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signed_header_2: + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' required: - - message - - signature + - attestation_1 + - attestation_2 properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - slot - - proposer_index - - parent_root - - state_root + - index + - beacon_block_root + - source + - target properties: slot: - description: The slot to which this block corresponds. type: string example: '1' - proposer_index: - description: Index of validator in validator registry. + index: type: string example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attester_slashings: - type: array - items: - type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' - required: - - attestation_1 - - attestation_2 - properties: - attestation_1: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' - required: - - attesting_indices - - data - - signature - properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' - data: + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' required: - - slot - - index - - beacon_block_root - - source - - target + - attesting_indices + - data + - signature properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - - epoch - - root + - slot + - index + - beacon_block_root + - source + - target properties: - epoch: + slot: type: string example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: + index: type: string example: '1' - root: + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestation_2: + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' required: - - attesting_indices + - aggregation_bits - data - signature properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' data: type: object description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' @@ -21047,195 +25565,212 @@ paths: example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + description: BLS aggregate signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestations: - type: array - items: - type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' - required: - - aggregation_bits - - data - - signature - properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - data: + deposits: + type: array + items: type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' required: - - slot - - index - - beacon_block_root - - source - - target + - proof + - data properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' required: - - epoch - - root + - pubkey + - withdrawal_credentials + - amount + - signature properties: - epoch: + pubkey: type: string - example: '1' - root: + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: + amount: + description: Amount in Gwei. type: string example: '1' - root: + signature: + description: Container self-signature. type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: BLS aggregate signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - deposits: - type: array - items: - type: object - description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' - required: - - proof - - data - properties: - proof: - type: array - description: Branch in the deposit tree. - items: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 32 - maxItems: 32 - data: + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: type: object - description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' required: - - pubkey - - withdrawal_credentials - - amount + - message - signature properties: - pubkey: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - withdrawal_credentials: - description: The withdrawal credentials. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - amount: - description: Amount in Gwei. - type: string - example: '1' + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' signature: - description: Container self-signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - voluntary_exits: - type: array - items: - type: object - description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' - required: - - epoch - - validator_index - properties: - epoch: - description: Minimum epoch for processing exit. - type: string - example: '1' - validator_index: - description: Index of the exiting validator. - type: string - example: '1' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - sync_aggregate: - type: object - description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - type: object required: - - sync_committee_bits - - sync_committee_signature + - execution_payload_header properties: - sync_committee_bits: - description: Aggregation bits of sync - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - sync_committee_signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + execution_payload_header: + description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#executionpayloadheader) object from the CL Bellatrix spec.' + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#executionpayload) object from the CL Bellatrix spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + additionalProperties: false + required: + - transactions_root + properties: + transactions_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' signature: type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - type: object - description: 'A variant of the [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Bellatrix spec, which contains a `BlindedBeaconBlock` rather than a `BeaconBlock`.' + description: 'A variant of the [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Capella spec, which contains a `BlindedBeaconBlock` rather than a `BeaconBlock`.' required: - message - signature properties: message: - description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Bellatrix spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' + description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Capella spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' allOf: - type: object required: @@ -21269,10 +25804,10 @@ paths: - body properties: body: - description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#beaconblockbody) object from the CL Bellatrix spec, which contains a transactions root rather than a full transactions list.' + description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#beaconblockbody) object from the CL Capella spec, which contains a transactions root rather than a full transactions list.' allOf: - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#beaconblockbody) object from the CL Bellatrix spec.' + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#beaconblockbody) object from the CL Capella spec.' required: - randao_reveal - eth1_data @@ -21283,6 +25818,7 @@ paths: - deposits - voluntary_exits - sync_aggregate + - bls_to_execution_changes properties: randao_reveal: description: The RanDAO reveal value provided by the validator. @@ -21758,15 +26294,53 @@ paths: format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + bls_to_execution_changes: + type: array + items: + type: object + description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' + required: + - validator_index + - from_bls_pubkey + - to_execution_address + properties: + validator_index: + description: Index of the validator for which credentials will be changed. + type: string + example: '1' + from_bls_pubkey: + description: Public key of existing credentials. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + to_execution_address: + description: Execution address to which the credentials will be changed. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - type: object required: - execution_payload_header properties: execution_payload_header: - description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#executionpayloadheader) object from the CL Bellatrix spec.' + description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayloadheader) object from the CL Capella spec.' allOf: - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#executionpayload) object from the CL Bellatrix spec.' + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayload) object from the CL Capella spec.' required: - parent_hash - fee_recipient @@ -21843,25 +26417,31 @@ paths: additionalProperties: false required: - transactions_root + - withdrawals_root properties: transactions_root: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' + withdrawals_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' signature: type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - type: object - description: 'A variant of the [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Capella spec, which contains a `BlindedBeaconBlock` rather than a `BeaconBlock`.' + description: 'A variant of the [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Deneb spec, which contains a `BlindedBeaconBlock` rather than a `BeaconBlock`.' required: - message - signature properties: message: - description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Capella spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' + description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/beacon-chain.md#beaconblock) object from the CL Deneb spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' allOf: - type: object required: @@ -21895,10 +26475,10 @@ paths: - body properties: body: - description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#beaconblockbody) object from the CL Capella spec, which contains a transactions root rather than a full transactions list.' + description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec, which contains a transactions root rather than a full transactions list.' allOf: - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#beaconblockbody) object from the CL Capella spec.' + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec.' required: - randao_reveal - eth1_data @@ -21910,13 +26490,15 @@ paths: - voluntary_exits - sync_aggregate - bls_to_execution_changes + - blob_kzg_commitments properties: randao_reveal: - description: The RanDAO reveal value provided by the validator. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + allOf: + - type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - description: The RANDAO reveal value provided by the validator. eth1_data: type: object description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' @@ -22423,15 +27005,23 @@ paths: format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + blob_kzg_commitments: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - type: object required: - execution_payload_header properties: execution_payload_header: - description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayloadheader) object from the CL Capella spec.' + description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' allOf: - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayload) object from the CL Capella spec.' + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' required: - parent_hash - fee_recipient @@ -22445,6 +27035,7 @@ paths: - timestamp - extra_data - base_fee_per_gas + - excess_blob_gas - block_hash properties: parent_hash: @@ -22499,13 +27090,15 @@ paths: base_fee_per_gas: type: string example: '1' + excess_blob_gas: + type: string + example: '1' block_hash: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - type: object - additionalProperties: false required: - transactions_root - withdrawals_root @@ -22526,13 +27119,13 @@ paths: pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - type: object - description: 'A variant of the [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#signedbeaconblock) object envelope from the CL Deneb spec, which contains a `BlindedBeaconBlock` rather than a `BeaconBlock`.' + description: 'A variant of the [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Electra spec, which contains a `BlindedBeaconBlock` rather than a `BeaconBlock`.' required: - message - signature properties: message: - description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblock) object from the CL Deneb spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' + description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/phase0/beacon-chain.md#beaconblock) object from the CL Electra spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' allOf: - type: object required: @@ -22566,10 +27159,10 @@ paths: - body properties: body: - description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec, which contains a transactions root rather than a full transactions list.' + description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#beaconblockbody) object from the CL Electra spec, which contains a transactions root rather than a full transactions list.' allOf: - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec.' + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#beaconblockbody) object from the CL Electra spec.' required: - randao_reveal - eth1_data @@ -22736,14 +27329,14 @@ paths: type: array items: type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attesterslashing) object from the CL spec.' required: - attestation_1 - attestation_2 properties: attestation_1: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#indexedattestation) object from the CL spec.' required: - attesting_indices - data @@ -22751,7 +27344,7 @@ paths: properties: attesting_indices: type: array - maxItems: 2048 + maxItems: 131072 description: Attesting validator indices items: type: string @@ -22816,7 +27409,7 @@ paths: example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' attestation_2: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#indexedattestation) object from the CL spec.' required: - attesting_indices - data @@ -22824,7 +27417,7 @@ paths: properties: attesting_indices: type: array - maxItems: 2048 + maxItems: 131072 description: Attesting validator indices items: type: string @@ -22891,11 +27484,12 @@ paths: type: array items: type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attestation) object from the CL spec.' required: - aggregation_bits - data - signature + - committee_bits properties: aggregation_bits: description: Attester aggregation bits. @@ -22961,6 +27555,12 @@ paths: format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + committee_bits: + description: Committee bits. + example: '0x0000000000000001' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{2,}$' deposits: type: array items: @@ -23107,6 +27707,7 @@ paths: - type: object required: - execution_payload_header + - execution_requests_root properties: execution_payload_header: description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' @@ -23204,6 +27805,11 @@ paths: format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' + execution_requests_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' signature: type: string format: hex @@ -30649,6 +35255,7 @@ paths: - bellatrix - capella - deneb + - electra example: phase0 execution_optimistic: type: boolean @@ -31478,7 +36085,464 @@ paths: description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - type: object - description: 'The [`BeaconState`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#beaconstate) object from the Eth2.0 Bellatrix spec.' + description: 'The [`BeaconState`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#beaconstate) object from the Eth2.0 Bellatrix spec.' + required: + - genesis_time + - genesis_validators_root + - slot + - fork + - latest_block_header + - block_roots + - state_roots + - historical_roots + - eth1_data + - eth1_data_votes + - eth1_deposit_index + - validators + - balances + - randao_mixes + - slashings + - previous_epoch_participation + - current_epoch_participation + - justification_bits + - previous_justified_checkpoint + - current_justified_checkpoint + - finalized_checkpoint + - inactivity_scores + - current_sync_committee + - next_sync_committee + - latest_execution_payload_header + properties: + genesis_time: + type: string + example: '1' + genesis_validators_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + slot: + type: string + example: '1' + fork: + type: object + description: 'The [`Fork`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#fork) object from the CL spec.' + required: + - previous_version + - current_version + - epoch + properties: + previous_version: + type: string + format: hex + description: a fork version number + example: '0x00000000' + pattern: '^0x[a-fA-F0-9]{8}$' + current_version: + type: string + format: hex + description: a fork version number + example: '0x00000000' + pattern: '^0x[a-fA-F0-9]{8}$' + epoch: + type: string + example: '1' + latest_block_header: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_roots: + type: array + description: Fixed length of 8192 items + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_roots: + type: array + description: Fixed length of 8192 items + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + historical_roots: + type: array + description: 'Variable length list, maximum 16777216 items' + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + eth1_data_votes: + type: array + description: Fixed length of 1024 items + items: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + maxItems: 1024 + eth1_deposit_index: + type: string + example: '1' + validators: + type: array + description: 'Variable length list, maximum 1099511627776 items' + items: + type: object + required: + - pubkey + - withdrawal_credentials + - effective_balance + - slashed + - activation_eligibility_epoch + - activation_epoch + - exit_epoch + - withdrawable_epoch + properties: + pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: Root of withdrawal credentials + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + effective_balance: + description: Balance at stake in Gwei. + type: string + example: '1' + slashed: + type: boolean + example: false + description: Was validator slashed (not longer active). + activation_eligibility_epoch: + description: When criteria for activation were met. + type: string + example: '1' + activation_epoch: + description: Epoch when validator activated. 'FAR_FUTURE_EPOCH' if not activated + type: string + example: '1' + exit_epoch: + description: Epoch when validator exited. 'FAR_FUTURE_EPOCH' if not exited. + type: string + example: '1' + withdrawable_epoch: + description: When validator can withdraw or transfer funds. 'FAR_FUTURE_EPOCH' if not defined + type: string + example: '1' + balances: + type: array + description: 'Validator balances in Gwei. Variable length list, maximum 1099511627776 items' + items: + type: string + example: '1' + randao_mixes: + type: array + description: Fixed length of 65536 items + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + slashings: + type: array + description: Per-epoch sums of slashed effective balances. Fixed length of 8192 items + items: + type: string + example: '1' + previous_epoch_participation: + type: array + items: + type: string + description: 'Unsigned 8 bit integer, max value 255' + pattern: '^[1-2]?[0-9]{1,2}$' + example: '0' + maxItems: 1099511627776 + current_epoch_participation: + type: array + items: + type: string + description: 'Unsigned 8 bit integer, max value 255' + pattern: '^[1-2]?[0-9]{1,2}$' + example: '0' + maxItems: 1099511627776 + justification_bits: + description: Bit set for every recent justified epoch + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + previous_justified_checkpoint: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + current_justified_checkpoint: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + finalized_checkpoint: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + inactivity_scores: + description: 'Per-validator inactivity scores. Introduced in Altair. Variable length list, maximum 1099511627776 items' + type: array + items: + type: string + example: '1' + current_sync_committee: + type: object + required: + - pubkeys + - aggregate_pubkey + properties: + pubkeys: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + minItems: 512 + maxItems: 512 + aggregate_pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + next_sync_committee: + type: object + required: + - pubkeys + - aggregate_pubkey + properties: + pubkeys: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + minItems: 512 + maxItems: 512 + aggregate_pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + latest_execution_payload_header: + description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#executionpayloadheader) object from the CL Bellatrix spec.' + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#executionpayload) object from the CL Bellatrix spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + additionalProperties: false + required: + - transactions_root + properties: + transactions_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + description: 'The [`BeaconState`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#beaconstate) object from the Eth2.0 Capella spec.' required: - genesis_time - genesis_validators_root @@ -31505,6 +36569,9 @@ paths: - current_sync_committee - next_sync_committee - latest_execution_payload_header + - next_withdrawal_index + - next_withdrawal_validator_index + - historical_summaries properties: genesis_time: type: string @@ -31598,7 +36665,7 @@ paths: pattern: '^0x[a-fA-F0-9]{64}$' historical_roots: type: array - description: 'Variable length list, maximum 16777216 items' + description: 'Variable length list, maximum 16777216 items. Frozen in Capella, replaced by historical_summaries.' items: type: string format: hex @@ -31712,7 +36779,7 @@ paths: example: '1' balances: type: array - description: 'Validator balances in Gwei. Variable length list, maximum 1099511627776 items' + description: 'Validator balances in gwei. Variable length list, maximum 1099511627776 items' items: type: string example: '1' @@ -31848,10 +36915,10 @@ paths: description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' latest_execution_payload_header: - description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#executionpayloadheader) object from the CL Bellatrix spec.' + description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayloadheader) object from the CL Capella spec.' allOf: - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#executionpayload) object from the CL Bellatrix spec.' + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayload) object from the CL Capella spec.' required: - parent_hash - fee_recipient @@ -31928,14 +36995,46 @@ paths: additionalProperties: false required: - transactions_root + - withdrawals_root properties: transactions_root: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' + withdrawals_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + next_withdrawal_index: + type: string + example: '1' + next_withdrawal_validator_index: + type: string + example: '1' + historical_summaries: + type: array + items: + type: object + description: 'The [`HistoricalSummary`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#historicalsummary) object from the CL Capella spec.' + required: + - block_summary_root + - state_summary_root + properties: + block_summary_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_summary_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + description: 'Variable length list, maximum 16777216 items' - type: object - description: 'The [`BeaconState`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#beaconstate) object from the Eth2.0 Capella spec.' + description: 'The [`BeaconState`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconstate) object from the Eth2.0 Deneb spec.' required: - genesis_time - genesis_validators_root @@ -32308,10 +37407,10 @@ paths: description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' latest_execution_payload_header: - description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayloadheader) object from the CL Capella spec.' + description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' allOf: - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayload) object from the CL Capella spec.' + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' required: - parent_hash - fee_recipient @@ -32325,6 +37424,7 @@ paths: - timestamp - extra_data - base_fee_per_gas + - excess_blob_gas - block_hash properties: parent_hash: @@ -32379,13 +37479,15 @@ paths: base_fee_per_gas: type: string example: '1' + excess_blob_gas: + type: string + example: '1' block_hash: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - type: object - additionalProperties: false required: - transactions_root - withdrawals_root @@ -32427,7 +37529,7 @@ paths: pattern: '^0x[a-fA-F0-9]{64}$' description: 'Variable length list, maximum 16777216 items' - type: object - description: 'The [`BeaconState`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconstate) object from the Eth2.0 Deneb spec.' + description: 'The [`BeaconState`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#beaconstate) object from the CL Electra spec.' required: - genesis_time - genesis_validators_root @@ -32457,6 +37559,15 @@ paths: - next_withdrawal_index - next_withdrawal_validator_index - historical_summaries + - deposit_requests_start_index + - deposit_balance_to_consume + - exit_balance_to_consume + - earliest_exit_epoch + - consolidation_balance_to_consume + - earliest_consolidation_epoch + - pending_balance_deposits + - pending_partial_withdrawals + - pending_consolidations properties: genesis_time: type: string @@ -32921,6 +38032,83 @@ paths: example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' description: 'Variable length list, maximum 16777216 items' + deposit_requests_start_index: + type: string + example: '1' + deposit_balance_to_consume: + type: string + example: '1' + exit_balance_to_consume: + type: string + example: '1' + earliest_exit_epoch: + type: string + example: '1' + consolidation_balance_to_consume: + type: string + example: '1' + earliest_consolidation_epoch: + type: string + example: '1' + pending_balance_deposits: + type: array + items: + type: object + description: 'The [`PendingBalanceDeposit`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#pendingbalancedeposit) object from the CL Electra spec.' + required: + - index + - amount + properties: + index: + description: Index of validator in validator registry. + type: string + example: '1' + amount: + description: The value to be deposited (gwei). + type: string + example: '1' + maxItems: 134217728 + pending_partial_withdrawals: + type: array + items: + type: object + description: 'The [`PendingPartialWithdrawal`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#pendingpartialwithdrawal) object from the CL Electra spec.' + required: + - index + - amount + - withdrawable_epoch + properties: + index: + description: Index of validator in validator registry. + type: string + example: '1' + amount: + description: The value to be withdrawn (gwei). + type: string + example: '1' + withdrawable_epoch: + description: The epoch when the amount is withdrawable. + type: string + example: '1' + maxItems: 134217728 + pending_consolidations: + type: array + items: + type: object + description: 'The [`PendingConsolidation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#pendingconsolidation) object from the CL Electra spec.' + required: + - source_index + - target_index + properties: + source_index: + description: Index of validator to consolidate from. + type: string + example: '1' + target_index: + description: Index of validator to consolidate to. + type: string + example: '1' + maxItems: 262144 application/octet-stream: schema: description: SSZ serialized state bytes. Use Accept header to choose this response type @@ -34520,6 +39708,7 @@ paths: - bellatrix - capella - deneb + - electra example: phase0 data: anyOf: @@ -34541,13 +39730,1036 @@ paths: type: string example: '1' parent_root: - description: The signing merkle root of the parent `BeaconBlock`. + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body + properties: + body: + type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockbody) object from the CL spec.' + required: + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + properties: + randao_reveal: + description: The RanDAO reveal value provided by the validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + proposer_slashings: + type: array + items: + type: object + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' + required: + - signed_header_1 + - signed_header_2 + properties: + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: + type: object + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + required: + - aggregation_bits + - data + - signature + properties: + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: BLS aggregate signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + deposits: + type: array + items: + type: object + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + required: + - proof + - data + properties: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: + type: object + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + properties: + pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: Amount in Gwei. + type: string + example: '1' + signature: + description: Container self-signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Altair spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing Merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body + properties: + body: + type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#beaconblockbody) object from the CL Altair spec.' + required: + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + properties: + randao_reveal: + description: The RanDAO reveal value provided by the validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + proposer_slashings: + type: array + items: + type: object + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' + required: + - signed_header_1 + - signed_header_2 + properties: + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: + type: object + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + required: + - aggregation_bits + - data + - signature + properties: + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: BLS aggregate signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + deposits: + type: array + items: + type: object + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + required: + - proof + - data + properties: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: + type: object + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + properties: + pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: Amount in Gwei. + type: string + example: '1' + signature: + description: Container self-signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Bellatrix spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing Merkle root of the parent `BeaconBlock`. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' @@ -34557,190 +40769,339 @@ paths: - body properties: body: - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockbody) object from the CL spec.' - required: - - randao_reveal - - eth1_data - - graffiti - - proposer_slashings - - attester_slashings - - attestations - - deposits - - voluntary_exits - properties: - randao_reveal: - description: The RanDAO reveal value provided by the validator. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - eth1_data: - type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + allOf: + - type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#beaconblockbody) object from the CL Bellatrix spec.' required: - - deposit_root - - deposit_count - - block_hash + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate properties: - deposit_root: - description: Root of the deposit tree. + randao_reveal: + description: The RanDAO reveal value provided by the validator. type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. - type: string - example: '1' - block_hash: - description: Ethereum 1.x block hash. + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - graffiti: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - proposer_slashings: - type: array - items: - type: object - description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' - required: - - signed_header_1 - - signed_header_2 - properties: - signed_header_1: + proposer_slashings: + type: array + items: + type: object + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' + required: + - signed_header_1 + - signed_header_2 + properties: + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' required: - - message - - signature + - attestation_1 + - attestation_2 properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - slot - - proposer_index - - parent_root - - state_root + - index + - beacon_block_root + - source + - target properties: slot: - description: The slot to which this block corresponds. type: string example: '1' - proposer_index: - description: Index of validator in validator registry. + index: type: string example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signed_header_2: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - slot - - proposer_index - - parent_root - - state_root + - index + - beacon_block_root + - source + - target properties: slot: - description: The slot to which this block corresponds. type: string example: '1' - proposer_index: - description: Index of validator in validator registry. + index: type: string example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attester_slashings: - type: array - items: - type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' - required: - - attestation_1 - - attestation_2 - properties: - attestation_1: + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' required: - - attesting_indices + - aggregation_bits - data - signature properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' data: type: object description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' @@ -34794,238 +41155,202 @@ paths: example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + description: BLS aggregate signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestation_2: + deposits: + type: array + items: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' required: - - attesting_indices + - proof - data - - signature properties: - attesting_indices: + proof: type: array - maxItems: 2048 - description: Attesting validator indices + description: Branch in the deposit tree. items: type: string - example: '1' + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 data: type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' required: - - slot - - index - - beacon_block_root - - source - - target + - pubkey + - withdrawal_credentials + - amount + - signature properties: - slot: - type: string - example: '1' - index: + pubkey: type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestations: - type: array - items: - type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' - required: - - aggregation_bits - - data - - signature - properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: + amount: + description: Amount in Gwei. type: string example: '1' - root: + signature: + description: Container self-signature. type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' required: - epoch - - root + - validator_index properties: epoch: + description: Minimum epoch for processing exit. type: string example: '1' - root: + validator_index: + description: Index of the exiting validator. type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: BLS aggregate signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - deposits: - type: array - items: - type: object - description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' - required: - - proof - - data - properties: - proof: - type: array - description: Branch in the deposit tree. - items: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 32 - maxItems: 32 - data: - type: object - description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' - required: - - pubkey - - withdrawal_credentials - - amount - - signature - properties: - pubkey: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - withdrawal_credentials: - description: The withdrawal credentials. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - amount: - description: Amount in Gwei. - type: string - example: '1' + example: '1' signature: - description: Container self-signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - voluntary_exits: - type: array - items: - type: object - description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' - required: - - epoch - - validator_index - properties: - epoch: - description: Minimum epoch for processing exit. - type: string - example: '1' - validator_index: - description: Index of the exiting validator. - type: string - example: '1' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Altair spec.' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - type: object + required: + - execution_payload + properties: + execution_payload: + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#executionpayload) object from the CL Bellatrix spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions + properties: + transactions: + type: array + items: + type: string + format: hex + description: A transaction on the execution (Ethereum 1) network. + example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' + pattern: '^0x[a-fA-F0-9]{0,2147483648}$' + maxItems: 1048576 + - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Capella spec.' allOf: - type: object required: @@ -35059,264 +41384,340 @@ paths: - body properties: body: - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#beaconblockbody) object from the CL Altair spec.' - required: - - randao_reveal - - eth1_data - - graffiti - - proposer_slashings - - attester_slashings - - attestations - - deposits - - voluntary_exits - - sync_aggregate - properties: - randao_reveal: - description: The RanDAO reveal value provided by the validator. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - eth1_data: - type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + allOf: + - type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#beaconblockbody) object from the CL Capella spec.' required: - - deposit_root - - deposit_count - - block_hash + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + - bls_to_execution_changes properties: - deposit_root: - description: Root of the deposit tree. + randao_reveal: + description: The RanDAO reveal value provided by the validator. type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. - type: string - example: '1' - block_hash: - description: Ethereum 1.x block hash. + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - graffiti: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - proposer_slashings: - type: array - items: - type: object - description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' - required: - - signed_header_1 - - signed_header_2 - properties: - signed_header_1: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signed_header_2: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attester_slashings: - type: array - items: - type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' - required: - - attestation_1 - - attestation_2 - properties: - attestation_1: + proposer_slashings: + type: array + items: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' required: - - attesting_indices - - data - - signature + - signed_header_1 + - signed_header_2 properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' - data: + signed_header_1: type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' required: - - slot - - index - - beacon_block_root - - source - - target + - message + - signature properties: - slot: - type: string - example: '1' - index: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - - epoch - - root + - slot + - index + - beacon_block_root + - source + - target properties: - epoch: + slot: type: string example: '1' - root: + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - target: + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - - epoch - - root + - slot + - index + - beacon_block_root + - source + - target properties: - epoch: + slot: type: string example: '1' - root: + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestation_2: + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' required: - - attesting_indices + - aggregation_bits - data - signature properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' data: type: object description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' @@ -35370,402 +41771,647 @@ paths: example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + description: BLS aggregate signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestations: - type: array - items: - type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' - required: - - aggregation_bits - - data - - signature - properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - data: + deposits: + type: array + items: type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' required: - - slot - - index - - beacon_block_root - - source - - target + - proof + - data properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' required: - - epoch - - root + - pubkey + - withdrawal_credentials + - amount + - signature properties: - epoch: + pubkey: type: string - example: '1' - root: + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - target: + amount: + description: Amount in Gwei. + type: string + example: '1' + signature: + description: Container self-signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' required: - epoch - - root + - validator_index properties: epoch: + description: Minimum epoch for processing exit. type: string example: '1' - root: + validator_index: + description: Index of the exiting validator. type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: BLS aggregate signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - deposits: - type: array - items: - type: object - description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' - required: - - proof - - data - properties: - proof: - type: array - description: Branch in the deposit tree. - items: + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 32 - maxItems: 32 - data: + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + bls_to_execution_changes: + type: array + items: type: object - description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' required: - - pubkey - - withdrawal_credentials - - amount + - message - signature properties: - pubkey: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - withdrawal_credentials: - description: The withdrawal credentials. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - amount: - description: Amount in Gwei. - type: string - example: '1' + message: + type: object + description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' + required: + - validator_index + - from_bls_pubkey + - to_execution_address + properties: + validator_index: + description: Index of the validator for which credentials will be changed. + type: string + example: '1' + from_bls_pubkey: + description: Public key of existing credentials. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + to_execution_address: + description: Execution address to which the credentials will be changed. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' signature: - description: Container self-signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - voluntary_exits: - type: array - items: - type: object - description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' - required: - - epoch - - validator_index - properties: - epoch: - description: Minimum epoch for processing exit. - type: string - example: '1' - validator_index: - description: Index of the exiting validator. - type: string - example: '1' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - sync_aggregate: - type: object - description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' - required: - - sync_committee_bits - - sync_committee_signature - properties: - sync_committee_bits: - description: Aggregation bits of sync - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - sync_committee_signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Bellatrix spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing Merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body - properties: - body: - allOf: - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#beaconblockbody) object from the CL Bellatrix spec.' required: - - randao_reveal - - eth1_data - - graffiti - - proposer_slashings - - attester_slashings - - attestations - - deposits - - voluntary_exits - - sync_aggregate + - execution_payload properties: - randao_reveal: - description: The RanDAO reveal value provided by the validator. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - eth1_data: - type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + execution_payload: + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayload) object from the CL Capella spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions + - withdrawals + properties: + transactions: + type: array + items: + type: string + format: hex + description: A transaction on the execution (Ethereum 1) network. + example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' + pattern: '^0x[a-fA-F0-9]{0,2147483648}$' + maxItems: 1048576 + withdrawals: + type: array + items: + type: object + required: + - index + - validator_index + - address + - amount + properties: + index: + description: The index of the withdrawal. + type: string + example: '1' + validator_index: + description: The index of the withdrawing validator. + type: string + example: '1' + address: + description: The address to which the withdrawal is credited. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + amount: + description: The value withdrawn (gwei). + type: string + example: '1' + maxItems: 16 + - type: object + description: The required object for block production according to the Deneb CL spec. + required: + - block + - kzg_proofs + - blobs + properties: + block: + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/beacon-chain.md#beaconblock) object from the CL Deneb spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing Merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body + properties: + body: + allOf: + - type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec.' required: - - deposit_root - - deposit_count - - block_hash + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + - bls_to_execution_changes + - blob_kzg_commitments properties: - deposit_root: - description: Root of the deposit tree. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. - type: string - example: '1' - block_hash: - description: Ethereum 1.x block hash. + randao_reveal: + allOf: + - type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - description: The RANDAO reveal value provided by the validator. + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - graffiti: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - proposer_slashings: - type: array - items: - type: object - description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' - required: - - signed_header_1 - - signed_header_2 - properties: - signed_header_1: + proposer_slashings: + type: array + items: type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' required: - - message - - signature + - signed_header_1 + - signed_header_2 properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - slot - - proposer_index - - parent_root - - state_root + - index + - beacon_block_root + - source + - target properties: slot: - description: The slot to which this block corresponds. type: string example: '1' - proposer_index: - description: Index of validator in validator registry. + index: type: string example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signed_header_2: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - slot - - proposer_index - - parent_root - - state_root + - index + - beacon_block_root + - source + - target properties: slot: - description: The slot to which this block corresponds. type: string example: '1' - proposer_index: - description: Index of validator in validator registry. + index: type: string example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attester_slashings: - type: array - items: - type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' - required: - - attestation_1 - - attestation_2 - properties: - attestation_1: + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' required: - - attesting_indices + - aggregation_bits - data - signature - properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' + properties: + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' data: type: object description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' @@ -35819,569 +42465,678 @@ paths: example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + description: BLS aggregate signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestation_2: + deposits: + type: array + items: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' required: - - attesting_indices + - proof - data - - signature properties: - attesting_indices: + proof: type: array - maxItems: 2048 - description: Attesting validator indices + description: Branch in the deposit tree. items: type: string - example: '1' + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 data: type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' required: - - slot - - index - - beacon_block_root - - source - - target + - pubkey + - withdrawal_credentials + - amount + - signature properties: - slot: - type: string - example: '1' - index: + pubkey: type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestations: - type: array - items: - type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' - required: - - aggregation_bits - - data - - signature - properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: + amount: + description: Amount in Gwei. type: string example: '1' - root: + signature: + description: Container self-signature. type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' required: - epoch - - root + - validator_index properties: epoch: + description: Minimum epoch for processing exit. type: string example: '1' - root: + validator_index: + description: Index of the exiting validator. type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: BLS aggregate signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - deposits: - type: array - items: - type: object - description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' - required: - - proof - - data - properties: - proof: - type: array - description: Branch in the deposit tree. - items: + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 32 - maxItems: 32 - data: + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + bls_to_execution_changes: + type: array + items: type: object - description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' required: - - pubkey - - withdrawal_credentials - - amount + - message - signature properties: - pubkey: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - withdrawal_credentials: - description: The withdrawal credentials. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - amount: - description: Amount in Gwei. - type: string - example: '1' + message: + type: object + description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' + required: + - validator_index + - from_bls_pubkey + - to_execution_address + properties: + validator_index: + description: Index of the validator for which credentials will be changed. + type: string + example: '1' + from_bls_pubkey: + description: Public key of existing credentials. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + to_execution_address: + description: Execution address to which the credentials will be changed. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' signature: - description: Container self-signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - voluntary_exits: - type: array - items: - type: object - description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' - required: - - epoch - - validator_index - properties: - epoch: - description: Minimum epoch for processing exit. - type: string - example: '1' - validator_index: - description: Index of the exiting validator. - type: string - example: '1' - signature: + blob_kzg_commitments: + type: array + items: type: string format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - sync_aggregate: - type: object - description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + - type: object required: - - sync_committee_bits - - sync_committee_signature + - execution_payload properties: - sync_committee_bits: - description: Aggregation bits of sync - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - sync_committee_signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - type: object - required: - - execution_payload - properties: - execution_payload: - allOf: - - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#executionpayload) object from the CL Bellatrix spec.' + execution_payload: + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - excess_blob_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + excess_blob_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions + - withdrawals + properties: + transactions: + type: array + items: + type: string + format: hex + description: A transaction on the execution (Ethereum 1) network. + example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' + pattern: '^0x[a-fA-F0-9]{0,2147483648}$' + maxItems: 1048576 + withdrawals: + type: array + items: + type: object + required: + - index + - validator_index + - address + - amount + properties: + index: + description: The index of the withdrawal. + type: string + example: '1' + validator_index: + description: The index of the withdrawing validator. + type: string + example: '1' + address: + description: The address to which the withdrawal is credited. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + amount: + description: The value withdrawn (gwei). + type: string + example: '1' + maxItems: 16 + kzg_proofs: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Used for verifying that the `KZGCommitment` for a given `Blob` is correct. + minItems: 0 + maxItems: 4096 + blobs: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{262144}$' + description: A blob is `FIELD_ELEMENTS_PER_BLOB * size_of(BLSFieldElement) = 4096 * 32 = 131072` bytes (`DATA`) representing a Blob as defined in Deneb + minItems: 0 + maxItems: 4096 + - type: object + description: The required object for block production according to the Electra CL spec. + required: + - block + - kzg_proofs + - blobs + properties: + block: + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/phase0/beacon-chain.md#beaconblock) object from the CL Electra spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing Merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body + properties: + body: + allOf: + - type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#beaconblockbody) object from the CL Electra spec.' + required: + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + - bls_to_execution_changes + - blob_kzg_commitments + properties: + randao_reveal: + allOf: + - type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - description: The RANDAO reveal value provided by the validator. + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' required: - - parent_hash - - fee_recipient - - state_root - - receipts_root - - logs_bloom - - prev_randao - - block_number - - gas_limit - - gas_used - - timestamp - - extra_data - - base_fee_per_gas + - deposit_root + - deposit_count - block_hash properties: - parent_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - fee_recipient: - type: string - format: hex - description: An address on the execution (Ethereum 1) network. - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - state_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - receipts_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - logs_bloom: - type: string - format: hex - example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' - pattern: '^0x[a-fA-F0-9]{512}$' - prev_randao: + deposit_root: + description: Root of the deposit tree. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - block_number: - type: string - example: '1' - gas_limit: - type: string - example: '1' - gas_used: - type: string - example: '1' - timestamp: - type: string - example: '1' - extra_data: - type: string - format: hex - description: Extra data on the execution (Ethereum 1) network. - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{0,64}$' - base_fee_per_gas: + deposit_count: + description: Total number of deposits. type: string example: '1' block_hash: + description: Ethereum 1.x block hash. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - transactions - properties: - transactions: - type: array - items: - type: string - format: hex - description: A transaction on the execution (Ethereum 1) network. - example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' - pattern: '^0x[a-fA-F0-9]{0,2147483648}$' - maxItems: 1048576 - - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Capella spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing Merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body - properties: - body: - allOf: - - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#beaconblockbody) object from the CL Capella spec.' - required: - - randao_reveal - - eth1_data - - graffiti - - proposer_slashings - - attester_slashings - - attestations - - deposits - - voluntary_exits - - sync_aggregate - - bls_to_execution_changes - properties: - randao_reveal: - description: The RanDAO reveal value provided by the validator. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - eth1_data: - type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' - required: - - deposit_root - - deposit_count - - block_hash - properties: - deposit_root: - description: Root of the deposit tree. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. - type: string - example: '1' - block_hash: - description: Ethereum 1.x block hash. + graffiti: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - graffiti: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - proposer_slashings: - type: array - items: - type: object - description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' - required: - - signed_header_1 - - signed_header_2 - properties: - signed_header_1: + proposer_slashings: + type: array + items: type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' required: - - message - - signature + - signed_header_1 + - signed_header_2 properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 131072 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - slot - - proposer_index - - parent_root - - state_root + - index + - beacon_block_root + - source + - target properties: slot: - description: The slot to which this block corresponds. type: string example: '1' - proposer_index: - description: Index of validator in validator registry. + index: type: string example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signed_header_2: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 131072 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - slot - - proposer_index - - parent_root - - state_root + - index + - beacon_block_root + - source + - target properties: slot: - description: The slot to which this block corresponds. type: string example: '1' - proposer_index: - description: Index of validator in validator registry. + index: type: string example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attester_slashings: - type: array - items: - type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' - required: - - attestation_1 - - attestation_2 - properties: - attestation_1: + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attestation) object from the CL spec.' required: - - attesting_indices + - aggregation_bits - data - signature + - committee_bits properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' data: type: object description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' @@ -36435,1407 +43190,1699 @@ paths: example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + description: BLS aggregate signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestation_2: + committee_bits: + description: Committee bits. + example: '0x0000000000000001' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{2,}$' + deposits: + type: array + items: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' required: - - attesting_indices + - proof - data - - signature properties: - attesting_indices: + proof: type: array - maxItems: 2048 - description: Attesting validator indices + description: Branch in the deposit tree. items: type: string - example: '1' + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 data: type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' required: - - slot - - index - - beacon_block_root - - source - - target + - pubkey + - withdrawal_credentials + - amount + - signature properties: - slot: - type: string - example: '1' - index: + pubkey: type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestations: - type: array - items: - type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' - required: - - aggregation_bits - - data - - signature - properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: + amount: + description: Amount in Gwei. type: string example: '1' - root: + signature: + description: Container self-signature. type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' required: - epoch - - root + - validator_index properties: epoch: + description: Minimum epoch for processing exit. type: string example: '1' - root: + validator_index: + description: Index of the exiting validator. type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: BLS aggregate signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - deposits: - type: array - items: - type: object - description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' - required: - - proof - - data - properties: - proof: - type: array - description: Branch in the deposit tree. - items: + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 32 - maxItems: 32 - data: + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + bls_to_execution_changes: + type: array + items: type: object - description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' required: - - pubkey - - withdrawal_credentials - - amount + - message - signature properties: - pubkey: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - withdrawal_credentials: - description: The withdrawal credentials. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - amount: - description: Amount in Gwei. - type: string - example: '1' + message: + type: object + description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' + required: + - validator_index + - from_bls_pubkey + - to_execution_address + properties: + validator_index: + description: Index of the validator for which credentials will be changed. + type: string + example: '1' + from_bls_pubkey: + description: Public key of existing credentials. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + to_execution_address: + description: Execution address to which the credentials will be changed. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' signature: - description: Container self-signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - voluntary_exits: - type: array - items: - type: object - description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' - required: - - epoch - - validator_index - properties: - epoch: - description: Minimum epoch for processing exit. - type: string - example: '1' - validator_index: - description: Index of the exiting validator. - type: string - example: '1' - signature: + blob_kzg_commitments: + type: array + items: type: string format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - sync_aggregate: - type: object - description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + - type: object required: - - sync_committee_bits - - sync_committee_signature + - execution_payload + - execution_requests properties: - sync_committee_bits: - description: Aggregation bits of sync - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - sync_committee_signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - bls_to_execution_changes: - type: array - items: - type: object - description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' - required: - - validator_index - - from_bls_pubkey - - to_execution_address - properties: - validator_index: - description: Index of the validator for which credentials will be changed. - type: string - example: '1' - from_bls_pubkey: - description: Public key of existing credentials. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - to_execution_address: - description: Execution address to which the credentials will be changed. - type: string - format: hex - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - type: object - required: - - execution_payload - properties: - execution_payload: - allOf: - - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayload) object from the CL Capella spec.' - required: - - parent_hash - - fee_recipient - - state_root - - receipts_root - - logs_bloom - - prev_randao - - block_number - - gas_limit - - gas_used - - timestamp - - extra_data - - base_fee_per_gas - - block_hash - properties: - parent_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - fee_recipient: - type: string - format: hex - description: An address on the execution (Ethereum 1) network. - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - state_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - receipts_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - logs_bloom: - type: string - format: hex - example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' - pattern: '^0x[a-fA-F0-9]{512}$' - prev_randao: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - block_number: - type: string - example: '1' - gas_limit: - type: string - example: '1' - gas_used: - type: string - example: '1' - timestamp: - type: string - example: '1' - extra_data: - type: string - format: hex - description: Extra data on the execution (Ethereum 1) network. - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{0,64}$' - base_fee_per_gas: - type: string - example: '1' - block_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object + execution_payload: + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - excess_blob_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + excess_blob_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions + - withdrawals + properties: + transactions: + type: array + items: + type: string + format: hex + description: A transaction on the execution (Ethereum 1) network. + example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' + pattern: '^0x[a-fA-F0-9]{0,2147483648}$' + maxItems: 1048576 + withdrawals: + type: array + items: + type: object + required: + - index + - validator_index + - address + - amount + properties: + index: + description: The index of the withdrawal. + type: string + example: '1' + validator_index: + description: The index of the withdrawing validator. + type: string + example: '1' + address: + description: The address to which the withdrawal is credited. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + amount: + description: The value withdrawn (gwei). + type: string + example: '1' + maxItems: 16 + execution_requests: + type: object + description: 'The [`ExecutionRequests`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.6/specs/electra/beacon-chain.md#executionrequests) object from the CL Electra spec.' required: - - transactions + - deposits - withdrawals + - consolidations properties: - transactions: + deposits: type: array items: - type: string - format: hex - description: A transaction on the execution (Ethereum 1) network. - example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' - pattern: '^0x[a-fA-F0-9]{0,2147483648}$' - maxItems: 1048576 + type: object + description: 'The [`DepositRequest`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#depositrequest) object from the CL Electra spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + - index + properties: + pubkey: + description: BLS public key of validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: The value to be deposited (gwei). + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + index: + description: The index of the deposit request. + type: string + example: '1' + maxItems: 8192 withdrawals: type: array items: type: object + description: 'The [`WithdrawalRequest`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#withdrawalrequest) object from the CL Electra spec.' required: - - index - - validator_index - - address + - source_address + - validator_pubkey - amount properties: - index: - description: The index of the withdrawal. + source_address: + description: Execution address which sent the request. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + validator_pubkey: + description: BLS public key of validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + amount: + description: The value to be withdrawn (gwei). + type: string + example: '1' + maxItems: 16 + consolidations: + type: array + items: + type: object + description: 'The [`ConsolidationRequest`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#consolidationrequest) object from the CL Electra spec.' + required: + - source_address + - source_pubkey + - target_pubkey + properties: + source_address: + description: Execution address which sent the request. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + source_pubkey: + description: BLS public key of validator to consolidate from. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + target_pubkey: + description: BLS public key of validator to consolidate to. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + maxItems: 1 + kzg_proofs: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Used for verifying that the `KZGCommitment` for a given `Blob` is correct. + minItems: 0 + maxItems: 4096 + blobs: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{262144}$' + description: A blob is `FIELD_ELEMENTS_PER_BLOB * size_of(BLSFieldElement) = 4096 * 32 = 131072` bytes (`DATA`) representing a Blob as defined in Deneb + minItems: 0 + maxItems: 4096 + application/octet-stream: + schema: + description: 'SSZ serialized block bytes. Use Accept header to choose this response type, version string is sent in header `Eth-Consensus-Version`.' + '400': + description: Invalid block production request + content: + application/json: + schema: + type: object + required: + - code + - message + properties: + code: + description: Either specific error code in case of invalid request or http status code + type: number + example: 404 + message: + description: Message describing error + type: string + stacktraces: + description: 'Optional stacktraces, sent when node is in debug mode' + type: array + items: + type: string + examples: + InvalidRequest: + value: + code: 400 + message: Invalid request to produce a block + '406': + description: Accepted media type is not supported. + content: + application/json: + schema: + type: object + required: + - code + - message + properties: + code: + description: 'The media type in "Accept" header is unsupported, and the request has been rejected. This occurs when the server cannot produce a response in the format accepted by the client.' + type: number + example: 406 + message: + description: Message describing error + type: string + stacktraces: + description: 'Optional stacktraces, sent when node is in debug mode' + type: array + items: + type: string + example: + code: 406 + message: Accepted media type not supported + '500': + description: Beacon node internal error. + content: + application/json: + schema: + type: object + required: + - code + - message + properties: + code: + description: Either specific error code in case of invalid request or http status code + type: number + example: 404 + message: + description: Message describing error + type: string + stacktraces: + description: 'Optional stacktraces, sent when node is in debug mode' + type: array + items: + type: string + example: + code: 500 + message: Internal server error + '503': + description: 'Beacon node is currently syncing, try again later.' + content: + application/json: + schema: + type: object + required: + - code + - message + properties: + code: + description: Either specific error code in case of invalid request or http status code + type: number + example: 404 + message: + description: Message describing error + type: string + stacktraces: + description: 'Optional stacktraces, sent when node is in debug mode' + type: array + items: + type: string + example: + code: 503 + message: Beacon node is currently syncing and not serving request on that endpoint + '/eth/v3/validator/blocks/{slot}': + get: + tags: + - ValidatorRequiredApi + - Validator + operationId: produceBlockV3 + summary: 'Produce a new block, without signature.' + description: | + Requests a beacon node to produce a valid block, which can then be signed by a validator. The + returned block may be blinded or unblinded, depending on the current state of the network as + decided by the execution and beacon nodes. + + The beacon node must return an unblinded block if it obtains the execution payload from its + paired execution node. It must only return a blinded block if it obtains the execution payload + header from an MEV relay. + + Metadata in the response indicates the type of block produced, and the supported types of block + will be added to as forks progress. + parameters: + - name: slot + in: path + required: true + description: The slot for which the block should be proposed. + schema: + type: string + example: '1' + - name: randao_reveal + in: query + required: true + description: The validator's randao reveal value. + schema: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - name: graffiti + in: query + required: false + description: Arbitrary data validator wants to include in block. + schema: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - name: skip_randao_verification + in: query + required: false + description: | + Skip verification of the `randao_reveal` value. If this flag is set then the + `randao_reveal` must be set to the point at infinity (`0xc0..00`). + schema: + type: string + minLength: 0 + maxLength: 0 + allowEmptyValue: true + - name: builder_boost_factor + in: query + required: false + description: | + Percentage multiplier to apply to the builder's payload value when choosing between a + builder payload header and payload from the paired execution node. This parameter is only + relevant if the beacon node is connected to a builder, deems it safe to produce a builder + payload, and receives valid responses from both the builder endpoint _and_ the paired + execution node. When these preconditions are met, the server MUST act as follows: + + * if `exec_node_payload_value >= builder_boost_factor * (builder_payload_value // 100)`, + then return a full (unblinded) block containing the execution node payload. + * otherwise, return a blinded block containing the builder payload header. + + Servers must support the following values of the boost factor which encode common + preferences: + + * `builder_boost_factor=0`: prefer the execution node payload unless an error makes it + unviable. + * `builder_boost_factor=100`: default profit maximization mode; choose whichever + payload pays more. + * `builder_boost_factor=2**64 - 1`: prefer the builder payload unless an error or + beacon node health check makes it unviable. + + Servers should use saturating arithmetic or another technique to ensure that large values of + the `builder_boost_factor` do not trigger overflows or errors. If this parameter is + provided and the beacon node is not configured with a builder then the beacon node MUST + respond with a full block, which the caller can choose to reject if it wishes. If this + parameter is **not** provided then it should be treated as having the default value of 100. + If the value is provided but out of range for a 64-bit unsigned integer, then an error + response with status code 400 MUST be returned. + schema: + type: string + example: '1' + responses: + '200': + description: Success response + headers: + Eth-Consensus-Version: + description: | + The active consensus version to which the data belongs. Required in response so client can deserialize returned json or ssz data + more effectively. + required: true + schema: + type: string + enum: + - phase0 + - altair + - bellatrix + - capella + - deneb + - electra + example: phase0 + Eth-Execution-Payload-Blinded: + description: Required in response so client can deserialize returned json or ssz data to the correct object. + required: true + schema: + type: boolean + Eth-Execution-Payload-Value: + description: | + Execution payload value in Wei. Required in response so client can determine relative value + of execution payloads. + required: true + schema: + type: string + example: '1' + Eth-Consensus-Block-Value: + description: | + Consensus rewards paid to the proposer for this block, in Wei. Required in response so + client can determine relative value of consensus blocks. + required: true + schema: + type: string + example: '1' + content: + application/json: + schema: + title: ProduceBlockV3Response + type: object + required: + - version + - execution_payload_blinded + - execution_payload_value + - consensus_block_value + - data + properties: + version: + type: string + enum: + - phase0 + - altair + - bellatrix + - capella + - deneb + - electra + example: phase0 + execution_payload_blinded: + type: boolean + example: false + execution_payload_value: + type: string + example: '12345' + consensus_block_value: + type: string + example: '12345' + data: + anyOf: + - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body + properties: + body: + type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockbody) object from the CL spec.' + required: + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + properties: + randao_reveal: + description: The RanDAO reveal value provided by the validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + proposer_slashings: + type: array + items: + type: object + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' + required: + - signed_header_1 + - signed_header_2 + properties: + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. type: string example: '1' - validator_index: - description: The index of the withdrawing validator. + proposer_index: + description: Index of validator in validator registry. type: string example: '1' - address: - description: The address to which the withdrawal is credited. + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. type: string format: hex - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - amount: - description: The value withdrawn (gwei). + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. type: string - example: '1' - maxItems: 16 - - type: object - description: The required object for block production according to the Deneb CL spec. - required: - - block - - kzg_proofs - - blobs - properties: - block: - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblock) object from the CL Deneb spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing Merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body - properties: - body: - allOf: - - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec.' - required: - - randao_reveal - - eth1_data - - graffiti - - proposer_slashings - - attester_slashings - - attestations - - deposits - - voluntary_exits - - sync_aggregate - - bls_to_execution_changes - - blob_kzg_commitments - properties: - randao_reveal: - allOf: - - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - description: The RANDAO reveal value provided by the validator. - eth1_data: - type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' - required: - - deposit_root - - deposit_count - - block_hash - properties: - deposit_root: - description: Root of the deposit tree. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. - type: string - example: '1' - block_hash: - description: Ethereum 1.x block hash. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - graffiti: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - proposer_slashings: - type: array - items: - type: object - description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' - required: - - signed_header_1 - - signed_header_2 - properties: - signed_header_1: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object required: - - message - - signature + - body_root properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` type: string format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signed_header_2: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object required: - - message - - signature + - slot + - proposer_index + - parent_root + - state_root properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. type: string format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attester_slashings: - type: array - items: + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - - attestation_1 - - attestation_2 + - slot + - index + - beacon_block_root + - source + - target properties: - attestation_1: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' required: - - attesting_indices - - data - - signature + - epoch + - root properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + epoch: + type: string + example: '1' + root: type: string format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestation_2: + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' required: - - attesting_indices - - data - - signature + - epoch + - root properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + epoch: + type: string + example: '1' + root: type: string format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestations: - type: array - items: + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - - aggregation_bits - - data - - signature + - slot + - index + - beacon_block_root + - source + - target properties: - aggregation_bits: - description: Attester aggregation bits. + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. type: string format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - data: + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' required: - - slot - - index - - beacon_block_root - - source - - target + - epoch + - root properties: - slot: + epoch: type: string example: '1' - index: + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: type: string example: '1' - beacon_block_root: - description: LMD GHOST vote. + root: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: BLS aggregate signature. + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: + type: object + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + required: + - aggregation_bits + - data + - signature + properties: + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: type: string format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - deposits: - type: array - items: + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: type: object - description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' required: - - proof - - data + - epoch + - root properties: - proof: - type: array - description: Branch in the deposit tree. - items: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 32 - maxItems: 32 - data: - type: object - description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: BLS aggregate signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + deposits: + type: array + items: + type: object + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + required: + - proof + - data + properties: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: + type: object + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + properties: + pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: Amount in Gwei. + type: string + example: '1' + signature: + description: Container self-signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Altair spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing Merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body + properties: + body: + type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#beaconblockbody) object from the CL Altair spec.' + required: + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + properties: + randao_reveal: + description: The RanDAO reveal value provided by the validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + proposer_slashings: + type: array + items: + type: object + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' + required: + - signed_header_1 + - signed_header_2 + properties: + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object required: - - pubkey - - withdrawal_credentials - - amount - - signature + - slot + - proposer_index + - parent_root + - state_root properties: - pubkey: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. type: string format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - withdrawal_credentials: - description: The withdrawal credentials. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - amount: - description: Amount in Gwei. + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. type: string example: '1' - signature: - description: Container self-signature. + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. type: string format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - voluntary_exits: - type: array - items: + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: type: object - description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - - message - - signature + - slot + - index + - beacon_block_root + - source + - target properties: - message: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: type: object - description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' required: - epoch - - validator_index + - root properties: epoch: - description: Minimum epoch for processing exit. type: string example: '1' - validator_index: - description: Index of the exiting validator. + root: type: string - example: '1' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - sync_aggregate: - type: object - description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' - required: - - sync_committee_bits - - sync_committee_signature - properties: - sync_committee_bits: - description: Aggregation bits of sync - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - sync_committee_signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - bls_to_execution_changes: - type: array - items: - type: object - description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' - required: - - message - - signature - properties: - message: + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: type: object - description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' required: - - validator_index - - from_bls_pubkey - - to_execution_address + - epoch + - root properties: - validator_index: - description: Index of the validator for which credentials will be changed. + epoch: type: string example: '1' - from_bls_pubkey: - description: Public key of existing credentials. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - to_execution_address: - description: Execution address to which the credentials will be changed. + root: type: string format: hex - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - blob_kzg_commitments: - type: array - items: + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' type: string format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - - type: object - required: - - execution_payload - properties: - execution_payload: - allOf: - - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' - required: - - parent_hash - - fee_recipient - - state_root - - receipts_root - - logs_bloom - - prev_randao - - block_number - - gas_limit - - gas_used - - timestamp - - extra_data - - base_fee_per_gas - - excess_blob_gas - - block_hash - properties: - parent_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - fee_recipient: - type: string - format: hex - description: An address on the execution (Ethereum 1) network. - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - state_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - receipts_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - logs_bloom: - type: string - format: hex - example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' - pattern: '^0x[a-fA-F0-9]{512}$' - prev_randao: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - block_number: - type: string - example: '1' - gas_limit: - type: string - example: '1' - gas_used: - type: string - example: '1' - timestamp: - type: string - example: '1' - extra_data: - type: string - format: hex - description: Extra data on the execution (Ethereum 1) network. - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{0,64}$' - base_fee_per_gas: - type: string - example: '1' - excess_blob_gas: - type: string - example: '1' - block_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - transactions - - withdrawals - properties: - transactions: - type: array - items: - type: string - format: hex - description: A transaction on the execution (Ethereum 1) network. - example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' - pattern: '^0x[a-fA-F0-9]{0,2147483648}$' - maxItems: 1048576 - withdrawals: - type: array - items: - type: object - required: - - index - - validator_index - - address - - amount - properties: - index: - description: The index of the withdrawal. - type: string - example: '1' - validator_index: - description: The index of the withdrawing validator. - type: string - example: '1' - address: - description: The address to which the withdrawal is credited. - type: string - format: hex - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - amount: - description: The value withdrawn (gwei). - type: string - example: '1' - maxItems: 16 - kzg_proofs: - type: array - items: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: A G1 curve point. Used for verifying that the `KZGCommitment` for a given `Blob` is correct. - minItems: 0 - maxItems: 4096 - blobs: - type: array - items: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{262144}$' - description: A blob is `FIELD_ELEMENTS_PER_BLOB * size_of(BLSFieldElement) = 4096 * 32 = 131072` bytes (`DATA`) representing a Blob as defined in Deneb - minItems: 0 - maxItems: 4096 - application/octet-stream: - schema: - description: 'SSZ serialized block bytes. Use Accept header to choose this response type, version string is sent in header `Eth-Consensus-Version`.' - '400': - description: Invalid block production request - content: - application/json: - schema: - type: object - required: - - code - - message - properties: - code: - description: Either specific error code in case of invalid request or http status code - type: number - example: 404 - message: - description: Message describing error - type: string - stacktraces: - description: 'Optional stacktraces, sent when node is in debug mode' - type: array - items: - type: string - examples: - InvalidRequest: - value: - code: 400 - message: Invalid request to produce a block - '406': - description: Accepted media type is not supported. - content: - application/json: - schema: - type: object - required: - - code - - message - properties: - code: - description: 'The media type in "Accept" header is unsupported, and the request has been rejected. This occurs when the server cannot produce a response in the format accepted by the client.' - type: number - example: 406 - message: - description: Message describing error - type: string - stacktraces: - description: 'Optional stacktraces, sent when node is in debug mode' - type: array - items: - type: string - example: - code: 406 - message: Accepted media type not supported - '500': - description: Beacon node internal error. - content: - application/json: - schema: - type: object - required: - - code - - message - properties: - code: - description: Either specific error code in case of invalid request or http status code - type: number - example: 404 - message: - description: Message describing error - type: string - stacktraces: - description: 'Optional stacktraces, sent when node is in debug mode' - type: array - items: - type: string - example: - code: 500 - message: Internal server error - '503': - description: 'Beacon node is currently syncing, try again later.' - content: - application/json: - schema: - type: object - required: - - code - - message - properties: - code: - description: Either specific error code in case of invalid request or http status code - type: number - example: 404 - message: - description: Message describing error - type: string - stacktraces: - description: 'Optional stacktraces, sent when node is in debug mode' - type: array - items: - type: string - example: - code: 503 - message: Beacon node is currently syncing and not serving request on that endpoint - '/eth/v3/validator/blocks/{slot}': - get: - tags: - - ValidatorRequiredApi - - Validator - operationId: produceBlockV3 - summary: 'Produce a new block, without signature.' - description: | - Requests a beacon node to produce a valid block, which can then be signed by a validator. The - returned block may be blinded or unblinded, depending on the current state of the network as - decided by the execution and beacon nodes. - - The beacon node must return an unblinded block if it obtains the execution payload from its - paired execution node. It must only return a blinded block if it obtains the execution payload - header from an MEV relay. - - Metadata in the response indicates the type of block produced, and the supported types of block - will be added to as forks progress. - parameters: - - name: slot - in: path - required: true - description: The slot for which the block should be proposed. - schema: - type: string - example: '1' - - name: randao_reveal - in: query - required: true - description: The validator's randao reveal value. - schema: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - name: graffiti - in: query - required: false - description: Arbitrary data validator wants to include in block. - schema: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - name: skip_randao_verification - in: query - required: false - description: | - Skip verification of the `randao_reveal` value. If this flag is set then the - `randao_reveal` must be set to the point at infinity (`0xc0..00`). - schema: - type: string - minLength: 0 - maxLength: 0 - allowEmptyValue: true - - name: builder_boost_factor - in: query - required: false - description: | - Percentage multiplier to apply to the builder's payload value when choosing between a - builder payload header and payload from the paired execution node. This parameter is only - relevant if the beacon node is connected to a builder, deems it safe to produce a builder - payload, and receives valid responses from both the builder endpoint _and_ the paired - execution node. When these preconditions are met, the server MUST act as follows: - - * if `exec_node_payload_value >= builder_boost_factor * (builder_payload_value // 100)`, - then return a full (unblinded) block containing the execution node payload. - * otherwise, return a blinded block containing the builder payload header. - - Servers must support the following values of the boost factor which encode common - preferences: - - * `builder_boost_factor=0`: prefer the execution node payload unless an error makes it - unviable. - * `builder_boost_factor=100`: default profit maximization mode; choose whichever - payload pays more. - * `builder_boost_factor=2**64 - 1`: prefer the builder payload unless an error or - beacon node health check makes it unviable. - - Servers should use saturating arithmetic or another technique to ensure that large values of - the `builder_boost_factor` do not trigger overflows or errors. If this parameter is - provided and the beacon node is not configured with a builder then the beacon node MUST - respond with a full block, which the caller can choose to reject if it wishes. If this - parameter is **not** provided then it should be treated as having the default value of 100. - If the value is provided but out of range for a 64-bit unsigned integer, then an error - response with status code 400 MUST be returned. - schema: - type: string - example: '1' - responses: - '200': - description: Success response - headers: - Eth-Consensus-Version: - description: | - The active consensus version to which the data belongs. Required in response so client can deserialize returned json or ssz data - more effectively. - required: true - schema: - type: string - enum: - - phase0 - - altair - - bellatrix - - capella - - deneb - - electra - example: phase0 - Eth-Execution-Payload-Blinded: - description: Required in response so client can deserialize returned json or ssz data to the correct object. - required: true - schema: - type: boolean - Eth-Execution-Payload-Value: - description: | - Execution payload value in Wei. Required in response so client can determine relative value - of execution payloads. - required: true - schema: - type: string - example: '1' - Eth-Consensus-Block-Value: - description: | - Consensus rewards paid to the proposer for this block, in Wei. Required in response so - client can determine relative value of consensus blocks. - required: true - schema: - type: string - example: '1' - content: - application/json: - schema: - title: ProduceBlockV3Response - type: object - required: - - version - - execution_payload_blinded - - execution_payload_value - - consensus_block_value - - data - properties: - version: - type: string - enum: - - phase0 - - altair - - bellatrix - - capella - - deneb - example: phase0 - execution_payload_blinded: - type: boolean - example: false - execution_payload_value: - type: string - example: '12345' - consensus_block_value: - type: string - example: '12345' - data: - anyOf: - - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL spec.' + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: + type: object + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + required: + - aggregation_bits + - data + - signature + properties: + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: BLS aggregate signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + deposits: + type: array + items: + type: object + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + required: + - proof + - data + properties: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: + type: object + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + properties: + pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: Amount in Gwei. + type: string + example: '1' + signature: + description: Container self-signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Bellatrix spec.' allOf: - type: object required: @@ -37853,13 +44900,13 @@ paths: type: string example: '1' parent_root: - description: The signing merkle root of the parent `BeaconBlock`. + description: The signing Merkle root of the parent `BeaconBlock`. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' @@ -37869,190 +44916,339 @@ paths: - body properties: body: - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockbody) object from the CL spec.' - required: - - randao_reveal - - eth1_data - - graffiti - - proposer_slashings - - attester_slashings - - attestations - - deposits - - voluntary_exits - properties: - randao_reveal: - description: The RanDAO reveal value provided by the validator. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - eth1_data: - type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + allOf: + - type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#beaconblockbody) object from the CL Bellatrix spec.' required: - - deposit_root - - deposit_count - - block_hash + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate properties: - deposit_root: - description: Root of the deposit tree. + randao_reveal: + description: The RanDAO reveal value provided by the validator. type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. - type: string - example: '1' - block_hash: - description: Ethereum 1.x block hash. + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - graffiti: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - proposer_slashings: - type: array - items: - type: object - description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' - required: - - signed_header_1 - - signed_header_2 - properties: - signed_header_1: + proposer_slashings: + type: array + items: type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' required: - - message - - signature + - signed_header_1 + - signed_header_2 properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signed_header_2: + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' required: - - message - - signature + - attestation_1 + - attestation_2 properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - slot - - proposer_index - - parent_root - - state_root + - index + - beacon_block_root + - source + - target properties: slot: - description: The slot to which this block corresponds. type: string example: '1' - proposer_index: - description: Index of validator in validator registry. + index: type: string example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - - type: object + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - - body_root + - slot + - index + - beacon_block_root + - source + - target properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attester_slashings: - type: array - items: - type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' - required: - - attestation_1 - - attestation_2 - properties: - attestation_1: + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' required: - - attesting_indices + - aggregation_bits - data - signature properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' data: type: object description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' @@ -38106,238 +45302,202 @@ paths: example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + description: BLS aggregate signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestation_2: + deposits: + type: array + items: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' required: - - attesting_indices + - proof - data - - signature properties: - attesting_indices: + proof: type: array - maxItems: 2048 - description: Attesting validator indices + description: Branch in the deposit tree. items: type: string - example: '1' + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 data: type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' required: - - slot - - index - - beacon_block_root - - source - - target + - pubkey + - withdrawal_credentials + - amount + - signature properties: - slot: - type: string - example: '1' - index: + pubkey: type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestations: - type: array - items: - type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' - required: - - aggregation_bits - - data - - signature - properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: + amount: + description: Amount in Gwei. type: string example: '1' - root: + signature: + description: Container self-signature. type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' required: - epoch - - root + - validator_index properties: epoch: + description: Minimum epoch for processing exit. type: string example: '1' - root: + validator_index: + description: Index of the exiting validator. type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: BLS aggregate signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - deposits: - type: array - items: - type: object - description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' - required: - - proof - - data - properties: - proof: - type: array - description: Branch in the deposit tree. - items: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 32 - maxItems: 32 - data: - type: object - description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' - required: - - pubkey - - withdrawal_credentials - - amount - - signature - properties: - pubkey: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - withdrawal_credentials: - description: The withdrawal credentials. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - amount: - description: Amount in Gwei. - type: string - example: '1' + example: '1' signature: - description: Container self-signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - voluntary_exits: - type: array - items: - type: object - description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' - required: - - epoch - - validator_index - properties: - epoch: - description: Minimum epoch for processing exit. - type: string - example: '1' - validator_index: - description: Index of the exiting validator. - type: string - example: '1' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Altair spec.' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - type: object + required: + - execution_payload + properties: + execution_payload: + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#executionpayload) object from the CL Bellatrix spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions + properties: + transactions: + type: array + items: + type: string + format: hex + description: A transaction on the execution (Ethereum 1) network. + example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' + pattern: '^0x[a-fA-F0-9]{0,2147483648}$' + maxItems: 1048576 + - description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Bellatrix spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' allOf: - type: object required: @@ -38371,264 +45531,340 @@ paths: - body properties: body: - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#beaconblockbody) object from the CL Altair spec.' - required: - - randao_reveal - - eth1_data - - graffiti - - proposer_slashings - - attester_slashings - - attestations - - deposits - - voluntary_exits - - sync_aggregate - properties: - randao_reveal: - description: The RanDAO reveal value provided by the validator. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - eth1_data: - type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#beaconblockbody) object from the CL Bellatrix spec, which contains a transactions root rather than a full transactions list.' + allOf: + - type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#beaconblockbody) object from the CL Bellatrix spec.' required: - - deposit_root - - deposit_count - - block_hash + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate properties: - deposit_root: - description: Root of the deposit tree. + randao_reveal: + description: The RanDAO reveal value provided by the validator. type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. - type: string - example: '1' - block_hash: - description: Ethereum 1.x block hash. + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - graffiti: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - proposer_slashings: - type: array - items: - type: object - description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' - required: - - signed_header_1 - - signed_header_2 - properties: - signed_header_1: + proposer_slashings: + type: array + items: type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' required: - - message - - signature + - signed_header_1 + - signed_header_2 properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signed_header_2: + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' required: - - message - - signature + - attestation_1 + - attestation_2 properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - slot - - proposer_index - - parent_root - - state_root + - index + - beacon_block_root + - source + - target properties: slot: - description: The slot to which this block corresponds. type: string example: '1' - proposer_index: - description: Index of validator in validator registry. + index: type: string example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attester_slashings: - type: array - items: - type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' - required: - - attestation_1 - - attestation_2 - properties: - attestation_1: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' - required: - - attesting_indices - - data - - signature - properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' - data: + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' required: - - slot - - index - - beacon_block_root - - source - - target + - attesting_indices + - data + - signature properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - - epoch - - root + - slot + - index + - beacon_block_root + - source + - target properties: - epoch: + slot: type: string example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: + index: type: string example: '1' - root: + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestation_2: + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' required: - - attesting_indices + - aggregation_bits - data - signature properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' data: type: object description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' @@ -38682,183 +45918,200 @@ paths: example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + description: BLS aggregate signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestations: - type: array - items: - type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' - required: - - aggregation_bits - - data - - signature - properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - data: + deposits: + type: array + items: type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' required: - - slot - - index - - beacon_block_root - - source - - target + - proof + - data properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' required: - - epoch - - root + - pubkey + - withdrawal_credentials + - amount + - signature properties: - epoch: + pubkey: type: string - example: '1' - root: + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: + amount: + description: Amount in Gwei. type: string example: '1' - root: + signature: + description: Container self-signature. type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: BLS aggregate signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - deposits: - type: array - items: - type: object - description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' - required: - - proof - - data - properties: - proof: - type: array - description: Branch in the deposit tree. - items: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 32 - maxItems: 32 - data: + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: type: object - description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' required: - - pubkey - - withdrawal_credentials - - amount + - message - signature properties: - pubkey: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - withdrawal_credentials: - description: The withdrawal credentials. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - amount: - description: Amount in Gwei. - type: string - example: '1' + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' signature: - description: Container self-signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - voluntary_exits: - type: array - items: - type: object - description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' - required: - - epoch - - validator_index - properties: - epoch: - description: Minimum epoch for processing exit. - type: string - example: '1' - validator_index: - description: Index of the exiting validator. - type: string - example: '1' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - sync_aggregate: - type: object - description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - type: object required: - - sync_committee_bits - - sync_committee_signature + - execution_payload_header properties: - sync_committee_bits: - description: Aggregation bits of sync - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - sync_committee_signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Bellatrix spec.' + execution_payload_header: + description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#executionpayloadheader) object from the CL Bellatrix spec.' + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#executionpayload) object from the CL Bellatrix spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + additionalProperties: false + required: + - transactions_root + properties: + transactions_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Capella spec.' allOf: - type: object required: @@ -38894,7 +46147,7 @@ paths: body: allOf: - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#beaconblockbody) object from the CL Bellatrix spec.' + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#beaconblockbody) object from the CL Capella spec.' required: - randao_reveal - eth1_data @@ -38905,6 +46158,7 @@ paths: - deposits - voluntary_exits - sync_aggregate + - bls_to_execution_changes properties: randao_reveal: description: The RanDAO reveal value provided by the validator. @@ -39380,6 +46634,44 @@ paths: format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + bls_to_execution_changes: + type: array + items: + type: object + description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' + required: + - validator_index + - from_bls_pubkey + - to_execution_address + properties: + validator_index: + description: Index of the validator for which credentials will be changed. + type: string + example: '1' + from_bls_pubkey: + description: Public key of existing credentials. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + to_execution_address: + description: Execution address to which the credentials will be changed. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - type: object required: - execution_payload @@ -39387,7 +46679,7 @@ paths: execution_payload: allOf: - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#executionpayload) object from the CL Bellatrix spec.' + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayload) object from the CL Capella spec.' required: - parent_hash - fee_recipient @@ -39463,6 +46755,7 @@ paths: - type: object required: - transactions + - withdrawals properties: transactions: type: array @@ -39473,7 +46766,36 @@ paths: example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' pattern: '^0x[a-fA-F0-9]{0,2147483648}$' maxItems: 1048576 - - description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Bellatrix spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' + withdrawals: + type: array + items: + type: object + required: + - index + - validator_index + - address + - amount + properties: + index: + description: The index of the withdrawal. + type: string + example: '1' + validator_index: + description: The index of the withdrawing validator. + type: string + example: '1' + address: + description: The address to which the withdrawal is credited. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + amount: + description: The value withdrawn (gwei). + type: string + example: '1' + maxItems: 16 + - description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Capella spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' allOf: - type: object required: @@ -39507,10 +46829,10 @@ paths: - body properties: body: - description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#beaconblockbody) object from the CL Bellatrix spec, which contains a transactions root rather than a full transactions list.' + description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#beaconblockbody) object from the CL Capella spec, which contains a transactions root rather than a full transactions list.' allOf: - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#beaconblockbody) object from the CL Bellatrix spec.' + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#beaconblockbody) object from the CL Capella spec.' required: - randao_reveal - eth1_data @@ -39521,6 +46843,7 @@ paths: - deposits - voluntary_exits - sync_aggregate + - bls_to_execution_changes properties: randao_reveal: description: The RanDAO reveal value provided by the validator. @@ -39996,15 +47319,53 @@ paths: format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + bls_to_execution_changes: + type: array + items: + type: object + description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' + required: + - validator_index + - from_bls_pubkey + - to_execution_address + properties: + validator_index: + description: Index of the validator for which credentials will be changed. + type: string + example: '1' + from_bls_pubkey: + description: Public key of existing credentials. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + to_execution_address: + description: Execution address to which the credentials will be changed. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - type: object required: - execution_payload_header properties: execution_payload_header: - description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#executionpayloadheader) object from the CL Bellatrix spec.' + description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayloadheader) object from the CL Capella spec.' allOf: - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#executionpayload) object from the CL Bellatrix spec.' + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayload) object from the CL Capella spec.' required: - parent_hash - fee_recipient @@ -40081,306 +47442,396 @@ paths: additionalProperties: false required: - transactions_root + - withdrawals_root properties: transactions_root: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Capella spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing Merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body - properties: - body: - allOf: - - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#beaconblockbody) object from the CL Capella spec.' - required: - - randao_reveal - - eth1_data - - graffiti - - proposer_slashings - - attester_slashings - - attestations - - deposits - - voluntary_exits - - sync_aggregate - - bls_to_execution_changes - properties: - randao_reveal: - description: The RanDAO reveal value provided by the validator. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - eth1_data: - type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + withdrawals_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + description: The required object for block production according to the Deneb CL spec. + required: + - block + - kzg_proofs + - blobs + properties: + block: + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/beacon-chain.md#beaconblock) object from the CL Deneb spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing Merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body + properties: + body: + allOf: + - type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec.' required: - - deposit_root - - deposit_count - - block_hash + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + - bls_to_execution_changes + - blob_kzg_commitments properties: - deposit_root: - description: Root of the deposit tree. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. - type: string - example: '1' - block_hash: - description: Ethereum 1.x block hash. + randao_reveal: + allOf: + - type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - description: The RANDAO reveal value provided by the validator. + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - graffiti: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - proposer_slashings: - type: array - items: - type: object - description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' - required: - - signed_header_1 - - signed_header_2 - properties: - signed_header_1: + proposer_slashings: + type: array + items: type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' required: - - message - - signature + - signed_header_1 + - signed_header_2 properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signed_header_2: + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' required: - - message - - signature + - attestation_1 + - attestation_2 properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - slot - - proposer_index - - parent_root - - state_root + - index + - beacon_block_root + - source + - target properties: slot: - description: The slot to which this block corresponds. type: string example: '1' - proposer_index: - description: Index of validator in validator registry. + index: type: string example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attester_slashings: - type: array - items: - type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' - required: - - attestation_1 - - attestation_2 - properties: - attestation_1: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' - required: - - attesting_indices - - data - - signature - properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' - data: + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' required: - - slot - - index - - beacon_block_root - - source - - target + - attesting_indices + - data + - signature properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - - epoch - - root + - slot + - index + - beacon_block_root + - source + - target properties: - epoch: + slot: type: string example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: + index: type: string example: '1' - root: + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestation_2: + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' required: - - attesting_indices + - aggregation_bits - data - signature properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' data: type: object description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' @@ -40434,344 +47885,300 @@ paths: example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestations: - type: array - items: - type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' - required: - - aggregation_bits - - data - - signature - properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: BLS aggregate signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - deposits: - type: array - items: - type: object - description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' - required: - - proof - - data - properties: - proof: - type: array - description: Branch in the deposit tree. - items: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 32 - maxItems: 32 - data: - type: object - description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' - required: - - pubkey - - withdrawal_credentials - - amount - - signature - properties: - pubkey: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - withdrawal_credentials: - description: The withdrawal credentials. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - amount: - description: Amount in Gwei. - type: string - example: '1' - signature: - description: Container self-signature. + description: BLS aggregate signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - voluntary_exits: - type: array - items: - type: object - description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' - required: - - epoch - - validator_index - properties: - epoch: - description: Minimum epoch for processing exit. - type: string - example: '1' - validator_index: - description: Index of the exiting validator. - type: string - example: '1' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - sync_aggregate: - type: object - description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' - required: - - sync_committee_bits - - sync_committee_signature - properties: - sync_committee_bits: - description: Aggregation bits of sync - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - sync_committee_signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - bls_to_execution_changes: - type: array - items: - type: object - description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' - required: - - message - - signature - properties: - message: + deposits: + type: array + items: type: object - description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' required: - - validator_index - - from_bls_pubkey - - to_execution_address + - proof + - data properties: - validator_index: - description: Index of the validator for which credentials will be changed. - type: string - example: '1' - from_bls_pubkey: - description: Public key of existing credentials. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - to_execution_address: - description: Execution address to which the credentials will be changed. + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: + type: object + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + properties: + pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: Amount in Gwei. + type: string + example: '1' + signature: + description: Container self-signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' + signature: type: string format: hex - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - type: object - required: - - execution_payload - properties: - execution_payload: - allOf: - - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayload) object from the CL Capella spec.' + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' required: - - parent_hash - - fee_recipient - - state_root - - receipts_root - - logs_bloom - - prev_randao - - block_number - - gas_limit - - gas_used - - timestamp - - extra_data - - base_fee_per_gas - - block_hash + - sync_committee_bits + - sync_committee_signature properties: - parent_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - fee_recipient: - type: string - format: hex - description: An address on the execution (Ethereum 1) network. - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - state_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - receipts_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - logs_bloom: - type: string - format: hex - example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' - pattern: '^0x[a-fA-F0-9]{512}$' - prev_randao: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - block_number: - type: string - example: '1' - gas_limit: - type: string - example: '1' - gas_used: - type: string - example: '1' - timestamp: - type: string - example: '1' - extra_data: + sync_committee_bits: + description: Aggregation bits of sync type: string format: hex - description: Extra data on the execution (Ethereum 1) network. - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{0,64}$' - base_fee_per_gas: - type: string - example: '1' - block_hash: + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - transactions - - withdrawals - properties: - transactions: - type: array - items: - type: string - format: hex - description: A transaction on the execution (Ethereum 1) network. - example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' - pattern: '^0x[a-fA-F0-9]{0,2147483648}$' - maxItems: 1048576 - withdrawals: - type: array - items: + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + bls_to_execution_changes: + type: array + items: + type: object + description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' + required: + - message + - signature + properties: + message: type: object + description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' required: - - index - validator_index - - address - - amount + - from_bls_pubkey + - to_execution_address properties: - index: - description: The index of the withdrawal. - type: string - example: '1' validator_index: - description: The index of the withdrawing validator. + description: Index of the validator for which credentials will be changed. type: string example: '1' - address: - description: The address to which the withdrawal is credited. + from_bls_pubkey: + description: Public key of existing credentials. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + to_execution_address: + description: Execution address to which the credentials will be changed. type: string format: hex example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' pattern: '^0x[a-fA-F0-9]{40}$' - amount: - description: The value withdrawn (gwei). + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + blob_kzg_commitments: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + - type: object + required: + - execution_payload + properties: + execution_payload: + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - excess_blob_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + excess_blob_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions + - withdrawals + properties: + transactions: + type: array + items: type: string - example: '1' - maxItems: 16 - - description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Capella spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' + format: hex + description: A transaction on the execution (Ethereum 1) network. + example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' + pattern: '^0x[a-fA-F0-9]{0,2147483648}$' + maxItems: 1048576 + withdrawals: + type: array + items: + type: object + required: + - index + - validator_index + - address + - amount + properties: + index: + description: The index of the withdrawal. + type: string + example: '1' + validator_index: + description: The index of the withdrawing validator. + type: string + example: '1' + address: + description: The address to which the withdrawal is credited. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + amount: + description: The value withdrawn (gwei). + type: string + example: '1' + maxItems: 16 + kzg_proofs: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Used for verifying that the `KZGCommitment` for a given `Blob` is correct. + minItems: 0 + maxItems: 4096 + blobs: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{262144}$' + description: A blob is `FIELD_ELEMENTS_PER_BLOB * size_of(BLSFieldElement) = 4096 * 32 = 131072` bytes (`DATA`) representing a Blob as defined in Deneb + minItems: 0 + maxItems: 4096 + - description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/beacon-chain.md#beaconblock) object from the CL Deneb spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' allOf: - type: object required: @@ -40805,10 +48212,10 @@ paths: - body properties: body: - description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#beaconblockbody) object from the CL Capella spec, which contains a transactions root rather than a full transactions list.' + description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec, which contains a transactions root rather than a full transactions list.' allOf: - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#beaconblockbody) object from the CL Capella spec.' + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec.' required: - randao_reveal - eth1_data @@ -40820,13 +48227,15 @@ paths: - voluntary_exits - sync_aggregate - bls_to_execution_changes + - blob_kzg_commitments properties: randao_reveal: - description: The RanDAO reveal value provided by the validator. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + allOf: + - type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - description: The RANDAO reveal value provided by the validator. eth1_data: type: object description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' @@ -41333,15 +48742,23 @@ paths: format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + blob_kzg_commitments: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - type: object required: - execution_payload_header properties: execution_payload_header: - description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayloadheader) object from the CL Capella spec.' + description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' allOf: - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayload) object from the CL Capella spec.' + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' required: - parent_hash - fee_recipient @@ -41355,6 +48772,7 @@ paths: - timestamp - extra_data - base_fee_per_gas + - excess_blob_gas - block_hash properties: parent_hash: @@ -41409,13 +48827,15 @@ paths: base_fee_per_gas: type: string example: '1' + excess_blob_gas: + type: string + example: '1' block_hash: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - type: object - additionalProperties: false required: - transactions_root - withdrawals_root @@ -41431,14 +48851,14 @@ paths: example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - type: object - description: The required object for block production according to the Deneb CL spec. + description: The required object for block production according to the Electra CL spec. required: - block - kzg_proofs - blobs properties: block: - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblock) object from the CL Deneb spec.' + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/phase0/beacon-chain.md#beaconblock) object from the CL Electra spec.' allOf: - type: object required: @@ -41474,7 +48894,7 @@ paths: body: allOf: - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec.' + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#beaconblockbody) object from the CL Electra spec.' required: - randao_reveal - eth1_data @@ -41641,14 +49061,14 @@ paths: type: array items: type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attesterslashing) object from the CL spec.' required: - attestation_1 - attestation_2 properties: attestation_1: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#indexedattestation) object from the CL spec.' required: - attesting_indices - data @@ -41656,7 +49076,7 @@ paths: properties: attesting_indices: type: array - maxItems: 2048 + maxItems: 131072 description: Attesting validator indices items: type: string @@ -41721,7 +49141,7 @@ paths: example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' attestation_2: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#indexedattestation) object from the CL spec.' required: - attesting_indices - data @@ -41729,7 +49149,7 @@ paths: properties: attesting_indices: type: array - maxItems: 2048 + maxItems: 131072 description: Attesting validator indices items: type: string @@ -41796,11 +49216,12 @@ paths: type: array items: type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attestation) object from the CL spec.' required: - aggregation_bits - data - signature + - committee_bits properties: aggregation_bits: description: Attester aggregation bits. @@ -41866,6 +49287,12 @@ paths: format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + committee_bits: + description: Committee bits. + example: '0x0000000000000001' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{2,}$' deposits: type: array items: @@ -42012,6 +49439,7 @@ paths: - type: object required: - execution_payload + - execution_requests properties: execution_payload: allOf: @@ -42136,6 +49564,108 @@ paths: type: string example: '1' maxItems: 16 + execution_requests: + type: object + description: 'The [`ExecutionRequests`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.6/specs/electra/beacon-chain.md#executionrequests) object from the CL Electra spec.' + required: + - deposits + - withdrawals + - consolidations + properties: + deposits: + type: array + items: + type: object + description: 'The [`DepositRequest`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#depositrequest) object from the CL Electra spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + - index + properties: + pubkey: + description: BLS public key of validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: The value to be deposited (gwei). + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + index: + description: The index of the deposit request. + type: string + example: '1' + maxItems: 8192 + withdrawals: + type: array + items: + type: object + description: 'The [`WithdrawalRequest`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#withdrawalrequest) object from the CL Electra spec.' + required: + - source_address + - validator_pubkey + - amount + properties: + source_address: + description: Execution address which sent the request. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + validator_pubkey: + description: BLS public key of validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + amount: + description: The value to be withdrawn (gwei). + type: string + example: '1' + maxItems: 16 + consolidations: + type: array + items: + type: object + description: 'The [`ConsolidationRequest`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#consolidationrequest) object from the CL Electra spec.' + required: + - source_address + - source_pubkey + - target_pubkey + properties: + source_address: + description: Execution address which sent the request. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + source_pubkey: + description: BLS public key of validator to consolidate from. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + target_pubkey: + description: BLS public key of validator to consolidate to. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + maxItems: 1 kzg_proofs: type: array items: @@ -42154,7 +49684,7 @@ paths: description: A blob is `FIELD_ELEMENTS_PER_BLOB * size_of(BLSFieldElement) = 4096 * 32 = 131072` bytes (`DATA`) representing a Blob as defined in Deneb minItems: 0 maxItems: 4096 - - description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblock) object from the CL Deneb spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' + - description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/phase0/beacon-chain.md#beaconblock) object from the CL Electra spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' allOf: - type: object required: @@ -42188,10 +49718,10 @@ paths: - body properties: body: - description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec, which contains a transactions root rather than a full transactions list.' + description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#beaconblockbody) object from the CL Electra spec, which contains a transactions root rather than a full transactions list.' allOf: - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec.' + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#beaconblockbody) object from the CL Electra spec.' required: - randao_reveal - eth1_data @@ -42358,14 +49888,14 @@ paths: type: array items: type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attesterslashing) object from the CL spec.' required: - attestation_1 - attestation_2 properties: attestation_1: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#indexedattestation) object from the CL spec.' required: - attesting_indices - data @@ -42373,7 +49903,7 @@ paths: properties: attesting_indices: type: array - maxItems: 2048 + maxItems: 131072 description: Attesting validator indices items: type: string @@ -42438,7 +49968,7 @@ paths: example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' attestation_2: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#indexedattestation) object from the CL spec.' required: - attesting_indices - data @@ -42446,7 +49976,7 @@ paths: properties: attesting_indices: type: array - maxItems: 2048 + maxItems: 131072 description: Attesting validator indices items: type: string @@ -42513,11 +50043,12 @@ paths: type: array items: type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attestation) object from the CL spec.' required: - aggregation_bits - data - signature + - committee_bits properties: aggregation_bits: description: Attester aggregation bits. @@ -42583,6 +50114,12 @@ paths: format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + committee_bits: + description: Committee bits. + example: '0x0000000000000001' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{2,}$' deposits: type: array items: @@ -42729,6 +50266,7 @@ paths: - type: object required: - execution_payload_header + - execution_requests_root properties: execution_payload_header: description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' @@ -42826,6 +50364,11 @@ paths: format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' + execution_requests_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' application/octet-stream: schema: description: 'SSZ serialized block or blinded block bytes. Use Accept header to choose this response type, version string is sent in header `Eth-Consensus-Version` and block type in `Eth-Blinded-Payload`.' @@ -43020,6 +50563,7 @@ paths: - bellatrix - capella - deneb + - electra example: bellatrix data: anyOf: @@ -43041,13 +50585,515 @@ paths: type: string example: '1' parent_root: - description: The signing merkle root of the parent `BeaconBlock`. + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body + properties: + body: + type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockbody) object from the CL spec.' + required: + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + properties: + randao_reveal: + description: The RanDAO reveal value provided by the validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + proposer_slashings: + type: array + items: + type: object + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' + required: + - signed_header_1 + - signed_header_2 + properties: + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: + type: object + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + required: + - aggregation_bits + - data + - signature + properties: + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: BLS aggregate signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + deposits: + type: array + items: + type: object + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + required: + - proof + - data + properties: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: + type: object + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + properties: + pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: Amount in Gwei. + type: string + example: '1' + signature: + description: Container self-signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Altair spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing Merkle root of the parent `BeaconBlock`. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' @@ -43058,7 +51104,7 @@ paths: properties: body: type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockbody) object from the CL spec.' + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#beaconblockbody) object from the CL Altair spec.' required: - randao_reveal - eth1_data @@ -43068,6 +51114,7 @@ paths: - attestations - deposits - voluntary_exits + - sync_aggregate properties: randao_reveal: description: The RanDAO reveal value provided by the validator. @@ -43525,7 +51572,25 @@ paths: format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Altair spec.' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Bellatrix spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' allOf: - type: object required: @@ -43559,264 +51624,340 @@ paths: - body properties: body: - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#beaconblockbody) object from the CL Altair spec.' - required: - - randao_reveal - - eth1_data - - graffiti - - proposer_slashings - - attester_slashings - - attestations - - deposits - - voluntary_exits - - sync_aggregate - properties: - randao_reveal: - description: The RanDAO reveal value provided by the validator. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - eth1_data: - type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#beaconblockbody) object from the CL Bellatrix spec, which contains a transactions root rather than a full transactions list.' + allOf: + - type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#beaconblockbody) object from the CL Bellatrix spec.' required: - - deposit_root - - deposit_count - - block_hash + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate properties: - deposit_root: - description: Root of the deposit tree. + randao_reveal: + description: The RanDAO reveal value provided by the validator. type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. - type: string - example: '1' - block_hash: - description: Ethereum 1.x block hash. + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - graffiti: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - proposer_slashings: - type: array - items: - type: object - description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' - required: - - signed_header_1 - - signed_header_2 - properties: - signed_header_1: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signed_header_2: + proposer_slashings: + type: array + items: type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' required: - - message - - signature + - signed_header_1 + - signed_header_2 properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attester_slashings: - type: array - items: - type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' - required: - - attestation_1 - - attestation_2 - properties: - attestation_1: + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' required: - - attesting_indices - - data - - signature + - attestation_1 + - attestation_2 properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' - data: + attestation_1: type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' required: - - slot - - index - - beacon_block_root - - source - - target + - attesting_indices + - data + - signature properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - - epoch - - root + - slot + - index + - beacon_block_root + - source + - target properties: - epoch: + slot: type: string example: '1' - root: + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - target: + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - - epoch - - root + - slot + - index + - beacon_block_root + - source + - target properties: - epoch: + slot: type: string example: '1' - root: + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestation_2: + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' required: - - attesting_indices + - aggregation_bits - data - signature properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' data: type: object description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' @@ -43870,183 +52011,200 @@ paths: example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + description: BLS aggregate signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestations: - type: array - items: - type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' - required: - - aggregation_bits - - data - - signature - properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - data: + deposits: + type: array + items: type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' required: - - slot - - index - - beacon_block_root - - source - - target + - proof + - data properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' required: - - epoch - - root + - pubkey + - withdrawal_credentials + - amount + - signature properties: - epoch: + pubkey: type: string - example: '1' - root: + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: + amount: + description: Amount in Gwei. type: string example: '1' - root: + signature: + description: Container self-signature. type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: BLS aggregate signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - deposits: - type: array - items: - type: object - description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' - required: - - proof - - data - properties: - proof: - type: array - description: Branch in the deposit tree. - items: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 32 - maxItems: 32 - data: + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: type: object - description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' required: - - pubkey - - withdrawal_credentials - - amount + - message - signature properties: - pubkey: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - withdrawal_credentials: - description: The withdrawal credentials. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - amount: - description: Amount in Gwei. - type: string - example: '1' + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' signature: - description: Container self-signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - voluntary_exits: - type: array - items: - type: object - description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' - required: - - epoch - - validator_index - properties: - epoch: - description: Minimum epoch for processing exit. - type: string - example: '1' - validator_index: - description: Index of the exiting validator. - type: string - example: '1' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - sync_aggregate: - type: object - description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - type: object required: - - sync_committee_bits - - sync_committee_signature + - execution_payload_header properties: - sync_committee_bits: - description: Aggregation bits of sync - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - sync_committee_signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Bellatrix spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' + execution_payload_header: + description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#executionpayloadheader) object from the CL Bellatrix spec.' + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#executionpayload) object from the CL Bellatrix spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + additionalProperties: false + required: + - transactions_root + properties: + transactions_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Capella spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' allOf: - type: object required: @@ -44080,10 +52238,10 @@ paths: - body properties: body: - description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#beaconblockbody) object from the CL Bellatrix spec, which contains a transactions root rather than a full transactions list.' + description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#beaconblockbody) object from the CL Capella spec, which contains a transactions root rather than a full transactions list.' allOf: - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#beaconblockbody) object from the CL Bellatrix spec.' + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#beaconblockbody) object from the CL Capella spec.' required: - randao_reveal - eth1_data @@ -44094,6 +52252,7 @@ paths: - deposits - voluntary_exits - sync_aggregate + - bls_to_execution_changes properties: randao_reveal: description: The RanDAO reveal value provided by the validator. @@ -44569,15 +52728,53 @@ paths: format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + bls_to_execution_changes: + type: array + items: + type: object + description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' + required: + - validator_index + - from_bls_pubkey + - to_execution_address + properties: + validator_index: + description: Index of the validator for which credentials will be changed. + type: string + example: '1' + from_bls_pubkey: + description: Public key of existing credentials. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + to_execution_address: + description: Execution address to which the credentials will be changed. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - type: object required: - execution_payload_header properties: execution_payload_header: - description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#executionpayloadheader) object from the CL Bellatrix spec.' + description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayloadheader) object from the CL Capella spec.' allOf: - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/bellatrix/beacon-chain.md#executionpayload) object from the CL Bellatrix spec.' + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayload) object from the CL Capella spec.' required: - parent_hash - fee_recipient @@ -44654,13 +52851,19 @@ paths: additionalProperties: false required: - transactions_root + - withdrawals_root properties: transactions_root: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - - description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblock) object from the CL Capella spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' + withdrawals_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/beacon-chain.md#beaconblock) object from the CL Deneb spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' allOf: - type: object required: @@ -44694,10 +52897,10 @@ paths: - body properties: body: - description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#beaconblockbody) object from the CL Capella spec, which contains a transactions root rather than a full transactions list.' + description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec, which contains a transactions root rather than a full transactions list.' allOf: - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#beaconblockbody) object from the CL Capella spec.' + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec.' required: - randao_reveal - eth1_data @@ -44709,13 +52912,15 @@ paths: - voluntary_exits - sync_aggregate - bls_to_execution_changes + - blob_kzg_commitments properties: randao_reveal: - description: The RanDAO reveal value provided by the validator. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + allOf: + - type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - description: The RANDAO reveal value provided by the validator. eth1_data: type: object description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' @@ -45222,15 +53427,23 @@ paths: format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + blob_kzg_commitments: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - type: object required: - execution_payload_header properties: execution_payload_header: - description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayloadheader) object from the CL Capella spec.' + description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' allOf: - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayload) object from the CL Capella spec.' + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' required: - parent_hash - fee_recipient @@ -45244,6 +53457,7 @@ paths: - timestamp - extra_data - base_fee_per_gas + - excess_blob_gas - block_hash properties: parent_hash: @@ -45298,13 +53512,15 @@ paths: base_fee_per_gas: type: string example: '1' + excess_blob_gas: + type: string + example: '1' block_hash: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - type: object - additionalProperties: false required: - transactions_root - withdrawals_root @@ -45319,7 +53535,7 @@ paths: format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - - description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblock) object from the CL Deneb spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' + - description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/phase0/beacon-chain.md#beaconblock) object from the CL Electra spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' allOf: - type: object required: @@ -45353,10 +53569,10 @@ paths: - body properties: body: - description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec, which contains a transactions root rather than a full transactions list.' + description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#beaconblockbody) object from the CL Electra spec, which contains a transactions root rather than a full transactions list.' allOf: - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec.' + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#beaconblockbody) object from the CL Electra spec.' required: - randao_reveal - eth1_data @@ -45523,14 +53739,14 @@ paths: type: array items: type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attesterslashing) object from the CL spec.' required: - attestation_1 - attestation_2 properties: attestation_1: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#indexedattestation) object from the CL spec.' required: - attesting_indices - data @@ -45538,7 +53754,7 @@ paths: properties: attesting_indices: type: array - maxItems: 2048 + maxItems: 131072 description: Attesting validator indices items: type: string @@ -45603,7 +53819,7 @@ paths: example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' attestation_2: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#indexedattestation) object from the CL spec.' required: - attesting_indices - data @@ -45611,7 +53827,7 @@ paths: properties: attesting_indices: type: array - maxItems: 2048 + maxItems: 131072 description: Attesting validator indices items: type: string @@ -45678,11 +53894,12 @@ paths: type: array items: type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attestation) object from the CL spec.' required: - aggregation_bits - data - signature + - committee_bits properties: aggregation_bits: description: Attester aggregation bits. @@ -45748,6 +53965,12 @@ paths: format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + committee_bits: + description: Committee bits. + example: '0x0000000000000001' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{2,}$' deposits: type: array items: @@ -45894,6 +54117,7 @@ paths: - type: object required: - execution_payload_header + - execution_requests_root properties: execution_payload_header: description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' @@ -45991,6 +54215,11 @@ paths: format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' + execution_requests_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' application/octet-stream: schema: description: 'SSZ serialized block bytes. Use Accept header to choose this response type, version string is sent in header `Eth-Consensus-Version`.' @@ -60426,312 +68655,1448 @@ components: format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 4 - maxItems: 4 - finality_branch: - type: array - items: - description: 'Merkle proof consisting of [`log2trunc(FINALIZED_ROOT_INDEX])`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/light-client/sync-protocol.md#constants) roots' - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 6 - maxItems: 6 - sync_aggregate: - type: object - description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + minItems: 4 + maxItems: 4 + finality_branch: + type: array + items: + description: 'Merkle proof consisting of [`log2trunc(FINALIZED_ROOT_INDEX])`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/light-client/sync-protocol.md#constants) roots' + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 6 + maxItems: 6 + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signature_slot: + type: string + example: '1' + Capella.LightClientOptimisticUpdate: + type: object + required: + - attested_header + - sync_aggregate + - signature_slot + properties: + attested_header: + type: object + required: + - beacon + - execution + - execution_branch + properties: + beacon: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + execution: + description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayloadheader) object from the CL Capella spec.' + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayload) object from the CL Capella spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + additionalProperties: false + required: + - transactions_root + - withdrawals_root + properties: + transactions_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + withdrawals_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + execution_branch: + type: array + items: + description: 'Merkle proof consisting of [`log2trunc(EXECUTION_PAYLOAD_INDEX])`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/light-client/sync-protocol.md#constants) roots' + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 4 + maxItems: 4 + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signature_slot: + type: string + example: '1' + Capella.Withdrawal: + type: object + required: + - index + - validator_index + - address + - amount + properties: + index: + description: The index of the withdrawal. + type: string + example: '1' + validator_index: + description: The index of the withdrawing validator. + type: string + example: '1' + address: + description: The address to which the withdrawal is credited. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + amount: + description: The value withdrawn (gwei). + type: string + example: '1' + Deneb.BeaconState: + type: object + description: 'The [`BeaconState`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconstate) object from the Eth2.0 Deneb spec.' + required: + - genesis_time + - genesis_validators_root + - slot + - fork + - latest_block_header + - block_roots + - state_roots + - historical_roots + - eth1_data + - eth1_data_votes + - eth1_deposit_index + - validators + - balances + - randao_mixes + - slashings + - previous_epoch_participation + - current_epoch_participation + - justification_bits + - previous_justified_checkpoint + - current_justified_checkpoint + - finalized_checkpoint + - inactivity_scores + - current_sync_committee + - next_sync_committee + - latest_execution_payload_header + - next_withdrawal_index + - next_withdrawal_validator_index + - historical_summaries + properties: + genesis_time: + type: string + example: '1' + genesis_validators_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + slot: + type: string + example: '1' + fork: + type: object + description: 'The [`Fork`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#fork) object from the CL spec.' + required: + - previous_version + - current_version + - epoch + properties: + previous_version: + type: string + format: hex + description: a fork version number + example: '0x00000000' + pattern: '^0x[a-fA-F0-9]{8}$' + current_version: + type: string + format: hex + description: a fork version number + example: '0x00000000' + pattern: '^0x[a-fA-F0-9]{8}$' + epoch: + type: string + example: '1' + latest_block_header: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_roots: + type: array + description: Fixed length of 8192 items + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_roots: + type: array + description: Fixed length of 8192 items + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + historical_roots: + type: array + description: 'Variable length list, maximum 16777216 items. Frozen in Capella, replaced by historical_summaries.' + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + eth1_data_votes: + type: array + description: Fixed length of 1024 items + items: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + maxItems: 1024 + eth1_deposit_index: + type: string + example: '1' + validators: + type: array + description: 'Variable length list, maximum 1099511627776 items' + items: + type: object + required: + - pubkey + - withdrawal_credentials + - effective_balance + - slashed + - activation_eligibility_epoch + - activation_epoch + - exit_epoch + - withdrawable_epoch + properties: + pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: Root of withdrawal credentials + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + effective_balance: + description: Balance at stake in Gwei. + type: string + example: '1' + slashed: + type: boolean + example: false + description: Was validator slashed (not longer active). + activation_eligibility_epoch: + description: When criteria for activation were met. + type: string + example: '1' + activation_epoch: + description: Epoch when validator activated. 'FAR_FUTURE_EPOCH' if not activated + type: string + example: '1' + exit_epoch: + description: Epoch when validator exited. 'FAR_FUTURE_EPOCH' if not exited. + type: string + example: '1' + withdrawable_epoch: + description: When validator can withdraw or transfer funds. 'FAR_FUTURE_EPOCH' if not defined + type: string + example: '1' + balances: + type: array + description: 'Validator balances in gwei. Variable length list, maximum 1099511627776 items' + items: + type: string + example: '1' + randao_mixes: + type: array + description: Fixed length of 65536 items + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + slashings: + type: array + description: Per-epoch sums of slashed effective balances. Fixed length of 8192 items + items: + type: string + example: '1' + previous_epoch_participation: + type: array + items: + type: string + description: 'Unsigned 8 bit integer, max value 255' + pattern: '^[1-2]?[0-9]{1,2}$' + example: '0' + maxItems: 1099511627776 + current_epoch_participation: + type: array + items: + type: string + description: 'Unsigned 8 bit integer, max value 255' + pattern: '^[1-2]?[0-9]{1,2}$' + example: '0' + maxItems: 1099511627776 + justification_bits: + description: Bit set for every recent justified epoch + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + previous_justified_checkpoint: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + current_justified_checkpoint: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + finalized_checkpoint: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + inactivity_scores: + description: 'Per-validator inactivity scores. Introduced in Altair. Variable length list, maximum 1099511627776 items' + type: array + items: + type: string + example: '1' + current_sync_committee: + type: object + required: + - pubkeys + - aggregate_pubkey + properties: + pubkeys: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + minItems: 512 + maxItems: 512 + aggregate_pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + next_sync_committee: + type: object + required: + - pubkeys + - aggregate_pubkey + properties: + pubkeys: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + minItems: 512 + maxItems: 512 + aggregate_pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + latest_execution_payload_header: + description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - excess_blob_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + excess_blob_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions_root + - withdrawals_root + properties: + transactions_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + withdrawals_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + next_withdrawal_index: + type: string + example: '1' + next_withdrawal_validator_index: + type: string + example: '1' + historical_summaries: + type: array + items: + type: object + description: 'The [`HistoricalSummary`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#historicalsummary) object from the CL Capella spec.' + required: + - block_summary_root + - state_summary_root + properties: + block_summary_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_summary_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + description: 'Variable length list, maximum 16777216 items' + Deneb.BeaconBlock: + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/beacon-chain.md#beaconblock) object from the CL Deneb spec.' + allOf: + - type: object required: - - sync_committee_bits - - sync_committee_signature + - slot + - proposer_index + - parent_root + - state_root properties: - sync_committee_bits: - description: Aggregation bits of sync + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing Merkle root of the parent `BeaconBlock`. type: string format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - sync_committee_signature: + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. type: string format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signature_slot: - type: string - example: '1' - Capella.LightClientOptimisticUpdate: - type: object - required: - - attested_header - - sync_aggregate - - signature_slot - properties: - attested_header: - type: object + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object required: - - beacon - - execution - - execution_branch + - body properties: - beacon: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - execution: - description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayloadheader) object from the CL Capella spec.' + body: allOf: - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#executionpayload) object from the CL Capella spec.' + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec.' required: - - parent_hash - - fee_recipient - - state_root - - receipts_root - - logs_bloom - - prev_randao - - block_number - - gas_limit - - gas_used - - timestamp - - extra_data - - base_fee_per_gas - - block_hash + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + - bls_to_execution_changes + - blob_kzg_commitments properties: - parent_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - fee_recipient: - type: string - format: hex - description: An address on the execution (Ethereum 1) network. - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - state_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - receipts_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - logs_bloom: - type: string - format: hex - example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' - pattern: '^0x[a-fA-F0-9]{512}$' - prev_randao: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - block_number: - type: string - example: '1' - gas_limit: - type: string - example: '1' - gas_used: - type: string - example: '1' - timestamp: - type: string - example: '1' - extra_data: - type: string - format: hex - description: Extra data on the execution (Ethereum 1) network. - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{0,64}$' - base_fee_per_gas: - type: string - example: '1' - block_hash: + randao_reveal: + allOf: + - type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - description: The RANDAO reveal value provided by the validator. + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' + proposer_slashings: + type: array + items: + type: object + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' + required: + - signed_header_1 + - signed_header_2 + properties: + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: + type: object + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + required: + - aggregation_bits + - data + - signature + properties: + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: BLS aggregate signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + deposits: + type: array + items: + type: object + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + required: + - proof + - data + properties: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: + type: object + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + properties: + pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: Amount in Gwei. + type: string + example: '1' + signature: + description: Container self-signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + bls_to_execution_changes: + type: array + items: + type: object + description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' + required: + - validator_index + - from_bls_pubkey + - to_execution_address + properties: + validator_index: + description: Index of the validator for which credentials will be changed. + type: string + example: '1' + from_bls_pubkey: + description: Public key of existing credentials. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + to_execution_address: + description: Execution address to which the credentials will be changed. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + blob_kzg_commitments: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - type: object - additionalProperties: false required: - - transactions_root - - withdrawals_root + - execution_payload properties: - transactions_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - withdrawals_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - execution_branch: - type: array - items: - description: 'Merkle proof consisting of [`log2trunc(EXECUTION_PAYLOAD_INDEX])`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/light-client/sync-protocol.md#constants) roots' - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 4 - maxItems: 4 - sync_aggregate: - type: object - description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' - required: - - sync_committee_bits - - sync_committee_signature - properties: - sync_committee_bits: - description: Aggregation bits of sync - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - sync_committee_signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signature_slot: - type: string - example: '1' - Capella.Withdrawal: - type: object - required: - - index - - validator_index - - address - - amount - properties: - index: - description: The index of the withdrawal. - type: string - example: '1' - validator_index: - description: The index of the withdrawing validator. - type: string - example: '1' - address: - description: The address to which the withdrawal is credited. - type: string - format: hex - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - amount: - description: The value withdrawn (gwei). - type: string - example: '1' - Deneb.BeaconState: + execution_payload: + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - excess_blob_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + excess_blob_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions + - withdrawals + properties: + transactions: + type: array + items: + type: string + format: hex + description: A transaction on the execution (Ethereum 1) network. + example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' + pattern: '^0x[a-fA-F0-9]{0,2147483648}$' + maxItems: 1048576 + withdrawals: + type: array + items: + type: object + required: + - index + - validator_index + - address + - amount + properties: + index: + description: The index of the withdrawal. + type: string + example: '1' + validator_index: + description: The index of the withdrawing validator. + type: string + example: '1' + address: + description: The address to which the withdrawal is credited. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + amount: + description: The value withdrawn (gwei). + type: string + example: '1' + maxItems: 16 + Deneb.BlockContents: type: object - description: 'The [`BeaconState`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconstate) object from the Eth2.0 Deneb spec.' + description: The required object for block production according to the Deneb CL spec. required: - - genesis_time - - genesis_validators_root - - slot - - fork - - latest_block_header - - block_roots - - state_roots - - historical_roots - - eth1_data - - eth1_data_votes - - eth1_deposit_index - - validators - - balances - - randao_mixes - - slashings - - previous_epoch_participation - - current_epoch_participation - - justification_bits - - previous_justified_checkpoint - - current_justified_checkpoint - - finalized_checkpoint - - inactivity_scores - - current_sync_committee - - next_sync_committee - - latest_execution_payload_header - - next_withdrawal_index - - next_withdrawal_validator_index - - historical_summaries - properties: - genesis_time: - type: string - example: '1' - genesis_validators_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - slot: - type: string - example: '1' - fork: - type: object - description: 'The [`Fork`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#fork) object from the CL spec.' - required: - - previous_version - - current_version - - epoch - properties: - previous_version: - type: string - format: hex - description: a fork version number - example: '0x00000000' - pattern: '^0x[a-fA-F0-9]{8}$' - current_version: - type: string - format: hex - description: a fork version number - example: '0x00000000' - pattern: '^0x[a-fA-F0-9]{8}$' - epoch: - type: string - example: '1' - latest_block_header: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + - block + - kzg_proofs + - blobs + properties: + block: + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/beacon-chain.md#beaconblock) object from the CL Deneb spec.' allOf: - type: object required: @@ -60749,713 +70114,1082 @@ components: type: string example: '1' parent_root: - description: The signing merkle root of the parent `BeaconBlock`. + description: The signing Merkle root of the parent `BeaconBlock`. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - type: object required: - - body_root + - body properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - block_roots: - type: array - description: Fixed length of 8192 items - items: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_roots: - type: array - description: Fixed length of 8192 items - items: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - historical_roots: + body: + allOf: + - type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec.' + required: + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + - bls_to_execution_changes + - blob_kzg_commitments + properties: + randao_reveal: + allOf: + - type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - description: The RANDAO reveal value provided by the validator. + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + proposer_slashings: + type: array + items: + type: object + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' + required: + - signed_header_1 + - signed_header_2 + properties: + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: + type: object + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + required: + - aggregation_bits + - data + - signature + properties: + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: BLS aggregate signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + deposits: + type: array + items: + type: object + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + required: + - proof + - data + properties: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: + type: object + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + properties: + pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: Amount in Gwei. + type: string + example: '1' + signature: + description: Container self-signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + bls_to_execution_changes: + type: array + items: + type: object + description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' + required: + - validator_index + - from_bls_pubkey + - to_execution_address + properties: + validator_index: + description: Index of the validator for which credentials will be changed. + type: string + example: '1' + from_bls_pubkey: + description: Public key of existing credentials. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + to_execution_address: + description: Execution address to which the credentials will be changed. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + blob_kzg_commitments: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + - type: object + required: + - execution_payload + properties: + execution_payload: + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - excess_blob_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + excess_blob_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions + - withdrawals + properties: + transactions: + type: array + items: + type: string + format: hex + description: A transaction on the execution (Ethereum 1) network. + example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' + pattern: '^0x[a-fA-F0-9]{0,2147483648}$' + maxItems: 1048576 + withdrawals: + type: array + items: + type: object + required: + - index + - validator_index + - address + - amount + properties: + index: + description: The index of the withdrawal. + type: string + example: '1' + validator_index: + description: The index of the withdrawing validator. + type: string + example: '1' + address: + description: The address to which the withdrawal is credited. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + amount: + description: The value withdrawn (gwei). + type: string + example: '1' + maxItems: 16 + kzg_proofs: type: array - description: 'Variable length list, maximum 16777216 items. Frozen in Capella, replaced by historical_summaries.' items: type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - eth1_data: - type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' - required: - - deposit_root - - deposit_count - - block_hash - properties: - deposit_root: - description: Root of the deposit tree. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. - type: string - example: '1' - block_hash: - description: Ethereum 1.x block hash. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - eth1_data_votes: - type: array - description: Fixed length of 1024 items - items: - type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' - required: - - deposit_root - - deposit_count - - block_hash - properties: - deposit_root: - description: Root of the deposit tree. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. - type: string - example: '1' - block_hash: - description: Ethereum 1.x block hash. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - maxItems: 1024 - eth1_deposit_index: - type: string - example: '1' - validators: - type: array - description: 'Variable length list, maximum 1099511627776 items' - items: - type: object - required: - - pubkey - - withdrawal_credentials - - effective_balance - - slashed - - activation_eligibility_epoch - - activation_epoch - - exit_epoch - - withdrawable_epoch - properties: - pubkey: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - withdrawal_credentials: - description: Root of withdrawal credentials - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - effective_balance: - description: Balance at stake in Gwei. - type: string - example: '1' - slashed: - type: boolean - example: false - description: Was validator slashed (not longer active). - activation_eligibility_epoch: - description: When criteria for activation were met. - type: string - example: '1' - activation_epoch: - description: Epoch when validator activated. 'FAR_FUTURE_EPOCH' if not activated - type: string - example: '1' - exit_epoch: - description: Epoch when validator exited. 'FAR_FUTURE_EPOCH' if not exited. - type: string - example: '1' - withdrawable_epoch: - description: When validator can withdraw or transfer funds. 'FAR_FUTURE_EPOCH' if not defined - type: string - example: '1' - balances: - type: array - description: 'Validator balances in gwei. Variable length list, maximum 1099511627776 items' - items: - type: string - example: '1' - randao_mixes: + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Used for verifying that the `KZGCommitment` for a given `Blob` is correct. + minItems: 0 + maxItems: 4096 + blobs: type: array - description: Fixed length of 65536 items items: type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - slashings: - type: array - description: Per-epoch sums of slashed effective balances. Fixed length of 8192 items - items: - type: string - example: '1' - previous_epoch_participation: - type: array - items: - type: string - description: 'Unsigned 8 bit integer, max value 255' - pattern: '^[1-2]?[0-9]{1,2}$' - example: '0' - maxItems: 1099511627776 - current_epoch_participation: - type: array - items: - type: string - description: 'Unsigned 8 bit integer, max value 255' - pattern: '^[1-2]?[0-9]{1,2}$' - example: '0' - maxItems: 1099511627776 - justification_bits: - description: Bit set for every recent justified epoch - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - previous_justified_checkpoint: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - current_justified_checkpoint: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - finalized_checkpoint: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - inactivity_scores: - description: 'Per-validator inactivity scores. Introduced in Altair. Variable length list, maximum 1099511627776 items' - type: array - items: - type: string - example: '1' - current_sync_committee: - type: object - required: - - pubkeys - - aggregate_pubkey - properties: - pubkeys: - type: array - items: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - minItems: 512 - maxItems: 512 - aggregate_pubkey: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - next_sync_committee: - type: object - required: - - pubkeys - - aggregate_pubkey - properties: - pubkeys: - type: array - items: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - minItems: 512 - maxItems: 512 - aggregate_pubkey: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - latest_execution_payload_header: - description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' + pattern: '^0x[a-fA-F0-9]{262144}$' + description: A blob is `FIELD_ELEMENTS_PER_BLOB * size_of(BLSFieldElement) = 4096 * 32 = 131072` bytes (`DATA`) representing a Blob as defined in Deneb + minItems: 0 + maxItems: 4096 + Deneb.SignedBeaconBlock: + type: object + description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Deneb spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/beacon-chain.md#beaconblock) object from the CL Deneb spec.' allOf: - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' required: - - parent_hash - - fee_recipient - - state_root - - receipts_root - - logs_bloom - - prev_randao - - block_number - - gas_limit - - gas_used - - timestamp - - extra_data - - base_fee_per_gas - - excess_blob_gas - - block_hash - properties: - parent_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - fee_recipient: - type: string - format: hex - description: An address on the execution (Ethereum 1) network. - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - state_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - receipts_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - logs_bloom: - type: string - format: hex - example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' - pattern: '^0x[a-fA-F0-9]{512}$' - prev_randao: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - block_number: - type: string - example: '1' - gas_limit: - type: string - example: '1' - gas_used: - type: string - example: '1' - timestamp: - type: string - example: '1' - extra_data: - type: string - format: hex - description: Extra data on the execution (Ethereum 1) network. - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{0,64}$' - base_fee_per_gas: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. type: string example: '1' - excess_blob_gas: + proposer_index: + description: Index of validator in validator registry. type: string example: '1' - block_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - transactions_root - - withdrawals_root - properties: - transactions_root: + parent_root: + description: The signing Merkle root of the parent `BeaconBlock`. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - withdrawals_root: + state_root: + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - next_withdrawal_index: - type: string - example: '1' - next_withdrawal_validator_index: - type: string - example: '1' - historical_summaries: - type: array - items: - type: object - description: 'The [`HistoricalSummary`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#historicalsummary) object from the CL Capella spec.' - required: - - block_summary_root - - state_summary_root - properties: - block_summary_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_summary_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - description: 'Variable length list, maximum 16777216 items' - Deneb.BeaconBlock: - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblock) object from the CL Deneb spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing Merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body - properties: - body: - allOf: - - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec.' - required: - - randao_reveal - - eth1_data - - graffiti - - proposer_slashings - - attester_slashings - - attestations - - deposits - - voluntary_exits - - sync_aggregate - - bls_to_execution_changes - - blob_kzg_commitments - properties: - randao_reveal: - allOf: - - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - description: The RANDAO reveal value provided by the validator. - eth1_data: - type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + - type: object + required: + - body + properties: + body: + allOf: + - type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec.' required: - - deposit_root - - deposit_count - - block_hash + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + - bls_to_execution_changes + - blob_kzg_commitments properties: - deposit_root: - description: Root of the deposit tree. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. - type: string - example: '1' - block_hash: - description: Ethereum 1.x block hash. + randao_reveal: + allOf: + - type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - description: The RANDAO reveal value provided by the validator. + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - graffiti: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - proposer_slashings: - type: array - items: - type: object - description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' - required: - - signed_header_1 - - signed_header_2 - properties: - signed_header_1: + proposer_slashings: + type: array + items: type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' required: - - message - - signature + - signed_header_1 + - signed_header_2 properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signed_header_2: + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' required: - - message - - signature + - attestation_1 + - attestation_2 properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - slot - - proposer_index - - parent_root - - state_root + - index + - beacon_block_root + - source + - target properties: slot: - description: The slot to which this block corresponds. type: string example: '1' - proposer_index: - description: Index of validator in validator registry. + index: type: string example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attester_slashings: - type: array - items: - type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' - required: - - attestation_1 - - attestation_2 - properties: - attestation_1: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' - required: - - attesting_indices - - data - - signature - properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' - data: + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' required: - - slot - - index - - beacon_block_root - - source - - target + - attesting_indices + - data + - signature properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - - epoch - - root + - slot + - index + - beacon_block_root + - source + - target properties: - epoch: + slot: type: string example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: + index: type: string example: '1' - root: + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestation_2: + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' required: - - attesting_indices + - aggregation_bits - data - signature properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' data: type: object description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' @@ -61509,734 +71243,1248 @@ components: example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + description: BLS aggregate signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestations: - type: array - items: - type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' - required: - - aggregation_bits - - data - - signature - properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - data: + deposits: + type: array + items: type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' required: - - slot - - index - - beacon_block_root - - source - - target + - proof + - data properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' required: - - epoch - - root + - pubkey + - withdrawal_credentials + - amount + - signature properties: - epoch: + pubkey: type: string - example: '1' - root: + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - target: + amount: + description: Amount in Gwei. + type: string + example: '1' + signature: + description: Container self-signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' required: - epoch - - root + - validator_index properties: epoch: + description: Minimum epoch for processing exit. type: string example: '1' - root: + validator_index: + description: Index of the exiting validator. type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: BLS aggregate signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - deposits: - type: array - items: - type: object - description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' - required: - - proof - - data - properties: - proof: - type: array - description: Branch in the deposit tree. - items: + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 32 - maxItems: 32 - data: + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + bls_to_execution_changes: + type: array + items: type: object - description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' required: - - pubkey - - withdrawal_credentials - - amount + - message - signature properties: - pubkey: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - withdrawal_credentials: - description: The withdrawal credentials. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - amount: - description: Amount in Gwei. - type: string - example: '1' + message: + type: object + description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' + required: + - validator_index + - from_bls_pubkey + - to_execution_address + properties: + validator_index: + description: Index of the validator for which credentials will be changed. + type: string + example: '1' + from_bls_pubkey: + description: Public key of existing credentials. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + to_execution_address: + description: Execution address to which the credentials will be changed. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' signature: - description: Container self-signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - voluntary_exits: - type: array - items: - type: object - description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' - required: - - epoch - - validator_index - properties: - epoch: - description: Minimum epoch for processing exit. - type: string - example: '1' - validator_index: - description: Index of the exiting validator. - type: string - example: '1' - signature: + blob_kzg_commitments: + type: array + items: type: string format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - sync_aggregate: - type: object - description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + - type: object required: - - sync_committee_bits - - sync_committee_signature + - execution_payload properties: - sync_committee_bits: - description: Aggregation bits of sync - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - sync_committee_signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - bls_to_execution_changes: - type: array - items: - type: object - description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' - required: - - validator_index - - from_bls_pubkey - - to_execution_address - properties: - validator_index: - description: Index of the validator for which credentials will be changed. - type: string - example: '1' - from_bls_pubkey: - description: Public key of existing credentials. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - to_execution_address: - description: Execution address to which the credentials will be changed. - type: string - format: hex - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - blob_kzg_commitments: - type: array - items: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + execution_payload: + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - excess_blob_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + excess_blob_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions + - withdrawals + properties: + transactions: + type: array + items: + type: string + format: hex + description: A transaction on the execution (Ethereum 1) network. + example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' + pattern: '^0x[a-fA-F0-9]{0,2147483648}$' + maxItems: 1048576 + withdrawals: + type: array + items: + type: object + required: + - index + - validator_index + - address + - amount + properties: + index: + description: The index of the withdrawal. + type: string + example: '1' + validator_index: + description: The index of the withdrawing validator. + type: string + example: '1' + address: + description: The address to which the withdrawal is credited. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + amount: + description: The value withdrawn (gwei). + type: string + example: '1' + maxItems: 16 + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + Deneb.SignedBlockContents: + type: object + description: The required signed components of block production according to the Deneb CL spec. + required: + - signed_block + - kzg_proofs + - blobs + properties: + signed_block: + type: object + description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Deneb spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/beacon-chain.md#beaconblock) object from the CL Deneb spec.' + allOf: - type: object required: - - execution_payload + - slot + - proposer_index + - parent_root + - state_root properties: - execution_payload: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing Merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body + properties: + body: allOf: - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec.' required: - - parent_hash - - fee_recipient - - state_root - - receipts_root - - logs_bloom - - prev_randao - - block_number - - gas_limit - - gas_used - - timestamp - - extra_data - - base_fee_per_gas - - excess_blob_gas - - block_hash + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + - bls_to_execution_changes + - blob_kzg_commitments properties: - parent_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - fee_recipient: - type: string - format: hex - description: An address on the execution (Ethereum 1) network. - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - state_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - receipts_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - logs_bloom: - type: string - format: hex - example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' - pattern: '^0x[a-fA-F0-9]{512}$' - prev_randao: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - block_number: - type: string - example: '1' - gas_limit: - type: string - example: '1' - gas_used: - type: string - example: '1' - timestamp: - type: string - example: '1' - extra_data: - type: string - format: hex - description: Extra data on the execution (Ethereum 1) network. - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{0,64}$' - base_fee_per_gas: - type: string - example: '1' - excess_blob_gas: - type: string - example: '1' - block_hash: + randao_reveal: + allOf: + - type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - description: The RANDAO reveal value provided by the validator. + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - transactions - - withdrawals - properties: - transactions: - type: array - items: - type: string - format: hex - description: A transaction on the execution (Ethereum 1) network. - example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' - pattern: '^0x[a-fA-F0-9]{0,2147483648}$' - maxItems: 1048576 - withdrawals: + proposer_slashings: type: array items: type: object + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' required: - - index - - validator_index - - address - - amount + - signed_header_1 + - signed_header_2 properties: - index: - description: The index of the withdrawal. - type: string - example: '1' - validator_index: - description: The index of the withdrawing validator. - type: string - example: '1' - address: - description: The address to which the withdrawal is credited. - type: string - format: hex - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - amount: - description: The value withdrawn (gwei). - type: string - example: '1' - maxItems: 16 - Deneb.BlockContents: - type: object - description: The required object for block production according to the Deneb CL spec. - required: - - block - - kzg_proofs - - blobs - properties: - block: - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblock) object from the CL Deneb spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing Merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body - properties: - body: - allOf: - - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec.' - required: - - randao_reveal - - eth1_data - - graffiti - - proposer_slashings - - attester_slashings - - attestations - - deposits - - voluntary_exits - - sync_aggregate - - bls_to_execution_changes - - blob_kzg_commitments - properties: - randao_reveal: - allOf: - - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - description: The RANDAO reveal value provided by the validator. - eth1_data: - type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' - required: - - deposit_root - - deposit_count - - block_hash - properties: - deposit_root: - description: Root of the deposit tree. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. - type: string - example: '1' - block_hash: - description: Ethereum 1.x block hash. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - graffiti: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - proposer_slashings: - type: array - items: - type: object - description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' - required: - - signed_header_1 - - signed_header_2 - properties: - signed_header_1: + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' required: - - message - - signature + - attestation_1 + - attestation_2 properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - slot - - proposer_index - - parent_root - - state_root + - index + - beacon_block_root + - source + - target properties: slot: - description: The slot to which this block corresponds. type: string example: '1' - proposer_index: - description: Index of validator in validator registry. + index: type: string example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: + type: object + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + required: + - aggregation_bits + - data + - signature + properties: + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - - type: object + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' required: - - body_root + - epoch + - root properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + epoch: + type: string + example: '1' + root: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' signature: + description: BLS aggregate signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signed_header_2: + deposits: + type: array + items: type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + required: + - proof + - data + properties: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: + type: object + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + properties: + pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: Amount in Gwei. + type: string + example: '1' + signature: + description: Container self-signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' required: - message - signature properties: message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + bls_to_execution_changes: + type: array + items: + type: object + description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' + required: + - validator_index + - from_bls_pubkey + - to_execution_address + properties: + validator_index: + description: Index of the validator for which credentials will be changed. + type: string + example: '1' + from_bls_pubkey: + description: Public key of existing credentials. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + to_execution_address: + description: Execution address to which the credentials will be changed. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + blob_kzg_commitments: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + - type: object + required: + - execution_payload + properties: + execution_payload: + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - excess_blob_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + excess_blob_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions + - withdrawals + properties: + transactions: + type: array + items: + type: string + format: hex + description: A transaction on the execution (Ethereum 1) network. + example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' + pattern: '^0x[a-fA-F0-9]{0,2147483648}$' + maxItems: 1048576 + withdrawals: + type: array + items: + type: object required: - - slot - - proposer_index - - parent_root - - state_root + - index + - validator_index + - address + - amount properties: - slot: - description: The slot to which this block corresponds. + index: + description: The index of the withdrawal. type: string example: '1' - proposer_index: - description: Index of validator in validator registry. + validator_index: + description: The index of the withdrawing validator. type: string example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + address: + description: The address to which the withdrawal is credited. type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + amount: + description: The value withdrawn (gwei). type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attester_slashings: - type: array - items: + example: '1' + maxItems: 16 + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + kzg_proofs: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Used for verifying that the `KZGCommitment` for a given `Blob` is correct. + minItems: 0 + maxItems: 4096 + blobs: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{262144}$' + description: A blob is `FIELD_ELEMENTS_PER_BLOB * size_of(BLSFieldElement) = 4096 * 32 = 131072` bytes (`DATA`) representing a Blob as defined in Deneb + minItems: 0 + maxItems: 4096 + Deneb.BlindedBeaconBlock: + description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/beacon-chain.md#beaconblock) object from the CL Deneb spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing Merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body + properties: + body: + description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec, which contains a transactions root rather than a full transactions list.' + allOf: + - type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec.' + required: + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + - bls_to_execution_changes + - blob_kzg_commitments + properties: + randao_reveal: + allOf: + - type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - description: The RANDAO reveal value provided by the validator. + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + proposer_slashings: + type: array + items: + type: object + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' + required: + - signed_header_1 + - signed_header_2 + properties: + signed_header_1: type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' required: - - attestation_1 - - attestation_2 + - message + - signature properties: - attestation_1: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' - required: - - attesting_indices - - data - - signature - properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object required: - slot - - index - - beacon_block_root - - source - - target + - proposer_index + - parent_root + - state_root properties: slot: + description: The slot to which this block corresponds. type: string example: '1' - index: + proposer_index: + description: Index of validator in validator registry. type: string example: '1' - beacon_block_root: - description: LMD GHOST vote. + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestation_2: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' - required: - - attesting_indices - - data - - signature - properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object required: - slot - - index - - beacon_block_root - - source - - target + - proposer_index + - parent_root + - state_root properties: slot: + description: The slot to which this block corresponds. type: string example: '1' - index: + proposer_index: + description: Index of validator in validator registry. type: string example: '1' - beacon_block_root: - description: LMD GHOST vote. + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestations: - type: array - items: + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' required: - - aggregation_bits + - attesting_indices - data - signature properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' + attesting_indices: + type: array + maxItems: 2048 + description: Attesting validator indices + items: + type: string + example: '1' data: type: object description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' @@ -62290,308 +72538,410 @@ components: example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' signature: - description: BLS aggregate signature. + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - deposits: - type: array - items: + attestation_2: type: object - description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' required: - - proof + - attesting_indices - data + - signature properties: - proof: + attesting_indices: type: array - description: Branch in the deposit tree. + maxItems: 2048 + description: Attesting validator indices items: type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 32 - maxItems: 32 + example: '1' data: type: object - description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - - pubkey - - withdrawal_credentials - - amount - - signature + - slot + - index + - beacon_block_root + - source + - target properties: - pubkey: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. type: string format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - withdrawal_credentials: - description: The withdrawal credentials. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: + type: object + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + required: + - aggregation_bits + - data + - signature + properties: + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - amount: - description: Amount in Gwei. + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: type: string example: '1' - signature: - description: Container self-signature. + root: type: string format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - voluntary_exits: - type: array - items: + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: BLS aggregate signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + deposits: + type: array + items: + type: object + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + required: + - proof + - data + properties: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: + type: object + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + properties: + pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: Amount in Gwei. + type: string + example: '1' + signature: + description: Container self-signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + bls_to_execution_changes: + type: array + items: + type: object + description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' + required: + - message + - signature + properties: + message: type: object - description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' required: - - message - - signature + - validator_index + - from_bls_pubkey + - to_execution_address properties: - message: - type: object - description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' - required: - - epoch - - validator_index - properties: - epoch: - description: Minimum epoch for processing exit. - type: string - example: '1' - validator_index: - description: Index of the exiting validator. - type: string - example: '1' - signature: + validator_index: + description: Index of the validator for which credentials will be changed. + type: string + example: '1' + from_bls_pubkey: + description: Public key of existing credentials. type: string format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - sync_aggregate: - type: object - description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + to_execution_address: + description: Execution address to which the credentials will be changed. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + blob_kzg_commitments: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + - type: object + required: + - execution_payload_header + properties: + execution_payload_header: + description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' required: - - sync_committee_bits - - sync_committee_signature + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - excess_blob_gas + - block_hash properties: - sync_committee_bits: - description: Aggregation bits of sync + parent_hash: type: string format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - sync_committee_signature: + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: type: string format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - bls_to_execution_changes: - type: array - items: - type: object - description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' - required: - - validator_index - - from_bls_pubkey - - to_execution_address - properties: - validator_index: - description: Index of the validator for which credentials will be changed. - type: string - example: '1' - from_bls_pubkey: - description: Public key of existing credentials. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - to_execution_address: - description: Execution address to which the credentials will be changed. - type: string - format: hex - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - blob_kzg_commitments: - type: array - items: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - - type: object - required: - - execution_payload - properties: - execution_payload: - allOf: - - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' - required: - - parent_hash - - fee_recipient - - state_root - - receipts_root - - logs_bloom - - prev_randao - - block_number - - gas_limit - - gas_used - - timestamp - - extra_data - - base_fee_per_gas - - excess_blob_gas - - block_hash - properties: - parent_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - fee_recipient: - type: string - format: hex - description: An address on the execution (Ethereum 1) network. - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - state_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - receipts_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - logs_bloom: - type: string - format: hex - example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' - pattern: '^0x[a-fA-F0-9]{512}$' - prev_randao: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - block_number: - type: string - example: '1' - gas_limit: - type: string - example: '1' - gas_used: - type: string - example: '1' - timestamp: - type: string - example: '1' - extra_data: - type: string - format: hex - description: Extra data on the execution (Ethereum 1) network. - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{0,64}$' - base_fee_per_gas: - type: string - example: '1' - excess_blob_gas: - type: string - example: '1' - block_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - transactions - - withdrawals - properties: - transactions: - type: array - items: - type: string - format: hex - description: A transaction on the execution (Ethereum 1) network. - example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' - pattern: '^0x[a-fA-F0-9]{0,2147483648}$' - maxItems: 1048576 - withdrawals: - type: array - items: - type: object - required: - - index - - validator_index - - address - - amount - properties: - index: - description: The index of the withdrawal. - type: string - example: '1' - validator_index: - description: The index of the withdrawing validator. - type: string - example: '1' - address: - description: The address to which the withdrawal is credited. - type: string - format: hex - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - amount: - description: The value withdrawn (gwei). - type: string - example: '1' - maxItems: 16 - kzg_proofs: - type: array - items: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: A G1 curve point. Used for verifying that the `KZGCommitment` for a given `Blob` is correct. - minItems: 0 - maxItems: 4096 - blobs: - type: array - items: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{262144}$' - description: A blob is `FIELD_ELEMENTS_PER_BLOB * size_of(BLSFieldElement) = 4096 * 32 = 131072` bytes (`DATA`) representing a Blob as defined in Deneb - minItems: 0 - maxItems: 4096 - Deneb.SignedBeaconBlock: + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + excess_blob_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions_root + - withdrawals_root + properties: + transactions_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + withdrawals_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + Deneb.SignedBlindedBeaconBlock: type: object - description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#signedbeaconblock) object envelope from the CL Deneb spec.' + description: 'A variant of the [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Deneb spec, which contains a `BlindedBeaconBlock` rather than a `BeaconBlock`.' required: - message - signature properties: message: - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblock) object from the CL Deneb spec.' + description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/beacon-chain.md#beaconblock) object from the CL Deneb spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' allOf: - type: object required: @@ -62625,6 +72975,7 @@ components: - body properties: body: + description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec, which contains a transactions root rather than a full transactions list.' allOf: - type: object description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec.' @@ -63164,9 +73515,10 @@ components: example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - type: object required: - - execution_payload + - execution_payload_header properties: - execution_payload: + execution_payload_header: + description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' allOf: - type: object description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' @@ -63248,1471 +73600,2649 @@ components: pattern: '^0x[a-fA-F0-9]{64}$' - type: object required: - - transactions - - withdrawals + - transactions_root + - withdrawals_root properties: - transactions: - type: array - items: - type: string - format: hex - description: A transaction on the execution (Ethereum 1) network. - example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' - pattern: '^0x[a-fA-F0-9]{0,2147483648}$' - maxItems: 1048576 - withdrawals: - type: array - items: - type: object - required: - - index - - validator_index - - address - - amount - properties: - index: - description: The index of the withdrawal. - type: string - example: '1' - validator_index: - description: The index of the withdrawing validator. - type: string - example: '1' - address: - description: The address to which the withdrawal is credited. - type: string - format: hex - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - amount: - description: The value withdrawn (gwei). - type: string - example: '1' - maxItems: 16 + transactions_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + withdrawals_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' signature: type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - Deneb.SignedBlockContents: + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + Deneb.LightClientBootstrap: + type: object + required: + - header + - current_sync_committee + - current_sync_committee_branch + properties: + header: + type: object + required: + - beacon + - execution + - execution_branch + properties: + beacon: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + execution: + description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - excess_blob_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + excess_blob_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions_root + - withdrawals_root + properties: + transactions_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + withdrawals_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + execution_branch: + type: array + items: + description: 'Merkle proof consisting of [`log2trunc(EXECUTION_PAYLOAD_INDEX])`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/light-client/sync-protocol.md#constants) roots' + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 4 + maxItems: 4 + current_sync_committee: + type: object + required: + - pubkeys + - aggregate_pubkey + properties: + pubkeys: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + minItems: 512 + maxItems: 512 + aggregate_pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + current_sync_committee_branch: + type: array + items: + description: 'Merkle proof consisting of [`log2trunc(CURRENT_SYNC_COMMITTEE_INDEX])`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/light-client/sync-protocol.md#constants) roots' + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 5 + maxItems: 5 + Deneb.LightClientUpdate: + type: object + required: + - attested_header + - next_sync_committee + - next_sync_committee_branch + - finalized_header + - finality_branch + - sync_aggregate + - signature_slot + properties: + attested_header: + type: object + required: + - beacon + - execution + - execution_branch + properties: + beacon: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + execution: + description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - excess_blob_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + excess_blob_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions_root + - withdrawals_root + properties: + transactions_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + withdrawals_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + execution_branch: + type: array + items: + description: 'Merkle proof consisting of [`log2trunc(EXECUTION_PAYLOAD_INDEX])`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/light-client/sync-protocol.md#constants) roots' + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 4 + maxItems: 4 + next_sync_committee: + type: object + required: + - pubkeys + - aggregate_pubkey + properties: + pubkeys: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + minItems: 512 + maxItems: 512 + aggregate_pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + next_sync_committee_branch: + type: array + items: + description: 'Merkle proof consisting of [`log2trunc(NEXT_SYNC_COMMITTEE_INDEX])`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/light-client/sync-protocol.md#constants) roots' + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 5 + maxItems: 5 + finalized_header: + type: object + required: + - beacon + - execution + - execution_branch + properties: + beacon: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + execution: + description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - excess_blob_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + excess_blob_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions_root + - withdrawals_root + properties: + transactions_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + withdrawals_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + execution_branch: + type: array + items: + description: 'Merkle proof consisting of [`log2trunc(EXECUTION_PAYLOAD_INDEX])`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/light-client/sync-protocol.md#constants) roots' + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 4 + maxItems: 4 + finality_branch: + type: array + items: + description: 'Merkle proof consisting of [`log2trunc(FINALIZED_ROOT_INDEX])`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/light-client/sync-protocol.md#constants) roots' + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 6 + maxItems: 6 + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signature_slot: + type: string + example: '1' + Deneb.LightClientFinalityUpdate: + type: object + required: + - attested_header + - finalized_header + - finality_branch + - sync_aggregate + - signature_slot + properties: + attested_header: + type: object + required: + - beacon + - execution + - execution_branch + properties: + beacon: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + execution: + description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - excess_blob_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + excess_blob_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions_root + - withdrawals_root + properties: + transactions_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + withdrawals_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + execution_branch: + type: array + items: + description: 'Merkle proof consisting of [`log2trunc(EXECUTION_PAYLOAD_INDEX])`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/light-client/sync-protocol.md#constants) roots' + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 4 + maxItems: 4 + finalized_header: + type: object + required: + - beacon + - execution + - execution_branch + properties: + beacon: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + execution: + description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - excess_blob_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + excess_blob_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions_root + - withdrawals_root + properties: + transactions_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + withdrawals_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + execution_branch: + type: array + items: + description: 'Merkle proof consisting of [`log2trunc(EXECUTION_PAYLOAD_INDEX])`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/light-client/sync-protocol.md#constants) roots' + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 4 + maxItems: 4 + finality_branch: + type: array + items: + description: 'Merkle proof consisting of [`log2trunc(FINALIZED_ROOT_INDEX])`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/light-client/sync-protocol.md#constants) roots' + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 6 + maxItems: 6 + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signature_slot: + type: string + example: '1' + Deneb.LightClientOptimisticUpdate: + type: object + required: + - attested_header + - sync_aggregate + - signature_slot + properties: + attested_header: + type: object + required: + - beacon + - execution + - execution_branch + properties: + beacon: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + execution: + description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - excess_blob_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + excess_blob_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions_root + - withdrawals_root + properties: + transactions_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + withdrawals_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + execution_branch: + type: array + items: + description: 'Merkle proof consisting of [`log2trunc(EXECUTION_PAYLOAD_INDEX])`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/light-client/sync-protocol.md#constants) roots' + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 4 + maxItems: 4 + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signature_slot: + type: string + example: '1' + Blob: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{262144}$' + description: A blob is `FIELD_ELEMENTS_PER_BLOB * size_of(BLSFieldElement) = 4096 * 32 = 131072` bytes (`DATA`) representing a Blob as defined in Deneb + Deneb.BlobSidecars: + type: array + items: + type: object + description: A blob sidecar as defined in the Deneb consensus spec. + required: + - index + - blob + - kzg_commitment + - kzg_proof + - signed_block_header + - kzg_commitment_inclusion_proof + properties: + index: + type: string + example: '1' + blob: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{262144}$' + description: A blob is `FIELD_ELEMENTS_PER_BLOB * size_of(BLSFieldElement) = 4096 * 32 = 131072` bytes (`DATA`) representing a Blob as defined in Deneb + kzg_commitment: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + kzg_proof: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Used for verifying that the `KZGCommitment` for a given `Blob` is correct. + signed_block_header: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + kzg_commitment_inclusion_proof: + type: array + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 17 + maxItems: 17 + minItems: 0 + maxItems: 6 + Electra.BeaconState: + type: object + description: 'The [`BeaconState`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#beaconstate) object from the CL Electra spec.' + required: + - genesis_time + - genesis_validators_root + - slot + - fork + - latest_block_header + - block_roots + - state_roots + - historical_roots + - eth1_data + - eth1_data_votes + - eth1_deposit_index + - validators + - balances + - randao_mixes + - slashings + - previous_epoch_participation + - current_epoch_participation + - justification_bits + - previous_justified_checkpoint + - current_justified_checkpoint + - finalized_checkpoint + - inactivity_scores + - current_sync_committee + - next_sync_committee + - latest_execution_payload_header + - next_withdrawal_index + - next_withdrawal_validator_index + - historical_summaries + - deposit_requests_start_index + - deposit_balance_to_consume + - exit_balance_to_consume + - earliest_exit_epoch + - consolidation_balance_to_consume + - earliest_consolidation_epoch + - pending_balance_deposits + - pending_partial_withdrawals + - pending_consolidations + properties: + genesis_time: + type: string + example: '1' + genesis_validators_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + slot: + type: string + example: '1' + fork: + type: object + description: 'The [`Fork`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#fork) object from the CL spec.' + required: + - previous_version + - current_version + - epoch + properties: + previous_version: + type: string + format: hex + description: a fork version number + example: '0x00000000' + pattern: '^0x[a-fA-F0-9]{8}$' + current_version: + type: string + format: hex + description: a fork version number + example: '0x00000000' + pattern: '^0x[a-fA-F0-9]{8}$' + epoch: + type: string + example: '1' + latest_block_header: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_roots: + type: array + description: Fixed length of 8192 items + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_roots: + type: array + description: Fixed length of 8192 items + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + historical_roots: + type: array + description: 'Variable length list, maximum 16777216 items. Frozen in Capella, replaced by historical_summaries.' + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + eth1_data_votes: + type: array + description: Fixed length of 1024 items + items: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + maxItems: 1024 + eth1_deposit_index: + type: string + example: '1' + validators: + type: array + description: 'Variable length list, maximum 1099511627776 items' + items: + type: object + required: + - pubkey + - withdrawal_credentials + - effective_balance + - slashed + - activation_eligibility_epoch + - activation_epoch + - exit_epoch + - withdrawable_epoch + properties: + pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: Root of withdrawal credentials + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + effective_balance: + description: Balance at stake in Gwei. + type: string + example: '1' + slashed: + type: boolean + example: false + description: Was validator slashed (not longer active). + activation_eligibility_epoch: + description: When criteria for activation were met. + type: string + example: '1' + activation_epoch: + description: Epoch when validator activated. 'FAR_FUTURE_EPOCH' if not activated + type: string + example: '1' + exit_epoch: + description: Epoch when validator exited. 'FAR_FUTURE_EPOCH' if not exited. + type: string + example: '1' + withdrawable_epoch: + description: When validator can withdraw or transfer funds. 'FAR_FUTURE_EPOCH' if not defined + type: string + example: '1' + balances: + type: array + description: 'Validator balances in gwei. Variable length list, maximum 1099511627776 items' + items: + type: string + example: '1' + randao_mixes: + type: array + description: Fixed length of 65536 items + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + slashings: + type: array + description: Per-epoch sums of slashed effective balances. Fixed length of 8192 items + items: + type: string + example: '1' + previous_epoch_participation: + type: array + items: + type: string + description: 'Unsigned 8 bit integer, max value 255' + pattern: '^[1-2]?[0-9]{1,2}$' + example: '0' + maxItems: 1099511627776 + current_epoch_participation: + type: array + items: + type: string + description: 'Unsigned 8 bit integer, max value 255' + pattern: '^[1-2]?[0-9]{1,2}$' + example: '0' + maxItems: 1099511627776 + justification_bits: + description: Bit set for every recent justified epoch + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + previous_justified_checkpoint: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + current_justified_checkpoint: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + finalized_checkpoint: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + inactivity_scores: + description: 'Per-validator inactivity scores. Introduced in Altair. Variable length list, maximum 1099511627776 items' + type: array + items: + type: string + example: '1' + current_sync_committee: + type: object + required: + - pubkeys + - aggregate_pubkey + properties: + pubkeys: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + minItems: 512 + maxItems: 512 + aggregate_pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + next_sync_committee: + type: object + required: + - pubkeys + - aggregate_pubkey + properties: + pubkeys: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + minItems: 512 + maxItems: 512 + aggregate_pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + latest_execution_payload_header: + description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - excess_blob_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + excess_blob_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions_root + - withdrawals_root + properties: + transactions_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + withdrawals_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + next_withdrawal_index: + type: string + example: '1' + next_withdrawal_validator_index: + type: string + example: '1' + historical_summaries: + type: array + items: + type: object + description: 'The [`HistoricalSummary`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#historicalsummary) object from the CL Capella spec.' + required: + - block_summary_root + - state_summary_root + properties: + block_summary_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_summary_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + description: 'Variable length list, maximum 16777216 items' + deposit_requests_start_index: + type: string + example: '1' + deposit_balance_to_consume: + type: string + example: '1' + exit_balance_to_consume: + type: string + example: '1' + earliest_exit_epoch: + type: string + example: '1' + consolidation_balance_to_consume: + type: string + example: '1' + earliest_consolidation_epoch: + type: string + example: '1' + pending_balance_deposits: + type: array + items: + type: object + description: 'The [`PendingBalanceDeposit`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#pendingbalancedeposit) object from the CL Electra spec.' + required: + - index + - amount + properties: + index: + description: Index of validator in validator registry. + type: string + example: '1' + amount: + description: The value to be deposited (gwei). + type: string + example: '1' + maxItems: 134217728 + pending_partial_withdrawals: + type: array + items: + type: object + description: 'The [`PendingPartialWithdrawal`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#pendingpartialwithdrawal) object from the CL Electra spec.' + required: + - index + - amount + - withdrawable_epoch + properties: + index: + description: Index of validator in validator registry. + type: string + example: '1' + amount: + description: The value to be withdrawn (gwei). + type: string + example: '1' + withdrawable_epoch: + description: The epoch when the amount is withdrawable. + type: string + example: '1' + maxItems: 134217728 + pending_consolidations: + type: array + items: + type: object + description: 'The [`PendingConsolidation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#pendingconsolidation) object from the CL Electra spec.' + required: + - source_index + - target_index + properties: + source_index: + description: Index of validator to consolidate from. + type: string + example: '1' + target_index: + description: Index of validator to consolidate to. + type: string + example: '1' + maxItems: 262144 + Electra.BlockContents: type: object - description: The required signed components of block production according to the Deneb CL spec. + description: The required object for block production according to the Electra CL spec. required: - - signed_block + - block - kzg_proofs - blobs properties: - signed_block: - type: object - description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#signedbeaconblock) object envelope from the CL Deneb spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblock) object from the CL Deneb spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing Merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body - properties: - body: - allOf: - - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec.' + block: + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/phase0/beacon-chain.md#beaconblock) object from the CL Electra spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing Merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body + properties: + body: + allOf: + - type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#beaconblockbody) object from the CL Electra spec.' + required: + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + - bls_to_execution_changes + - blob_kzg_commitments + properties: + randao_reveal: + allOf: + - type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - description: The RANDAO reveal value provided by the validator. + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' required: - - randao_reveal - - eth1_data - - graffiti - - proposer_slashings - - attester_slashings - - attestations - - deposits - - voluntary_exits - - sync_aggregate - - bls_to_execution_changes - - blob_kzg_commitments + - deposit_root + - deposit_count + - block_hash properties: - randao_reveal: - allOf: - - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - description: The RANDAO reveal value provided by the validator. - eth1_data: - type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' - required: - - deposit_root - - deposit_count - - block_hash - properties: - deposit_root: - description: Root of the deposit tree. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. - type: string - example: '1' - block_hash: - description: Ethereum 1.x block hash. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - graffiti: + deposit_root: + description: Root of the deposit tree. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - proposer_slashings: - type: array - items: - type: object - description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' - required: - - signed_header_1 - - signed_header_2 - properties: - signed_header_1: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signed_header_2: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attester_slashings: - type: array - items: + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + proposer_slashings: + type: array + items: + type: object + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' + required: + - signed_header_1 + - signed_header_2 + properties: + signed_header_1: type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' - required: - - attestation_1 - - attestation_2 - properties: - attestation_1: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' - required: - - attesting_indices - - data - - signature - properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestation_2: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' - required: - - attesting_indices - - data - - signature - properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object required: - slot - - index - - beacon_block_root - - source - - target + - proposer_index + - parent_root + - state_root properties: slot: + description: The slot to which this block corresponds. type: string example: '1' - index: + proposer_index: + description: Index of validator in validator registry. type: string example: '1' - beacon_block_root: - description: LMD GHOST vote. + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestations: - type: array - items: - type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' - required: - - aggregation_bits - - data - - signature - properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + - type: object required: - - epoch - - root + - body_root properties: - epoch: - type: string - example: '1' - root: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: BLS aggregate signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - deposits: - type: array - items: - type: object - description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' - required: - - proof - - data - properties: - proof: - type: array - description: Branch in the deposit tree. - items: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 32 - maxItems: 32 - data: - type: object - description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' - required: - - pubkey - - withdrawal_credentials - - amount - - signature - properties: - pubkey: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - withdrawal_credentials: - description: The withdrawal credentials. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - amount: - description: Amount in Gwei. - type: string - example: '1' - signature: - description: Container self-signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - voluntary_exits: - type: array - items: - type: object - description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' - required: - - epoch - - validator_index - properties: - epoch: - description: Minimum epoch for processing exit. - type: string - example: '1' - validator_index: - description: Index of the exiting validator. - type: string - example: '1' signature: type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - sync_aggregate: - type: object - description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' - required: - - sync_committee_bits - - sync_committee_signature - properties: - sync_committee_bits: - description: Aggregation bits of sync - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - sync_committee_signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - bls_to_execution_changes: - type: array - items: + signed_header_2: type: object - description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' required: - message - signature properties: message: - type: object - description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' - required: - - validator_index - - from_bls_pubkey - - to_execution_address - properties: - validator_index: - description: Index of the validator for which credentials will be changed. - type: string - example: '1' - from_bls_pubkey: - description: Public key of existing credentials. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - to_execution_address: - description: Execution address to which the credentials will be changed. - type: string - format: hex - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - blob_kzg_commitments: - type: array - items: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - - type: object - required: - - execution_payload - properties: - execution_payload: - allOf: - - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' - required: - - parent_hash - - fee_recipient - - state_root - - receipts_root - - logs_bloom - - prev_randao - - block_number - - gas_limit - - gas_used - - timestamp - - extra_data - - base_fee_per_gas - - excess_blob_gas - - block_hash - properties: - parent_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - fee_recipient: - type: string - format: hex - description: An address on the execution (Ethereum 1) network. - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - state_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - receipts_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - logs_bloom: - type: string - format: hex - example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' - pattern: '^0x[a-fA-F0-9]{512}$' - prev_randao: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - block_number: - type: string - example: '1' - gas_limit: - type: string - example: '1' - gas_used: - type: string - example: '1' - timestamp: - type: string - example: '1' - extra_data: - type: string - format: hex - description: Extra data on the execution (Ethereum 1) network. - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{0,64}$' - base_fee_per_gas: - type: string - example: '1' - excess_blob_gas: - type: string - example: '1' - block_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - transactions - - withdrawals - properties: - transactions: - type: array - items: - type: string - format: hex - description: A transaction on the execution (Ethereum 1) network. - example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' - pattern: '^0x[a-fA-F0-9]{0,2147483648}$' - maxItems: 1048576 - withdrawals: - type: array - items: - type: object + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object required: - - index - - validator_index - - address - - amount - properties: - index: - description: The index of the withdrawal. - type: string - example: '1' - validator_index: - description: The index of the withdrawing validator. - type: string - example: '1' - address: - description: The address to which the withdrawal is credited. - type: string - format: hex - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - amount: - description: The value withdrawn (gwei). - type: string - example: '1' - maxItems: 16 - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - kzg_proofs: - type: array - items: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: A G1 curve point. Used for verifying that the `KZGCommitment` for a given `Blob` is correct. - minItems: 0 - maxItems: 4096 - blobs: - type: array - items: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{262144}$' - description: A blob is `FIELD_ELEMENTS_PER_BLOB * size_of(BLSFieldElement) = 4096 * 32 = 131072` bytes (`DATA`) representing a Blob as defined in Deneb - minItems: 0 - maxItems: 4096 - Deneb.BlindedBeaconBlock: - description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblock) object from the CL Deneb spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing Merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body - properties: - body: - description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec, which contains a transactions root rather than a full transactions list.' - allOf: - - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec.' - required: - - randao_reveal - - eth1_data - - graffiti - - proposer_slashings - - attester_slashings - - attestations - - deposits - - voluntary_exits - - sync_aggregate - - bls_to_execution_changes - - blob_kzg_commitments - properties: - randao_reveal: - allOf: - - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - - description: The RANDAO reveal value provided by the validator. - eth1_data: - type: object - description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' - required: - - deposit_root - - deposit_count - - block_hash - properties: - deposit_root: - description: Root of the deposit tree. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - deposit_count: - description: Total number of deposits. - type: string - example: '1' - block_hash: - description: Ethereum 1.x block hash. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - graffiti: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - proposer_slashings: - type: array - items: - type: object - description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' - required: - - signed_header_1 - - signed_header_2 - properties: - signed_header_1: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attesterslashing) object from the CL spec.' required: - - message - - signature + - attestation_1 + - attestation_2 properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 131072 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - slot - - proposer_index - - parent_root - - state_root + - index + - beacon_block_root + - source + - target properties: slot: - description: The slot to which this block corresponds. type: string example: '1' - proposer_index: - description: Index of validator in validator registry. + index: type: string example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - - type: object + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 131072 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' required: - - body_root + - slot + - index + - beacon_block_root + - source + - target properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signed_header_2: + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attestation) object from the CL spec.' required: - - message + - aggregation_bits + - data - signature + - committee_bits properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' required: - - slot - - proposer_index - - parent_root - - state_root + - epoch + - root properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. + epoch: type: string example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + root: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - - type: object + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' required: - - body_root + - epoch + - root properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + epoch: + type: string + example: '1' + root: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' signature: + description: BLS aggregate signature. type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attester_slashings: - type: array - items: - type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' - required: - - attestation_1 - - attestation_2 - properties: - attestation_1: + committee_bits: + description: Committee bits. + example: '0x0000000000000001' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{2,}$' + deposits: + type: array + items: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' required: - - attesting_indices + - proof - data - - signature properties: - attesting_indices: + proof: type: array - maxItems: 2048 - description: Attesting validator indices + description: Branch in the deposit tree. items: type: string - example: '1' + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 data: type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' required: - - slot - - index - - beacon_block_root - - source - - target + - pubkey + - withdrawal_credentials + - amount + - signature properties: - slot: + pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: Amount in Gwei. type: string example: '1' - index: + signature: + description: Container self-signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. type: string example: '1' - beacon_block_root: - description: LMD GHOST vote. + validator_index: + description: Index of the exiting validator. + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + bls_to_execution_changes: + type: array + items: + type: object + description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' + required: + - validator_index + - from_bls_pubkey + - to_execution_address + properties: + validator_index: + description: Index of the validator for which credentials will be changed. + type: string + example: '1' + from_bls_pubkey: + description: Public key of existing credentials. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + to_execution_address: + description: Execution address to which the credentials will be changed. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + blob_kzg_commitments: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + - type: object + required: + - execution_payload + - execution_requests + properties: + execution_payload: + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - excess_blob_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + excess_blob_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions + - withdrawals + properties: + transactions: + type: array + items: type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: + description: A transaction on the execution (Ethereum 1) network. + example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' + pattern: '^0x[a-fA-F0-9]{0,2147483648}$' + maxItems: 1048576 + withdrawals: + type: array + items: type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' required: - - epoch - - root + - index + - validator_index + - address + - amount properties: - epoch: + index: + description: The index of the withdrawal. type: string example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: + validator_index: + description: The index of the withdrawing validator. type: string example: '1' - root: + address: + description: The address to which the withdrawal is credited. type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestation_2: - type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' - required: - - attesting_indices - - data - - signature - properties: - attesting_indices: - type: array - maxItems: 2048 - description: Attesting validator indices - items: - type: string - example: '1' - data: + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + amount: + description: The value withdrawn (gwei). + type: string + example: '1' + maxItems: 16 + execution_requests: + type: object + description: 'The [`ExecutionRequests`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.6/specs/electra/beacon-chain.md#executionrequests) object from the CL Electra spec.' + required: + - deposits + - withdrawals + - consolidations + properties: + deposits: + type: array + items: type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + description: 'The [`DepositRequest`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#depositrequest) object from the CL Electra spec.' required: - - slot + - pubkey + - withdrawal_credentials + - amount + - signature - index - - beacon_block_root - - source - - target properties: - slot: - type: string - example: '1' - index: + pubkey: + description: BLS public key of validator. type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - source: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: - type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' - required: - - epoch - - root - properties: - epoch: - type: string - example: '1' - root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - attestations: - type: array - items: - type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' - required: - - aggregation_bits - - data - - signature - properties: - aggregation_bits: - description: Attester aggregation bits. - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - data: - type: object - description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' - required: - - slot - - index - - beacon_block_root - - source - - target - properties: - slot: - type: string - example: '1' - index: - type: string - example: '1' - beacon_block_root: - description: LMD GHOST vote. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - source: + amount: + description: The value to be deposited (gwei). + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + index: + description: The index of the deposit request. + type: string + example: '1' + maxItems: 8192 + withdrawals: + type: array + items: type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + description: 'The [`WithdrawalRequest`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#withdrawalrequest) object from the CL Electra spec.' required: - - epoch - - root + - source_address + - validator_pubkey + - amount properties: - epoch: + source_address: + description: Execution address which sent the request. type: string - example: '1' - root: + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + validator_pubkey: + description: BLS public key of validator. type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - target: + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + amount: + description: The value to be withdrawn (gwei). + type: string + example: '1' + maxItems: 16 + consolidations: + type: array + items: type: object - description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + description: 'The [`ConsolidationRequest`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#consolidationrequest) object from the CL Electra spec.' required: - - epoch - - root + - source_address + - source_pubkey + - target_pubkey properties: - epoch: + source_address: + description: Execution address which sent the request. type: string - example: '1' - root: + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + source_pubkey: + description: BLS public key of validator to consolidate from. type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - description: BLS aggregate signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - deposits: - type: array - items: - type: object - description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' - required: - - proof - - data - properties: - proof: - type: array - description: Branch in the deposit tree. - items: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 32 - maxItems: 32 - data: - type: object - description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' - required: - - pubkey - - withdrawal_credentials - - amount - - signature - properties: - pubkey: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - withdrawal_credentials: - description: The withdrawal credentials. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - amount: - description: Amount in Gwei. - type: string - example: '1' - signature: - description: Container self-signature. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - voluntary_exits: - type: array - items: - type: object - description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' - required: - - epoch - - validator_index - properties: - epoch: - description: Minimum epoch for processing exit. - type: string - example: '1' - validator_index: - description: Index of the exiting validator. - type: string - example: '1' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - sync_aggregate: - type: object - description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' - required: - - sync_committee_bits - - sync_committee_signature - properties: - sync_committee_bits: - description: Aggregation bits of sync - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - sync_committee_signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - bls_to_execution_changes: - type: array - items: - type: object - description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' - required: - - message - - signature - properties: - message: - type: object - description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' - required: - - validator_index - - from_bls_pubkey - - to_execution_address - properties: - validator_index: - description: Index of the validator for which credentials will be changed. - type: string - example: '1' - from_bls_pubkey: - description: Public key of existing credentials. - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - to_execution_address: - description: Execution address to which the credentials will be changed. - type: string - format: hex - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - blob_kzg_commitments: - type: array - items: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - - type: object - required: - - execution_payload_header - properties: - execution_payload_header: - description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' - allOf: - - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' - required: - - parent_hash - - fee_recipient - - state_root - - receipts_root - - logs_bloom - - prev_randao - - block_number - - gas_limit - - gas_used - - timestamp - - extra_data - - base_fee_per_gas - - excess_blob_gas - - block_hash - properties: - parent_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - fee_recipient: - type: string - format: hex - description: An address on the execution (Ethereum 1) network. - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - state_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - receipts_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - logs_bloom: - type: string - format: hex - example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' - pattern: '^0x[a-fA-F0-9]{512}$' - prev_randao: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - block_number: - type: string - example: '1' - gas_limit: - type: string - example: '1' - gas_used: - type: string - example: '1' - timestamp: - type: string - example: '1' - extra_data: - type: string - format: hex - description: Extra data on the execution (Ethereum 1) network. - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{0,64}$' - base_fee_per_gas: - type: string - example: '1' - excess_blob_gas: - type: string - example: '1' - block_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - transactions_root - - withdrawals_root - properties: - transactions_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - withdrawals_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - Deneb.SignedBlindedBeaconBlock: + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + target_pubkey: + description: BLS public key of validator to consolidate to. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + maxItems: 1 + kzg_proofs: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Used for verifying that the `KZGCommitment` for a given `Blob` is correct. + minItems: 0 + maxItems: 4096 + blobs: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{262144}$' + description: A blob is `FIELD_ELEMENTS_PER_BLOB * size_of(BLSFieldElement) = 4096 * 32 = 131072` bytes (`DATA`) representing a Blob as defined in Deneb + minItems: 0 + maxItems: 4096 + Electra.SignedBeaconBlock: type: object - description: 'A variant of the [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#signedbeaconblock) object envelope from the CL Deneb spec, which contains a `BlindedBeaconBlock` rather than a `BeaconBlock`.' + description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Electra spec.' required: - message - signature properties: message: - description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblock) object from the CL Deneb spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/phase0/beacon-chain.md#beaconblock) object from the CL Electra spec.' allOf: - type: object required: @@ -64746,10 +76276,9 @@ components: - body properties: body: - description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec, which contains a transactions root rather than a full transactions list.' allOf: - type: object - description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#beaconblockbody) object from the CL Deneb spec.' + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#beaconblockbody) object from the CL Electra spec.' required: - randao_reveal - eth1_data @@ -64916,14 +76445,14 @@ components: type: array items: type: object - description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attesterslashing) object from the CL spec.' + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attesterslashing) object from the CL spec.' required: - attestation_1 - attestation_2 properties: attestation_1: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#indexedattestation) object from the CL spec.' required: - attesting_indices - data @@ -64931,7 +76460,7 @@ components: properties: attesting_indices: type: array - maxItems: 2048 + maxItems: 131072 description: Attesting validator indices items: type: string @@ -64996,7 +76525,7 @@ components: example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' attestation_2: type: object - description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec.' + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#indexedattestation) object from the CL spec.' required: - attesting_indices - data @@ -65004,7 +76533,7 @@ components: properties: attesting_indices: type: array - maxItems: 2048 + maxItems: 131072 description: Attesting validator indices items: type: string @@ -65071,11 +76600,12 @@ components: type: array items: type: object - description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestation) object from the CL spec.' + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attestation) object from the CL spec.' required: - aggregation_bits - data - signature + - committee_bits properties: aggregation_bits: description: Attester aggregation bits. @@ -65141,6 +76671,12 @@ components: format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + committee_bits: + description: Committee bits. + example: '0x0000000000000001' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{2,}$' deposits: type: array items: @@ -65286,10 +76822,10 @@ components: example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - type: object required: - - execution_payload_header + - execution_payload + - execution_requests properties: - execution_payload_header: - description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' + execution_payload: allOf: - type: object description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' @@ -65371,421 +76907,171 @@ components: pattern: '^0x[a-fA-F0-9]{64}$' - type: object required: - - transactions_root - - withdrawals_root + - transactions + - withdrawals properties: - transactions_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - withdrawals_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - Deneb.LightClientBootstrap: - type: object - required: - - header - - current_sync_committee - - current_sync_committee_branch - properties: - header: - type: object - required: - - beacon - - execution - - execution_branch - properties: - beacon: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - execution: - description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' - allOf: - - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' - required: - - parent_hash - - fee_recipient - - state_root - - receipts_root - - logs_bloom - - prev_randao - - block_number - - gas_limit - - gas_used - - timestamp - - extra_data - - base_fee_per_gas - - excess_blob_gas - - block_hash - properties: - parent_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - fee_recipient: - type: string - format: hex - description: An address on the execution (Ethereum 1) network. - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - state_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - receipts_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - logs_bloom: - type: string - format: hex - example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' - pattern: '^0x[a-fA-F0-9]{512}$' - prev_randao: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - block_number: - type: string - example: '1' - gas_limit: - type: string - example: '1' - gas_used: - type: string - example: '1' - timestamp: - type: string - example: '1' - extra_data: - type: string - format: hex - description: Extra data on the execution (Ethereum 1) network. - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{0,64}$' - base_fee_per_gas: - type: string - example: '1' - excess_blob_gas: - type: string - example: '1' - block_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - transactions_root - - withdrawals_root - properties: - transactions_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - withdrawals_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - execution_branch: - type: array - items: - description: 'Merkle proof consisting of [`log2trunc(EXECUTION_PAYLOAD_INDEX])`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/light-client/sync-protocol.md#constants) roots' - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 4 - maxItems: 4 - current_sync_committee: - type: object - required: - - pubkeys - - aggregate_pubkey - properties: - pubkeys: - type: array - items: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - minItems: 512 - maxItems: 512 - aggregate_pubkey: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - current_sync_committee_branch: - type: array - items: - description: 'Merkle proof consisting of [`log2trunc(CURRENT_SYNC_COMMITTEE_INDEX])`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/light-client/sync-protocol.md#constants) roots' - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 5 - maxItems: 5 - Deneb.LightClientUpdate: + transactions: + type: array + items: + type: string + format: hex + description: A transaction on the execution (Ethereum 1) network. + example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' + pattern: '^0x[a-fA-F0-9]{0,2147483648}$' + maxItems: 1048576 + withdrawals: + type: array + items: + type: object + required: + - index + - validator_index + - address + - amount + properties: + index: + description: The index of the withdrawal. + type: string + example: '1' + validator_index: + description: The index of the withdrawing validator. + type: string + example: '1' + address: + description: The address to which the withdrawal is credited. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + amount: + description: The value withdrawn (gwei). + type: string + example: '1' + maxItems: 16 + execution_requests: + type: object + description: 'The [`ExecutionRequests`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.6/specs/electra/beacon-chain.md#executionrequests) object from the CL Electra spec.' + required: + - deposits + - withdrawals + - consolidations + properties: + deposits: + type: array + items: + type: object + description: 'The [`DepositRequest`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#depositrequest) object from the CL Electra spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + - index + properties: + pubkey: + description: BLS public key of validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: The value to be deposited (gwei). + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + index: + description: The index of the deposit request. + type: string + example: '1' + maxItems: 8192 + withdrawals: + type: array + items: + type: object + description: 'The [`WithdrawalRequest`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#withdrawalrequest) object from the CL Electra spec.' + required: + - source_address + - validator_pubkey + - amount + properties: + source_address: + description: Execution address which sent the request. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + validator_pubkey: + description: BLS public key of validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + amount: + description: The value to be withdrawn (gwei). + type: string + example: '1' + maxItems: 16 + consolidations: + type: array + items: + type: object + description: 'The [`ConsolidationRequest`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#consolidationrequest) object from the CL Electra spec.' + required: + - source_address + - source_pubkey + - target_pubkey + properties: + source_address: + description: Execution address which sent the request. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + source_pubkey: + description: BLS public key of validator to consolidate from. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + target_pubkey: + description: BLS public key of validator to consolidate to. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + maxItems: 1 + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + Electra.SignedBlockContents: type: object + description: The required signed components of block production according to the Electra CL spec. required: - - attested_header - - next_sync_committee - - next_sync_committee_branch - - finalized_header - - finality_branch - - sync_aggregate - - signature_slot + - signed_block + - kzg_proofs + - blobs properties: - attested_header: - type: object - required: - - beacon - - execution - - execution_branch - properties: - beacon: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - execution: - description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' - allOf: - - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' - required: - - parent_hash - - fee_recipient - - state_root - - receipts_root - - logs_bloom - - prev_randao - - block_number - - gas_limit - - gas_used - - timestamp - - extra_data - - base_fee_per_gas - - excess_blob_gas - - block_hash - properties: - parent_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - fee_recipient: - type: string - format: hex - description: An address on the execution (Ethereum 1) network. - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - state_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - receipts_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - logs_bloom: - type: string - format: hex - example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' - pattern: '^0x[a-fA-F0-9]{512}$' - prev_randao: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - block_number: - type: string - example: '1' - gas_limit: - type: string - example: '1' - gas_used: - type: string - example: '1' - timestamp: - type: string - example: '1' - extra_data: - type: string - format: hex - description: Extra data on the execution (Ethereum 1) network. - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{0,64}$' - base_fee_per_gas: - type: string - example: '1' - excess_blob_gas: - type: string - example: '1' - block_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - transactions_root - - withdrawals_root - properties: - transactions_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - withdrawals_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - execution_branch: - type: array - items: - description: 'Merkle proof consisting of [`log2trunc(EXECUTION_PAYLOAD_INDEX])`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/light-client/sync-protocol.md#constants) roots' - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 4 - maxItems: 4 - next_sync_committee: - type: object - required: - - pubkeys - - aggregate_pubkey - properties: - pubkeys: - type: array - items: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - minItems: 512 - maxItems: 512 - aggregate_pubkey: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - next_sync_committee_branch: - type: array - items: - description: 'Merkle proof consisting of [`log2trunc(NEXT_SYNC_COMMITTEE_INDEX])`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/light-client/sync-protocol.md#constants) roots' - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 5 - maxItems: 5 - finalized_header: + signed_block: type: object + description: 'The [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Electra spec.' required: - - beacon - - execution - - execution_branch + - message + - signature properties: - beacon: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + message: + description: 'The [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/phase0/beacon-chain.md#beaconblock) object from the CL Electra spec.' allOf: - type: object required: @@ -65803,791 +77089,2203 @@ components: type: string example: '1' parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - execution: - description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' - allOf: - - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' - required: - - parent_hash - - fee_recipient - - state_root - - receipts_root - - logs_bloom - - prev_randao - - block_number - - gas_limit - - gas_used - - timestamp - - extra_data - - base_fee_per_gas - - excess_blob_gas - - block_hash - properties: - parent_hash: + description: The signing Merkle root of the parent `BeaconBlock`. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - fee_recipient: - type: string - format: hex - description: An address on the execution (Ethereum 1) network. - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' state_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - receipts_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - logs_bloom: - type: string - format: hex - example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' - pattern: '^0x[a-fA-F0-9]{512}$' - prev_randao: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - block_number: - type: string - example: '1' - gas_limit: - type: string - example: '1' - gas_used: - type: string - example: '1' - timestamp: - type: string - example: '1' - extra_data: - type: string - format: hex - description: Extra data on the execution (Ethereum 1) network. - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{0,64}$' - base_fee_per_gas: - type: string - example: '1' - excess_blob_gas: - type: string - example: '1' - block_hash: + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - type: object required: - - transactions_root - - withdrawals_root + - body properties: - transactions_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - withdrawals_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - execution_branch: - type: array - items: - description: 'Merkle proof consisting of [`log2trunc(EXECUTION_PAYLOAD_INDEX])`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/light-client/sync-protocol.md#constants) roots' - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 4 - maxItems: 4 - finality_branch: - type: array - items: - description: 'Merkle proof consisting of [`log2trunc(FINALIZED_ROOT_INDEX])`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/light-client/sync-protocol.md#constants) roots' - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 6 - maxItems: 6 - sync_aggregate: - type: object - description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' - required: - - sync_committee_bits - - sync_committee_signature - properties: - sync_committee_bits: - description: Aggregation bits of sync - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - sync_committee_signature: + body: + allOf: + - type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#beaconblockbody) object from the CL Electra spec.' + required: + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + - bls_to_execution_changes + - blob_kzg_commitments + properties: + randao_reveal: + allOf: + - type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - description: The RANDAO reveal value provided by the validator. + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + proposer_slashings: + type: array + items: + type: object + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' + required: + - signed_header_1 + - signed_header_2 + properties: + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 131072 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 131072 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: + type: object + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attestation) object from the CL spec.' + required: + - aggregation_bits + - data + - signature + - committee_bits + properties: + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: BLS aggregate signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + committee_bits: + description: Committee bits. + example: '0x0000000000000001' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{2,}$' + deposits: + type: array + items: + type: object + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + required: + - proof + - data + properties: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: + type: object + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + properties: + pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: Amount in Gwei. + type: string + example: '1' + signature: + description: Container self-signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + bls_to_execution_changes: + type: array + items: + type: object + description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' + required: + - validator_index + - from_bls_pubkey + - to_execution_address + properties: + validator_index: + description: Index of the validator for which credentials will be changed. + type: string + example: '1' + from_bls_pubkey: + description: Public key of existing credentials. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + to_execution_address: + description: Execution address to which the credentials will be changed. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + blob_kzg_commitments: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + - type: object + required: + - execution_payload + - execution_requests + properties: + execution_payload: + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - excess_blob_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + excess_blob_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions + - withdrawals + properties: + transactions: + type: array + items: + type: string + format: hex + description: A transaction on the execution (Ethereum 1) network. + example: '0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86' + pattern: '^0x[a-fA-F0-9]{0,2147483648}$' + maxItems: 1048576 + withdrawals: + type: array + items: + type: object + required: + - index + - validator_index + - address + - amount + properties: + index: + description: The index of the withdrawal. + type: string + example: '1' + validator_index: + description: The index of the withdrawing validator. + type: string + example: '1' + address: + description: The address to which the withdrawal is credited. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + amount: + description: The value withdrawn (gwei). + type: string + example: '1' + maxItems: 16 + execution_requests: + type: object + description: 'The [`ExecutionRequests`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.6/specs/electra/beacon-chain.md#executionrequests) object from the CL Electra spec.' + required: + - deposits + - withdrawals + - consolidations + properties: + deposits: + type: array + items: + type: object + description: 'The [`DepositRequest`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#depositrequest) object from the CL Electra spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + - index + properties: + pubkey: + description: BLS public key of validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: The value to be deposited (gwei). + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + index: + description: The index of the deposit request. + type: string + example: '1' + maxItems: 8192 + withdrawals: + type: array + items: + type: object + description: 'The [`WithdrawalRequest`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#withdrawalrequest) object from the CL Electra spec.' + required: + - source_address + - validator_pubkey + - amount + properties: + source_address: + description: Execution address which sent the request. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + validator_pubkey: + description: BLS public key of validator. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + amount: + description: The value to be withdrawn (gwei). + type: string + example: '1' + maxItems: 16 + consolidations: + type: array + items: + type: object + description: 'The [`ConsolidationRequest`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#consolidationrequest) object from the CL Electra spec.' + required: + - source_address + - source_pubkey + - target_pubkey + properties: + source_address: + description: Execution address which sent the request. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + source_pubkey: + description: BLS public key of validator to consolidate from. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + target_pubkey: + description: BLS public key of validator to consolidate to. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + maxItems: 1 + signature: type: string format: hex pattern: '^0x[a-fA-F0-9]{192}$' example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signature_slot: - type: string - example: '1' - Deneb.LightClientFinalityUpdate: - type: object - required: - - attested_header - - finalized_header - - finality_branch - - sync_aggregate - - signature_slot - properties: - attested_header: - type: object - required: - - beacon - - execution - - execution_branch - properties: - beacon: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - execution: - description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' - allOf: - - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' - required: - - parent_hash - - fee_recipient - - state_root - - receipts_root - - logs_bloom - - prev_randao - - block_number - - gas_limit - - gas_used - - timestamp - - extra_data - - base_fee_per_gas - - excess_blob_gas - - block_hash - properties: - parent_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - fee_recipient: - type: string - format: hex - description: An address on the execution (Ethereum 1) network. - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - state_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - receipts_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - logs_bloom: - type: string - format: hex - example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' - pattern: '^0x[a-fA-F0-9]{512}$' - prev_randao: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - block_number: - type: string - example: '1' - gas_limit: - type: string - example: '1' - gas_used: - type: string - example: '1' - timestamp: - type: string - example: '1' - extra_data: - type: string - format: hex - description: Extra data on the execution (Ethereum 1) network. - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{0,64}$' - base_fee_per_gas: - type: string - example: '1' - excess_blob_gas: - type: string - example: '1' - block_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - transactions_root - - withdrawals_root - properties: - transactions_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - withdrawals_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - execution_branch: - type: array - items: - description: 'Merkle proof consisting of [`log2trunc(EXECUTION_PAYLOAD_INDEX])`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/light-client/sync-protocol.md#constants) roots' - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 4 - maxItems: 4 - finalized_header: - type: object - required: - - beacon - - execution - - execution_branch - properties: - beacon: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - execution: - description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' - allOf: - - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' - required: - - parent_hash - - fee_recipient - - state_root - - receipts_root - - logs_bloom - - prev_randao - - block_number - - gas_limit - - gas_used - - timestamp - - extra_data - - base_fee_per_gas - - excess_blob_gas - - block_hash - properties: - parent_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - fee_recipient: - type: string - format: hex - description: An address on the execution (Ethereum 1) network. - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - state_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - receipts_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - logs_bloom: - type: string - format: hex - example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' - pattern: '^0x[a-fA-F0-9]{512}$' - prev_randao: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - block_number: - type: string - example: '1' - gas_limit: - type: string - example: '1' - gas_used: - type: string - example: '1' - timestamp: - type: string - example: '1' - extra_data: - type: string - format: hex - description: Extra data on the execution (Ethereum 1) network. - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{0,64}$' - base_fee_per_gas: - type: string - example: '1' - excess_blob_gas: - type: string - example: '1' - block_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - transactions_root - - withdrawals_root - properties: - transactions_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - withdrawals_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - execution_branch: - type: array - items: - description: 'Merkle proof consisting of [`log2trunc(EXECUTION_PAYLOAD_INDEX])`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/light-client/sync-protocol.md#constants) roots' - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 4 - maxItems: 4 - finality_branch: + kzg_proofs: type: array items: - description: 'Merkle proof consisting of [`log2trunc(FINALIZED_ROOT_INDEX])`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/light-client/sync-protocol.md#constants) roots' type: string format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 6 - maxItems: 6 - sync_aggregate: - type: object - description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Used for verifying that the `KZGCommitment` for a given `Blob` is correct. + minItems: 0 + maxItems: 4096 + blobs: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{262144}$' + description: A blob is `FIELD_ELEMENTS_PER_BLOB * size_of(BLSFieldElement) = 4096 * 32 = 131072` bytes (`DATA`) representing a Blob as defined in Deneb + minItems: 0 + maxItems: 4096 + Electra.BlindedBeaconBlock: + description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/phase0/beacon-chain.md#beaconblock) object from the CL Electra spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' + allOf: + - type: object required: - - sync_committee_bits - - sync_committee_signature + - slot + - proposer_index + - parent_root + - state_root properties: - sync_committee_bits: - description: Aggregation bits of sync - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - sync_committee_signature: + slot: + description: The slot to which this block corresponds. type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signature_slot: - type: string - example: '1' - Deneb.LightClientOptimisticUpdate: - type: object - required: - - attested_header - - sync_aggregate - - signature_slot - properties: - attested_header: - type: object - required: - - beacon - - execution - - execution_branch - properties: - beacon: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - execution: - description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing Merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body + properties: + body: + description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#beaconblockbody) object from the CL Electra spec, which contains a transactions root rather than a full transactions list.' allOf: - type: object - description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#beaconblockbody) object from the CL Electra spec.' required: - - parent_hash - - fee_recipient - - state_root - - receipts_root - - logs_bloom - - prev_randao - - block_number - - gas_limit - - gas_used - - timestamp - - extra_data - - base_fee_per_gas - - excess_blob_gas - - block_hash + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + - bls_to_execution_changes + - blob_kzg_commitments properties: - parent_hash: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - fee_recipient: - type: string - format: hex - description: An address on the execution (Ethereum 1) network. - example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' - pattern: '^0x[a-fA-F0-9]{40}$' - state_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - receipts_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - logs_bloom: - type: string - format: hex - example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' - pattern: '^0x[a-fA-F0-9]{512}$' - prev_randao: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - block_number: - type: string - example: '1' - gas_limit: - type: string - example: '1' - gas_used: - type: string - example: '1' - timestamp: - type: string - example: '1' - extra_data: - type: string - format: hex - description: Extra data on the execution (Ethereum 1) network. - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{0,64}$' - base_fee_per_gas: - type: string - example: '1' - excess_blob_gas: - type: string - example: '1' - block_hash: + randao_reveal: + allOf: + - type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - description: The RANDAO reveal value provided by the validator. + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' + proposer_slashings: + type: array + items: + type: object + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' + required: + - signed_header_1 + - signed_header_2 + properties: + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 131072 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 131072 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: + type: object + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attestation) object from the CL spec.' + required: + - aggregation_bits + - data + - signature + - committee_bits + properties: + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: BLS aggregate signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + committee_bits: + description: Committee bits. + example: '0x0000000000000001' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{2,}$' + deposits: + type: array + items: + type: object + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + required: + - proof + - data + properties: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: + type: object + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + properties: + pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: Amount in Gwei. + type: string + example: '1' + signature: + description: Container self-signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + bls_to_execution_changes: + type: array + items: + type: object + description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' + required: + - validator_index + - from_bls_pubkey + - to_execution_address + properties: + validator_index: + description: Index of the validator for which credentials will be changed. + type: string + example: '1' + from_bls_pubkey: + description: Public key of existing credentials. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + to_execution_address: + description: Execution address to which the credentials will be changed. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + blob_kzg_commitments: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - type: object required: - - transactions_root - - withdrawals_root + - execution_payload_header + - execution_requests_root properties: - transactions_root: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - withdrawals_root: + execution_payload_header: + description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - excess_blob_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + excess_blob_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions_root + - withdrawals_root + properties: + transactions_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + withdrawals_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + execution_requests_root: type: string format: hex example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' pattern: '^0x[a-fA-F0-9]{64}$' - execution_branch: - type: array - items: - description: 'Merkle proof consisting of [`log2trunc(EXECUTION_PAYLOAD_INDEX])`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/light-client/sync-protocol.md#constants) roots' - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 4 - maxItems: 4 - sync_aggregate: - type: object - description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' - required: - - sync_committee_bits - - sync_committee_signature - properties: - sync_committee_bits: - description: Aggregation bits of sync - type: string - format: hex - example: '0x01' - pattern: '^0x[a-fA-F0-9]{2,}$' - sync_committee_signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - signature_slot: + Electra.SignedBlindedBeaconBlock: + type: object + description: 'A variant of the [`SignedBeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/phase0/beacon-chain.md#signedbeaconblock) object envelope from the CL Electra spec, which contains a `BlindedBeaconBlock` rather than a `BeaconBlock`.' + required: + - message + - signature + properties: + message: + description: 'A variant of the [`BeaconBlock`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/phase0/beacon-chain.md#beaconblock) object from the CL Electra spec, which contains a `BlindedBeaconBlockBody` rather than a `BeaconBlockBody`.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing Merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash Merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body + properties: + body: + description: 'A variant of the [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#beaconblockbody) object from the CL Electra spec, which contains a transactions root rather than a full transactions list.' + allOf: + - type: object + description: 'The [`BeaconBlockBody`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.5/specs/electra/beacon-chain.md#beaconblockbody) object from the CL Electra spec.' + required: + - randao_reveal + - eth1_data + - graffiti + - proposer_slashings + - attester_slashings + - attestations + - deposits + - voluntary_exits + - sync_aggregate + - bls_to_execution_changes + - blob_kzg_commitments + properties: + randao_reveal: + allOf: + - type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + - description: The RANDAO reveal value provided by the validator. + eth1_data: + type: object + description: 'The [`Eth1Data`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#eth1data) object from the CL spec.' + required: + - deposit_root + - deposit_count + - block_hash + properties: + deposit_root: + description: Root of the deposit tree. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + deposit_count: + description: Total number of deposits. + type: string + example: '1' + block_hash: + description: Ethereum 1.x block hash. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + graffiti: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + proposer_slashings: + type: array + items: + type: object + description: 'The [`ProposerSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#proposerslashing) object from the CL spec.' + required: + - signed_header_1 + - signed_header_2 + properties: + signed_header_1: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + signed_header_2: + type: object + description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' + required: + - message + - signature + properties: + message: + description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' + allOf: + - type: object + required: + - slot + - proposer_index + - parent_root + - state_root + properties: + slot: + description: The slot to which this block corresponds. + type: string + example: '1' + proposer_index: + description: Index of validator in validator registry. + type: string + example: '1' + parent_root: + description: The signing merkle root of the parent `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + state_root: + description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - body_root + properties: + body_root: + description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attester_slashings: + type: array + items: + type: object + description: 'The [`AttesterSlashing`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attesterslashing) object from the CL spec.' + required: + - attestation_1 + - attestation_2 + properties: + attestation_1: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 131072 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestation_2: + type: object + description: 'The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#indexedattestation) object from the CL spec.' + required: + - attesting_indices + - data + - signature + properties: + attesting_indices: + type: array + maxItems: 131072 + description: Attesting validator indices + items: + type: string + example: '1' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: 'The BLS signature of the `IndexedAttestation`, created by the validator of the attestation.' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + attestations: + type: array + items: + type: object + description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attestation) object from the CL spec.' + required: + - aggregation_bits + - data + - signature + - committee_bits + properties: + aggregation_bits: + description: Attester aggregation bits. + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + data: + type: object + description: 'The [`AttestationData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#attestationdata) object from the CL spec.' + required: + - slot + - index + - beacon_block_root + - source + - target + properties: + slot: + type: string + example: '1' + index: + type: string + example: '1' + beacon_block_root: + description: LMD GHOST vote. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + source: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + target: + type: object + description: 'The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint' + required: + - epoch + - root + properties: + epoch: + type: string + example: '1' + root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: + description: BLS aggregate signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + committee_bits: + description: Committee bits. + example: '0x0000000000000001' + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{2,}$' + deposits: + type: array + items: + type: object + description: 'The [`Deposit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#deposit) object from the CL spec.' + required: + - proof + - data + properties: + proof: + type: array + description: Branch in the deposit tree. + items: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + minItems: 32 + maxItems: 32 + data: + type: object + description: 'The [`DepositData`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#depositdata) object from the CL spec.' + required: + - pubkey + - withdrawal_credentials + - amount + - signature + properties: + pubkey: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: 'The validator''s BLS public key, uniquely identifying them. _48-bytes, hex encoded with 0x prefix, case insensitive._' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + withdrawal_credentials: + description: The withdrawal credentials. + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + amount: + description: Amount in Gwei. + type: string + example: '1' + signature: + description: Container self-signature. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + voluntary_exits: + type: array + items: + type: object + description: 'The [`SignedVoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedvoluntaryexit) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`VoluntaryExit`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#voluntaryexit) object from the CL spec.' + required: + - epoch + - validator_index + properties: + epoch: + description: Minimum epoch for processing exit. + type: string + example: '1' + validator_index: + description: Index of the exiting validator. + type: string + example: '1' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + sync_aggregate: + type: object + description: 'The [`SyncAggregate`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/beacon-chain.md#syncaggregate) object from the CL Altair spec.' + required: + - sync_committee_bits + - sync_committee_signature + properties: + sync_committee_bits: + description: Aggregation bits of sync + type: string + format: hex + example: '0x01' + pattern: '^0x[a-fA-F0-9]{2,}$' + sync_committee_signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + bls_to_execution_changes: + type: array + items: + type: object + description: 'The [`SignedBLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#signedblstoexecutionchange) object from the CL spec.' + required: + - message + - signature + properties: + message: + type: object + description: 'The [`BLSToExecutionChange`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/capella/beacon-chain.md#blstoexecutionchange) object from the CL spec.' + required: + - validator_index + - from_bls_pubkey + - to_execution_address + properties: + validator_index: + description: Index of the validator for which credentials will be changed. + type: string + example: '1' + from_bls_pubkey: + description: Public key of existing credentials. + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + to_execution_address: + description: Execution address to which the credentials will be changed. + type: string + format: hex + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + signature: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' + blob_kzg_commitments: + type: array + items: + type: string + format: hex + pattern: '^0x[a-fA-F0-9]{96}$' + description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity + example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' + - type: object + required: + - execution_payload_header + - execution_requests_root + properties: + execution_payload_header: + description: 'The [`ExecutionPayloadHeader`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader) object from the CL Deneb spec.' + allOf: + - type: object + description: 'The [`ExecutionPayload`](https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayload) object from the CL Deneb spec.' + required: + - parent_hash + - fee_recipient + - state_root + - receipts_root + - logs_bloom + - prev_randao + - block_number + - gas_limit + - gas_used + - timestamp + - extra_data + - base_fee_per_gas + - excess_blob_gas + - block_hash + properties: + parent_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + fee_recipient: + type: string + format: hex + description: An address on the execution (Ethereum 1) network. + example: '0xAbcF8e0d4e9587369b2301D0790347320302cc09' + pattern: '^0x[a-fA-F0-9]{40}$' + state_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + receipts_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + logs_bloom: + type: string + format: hex + example: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' + pattern: '^0x[a-fA-F0-9]{512}$' + prev_randao: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + block_number: + type: string + example: '1' + gas_limit: + type: string + example: '1' + gas_used: + type: string + example: '1' + timestamp: + type: string + example: '1' + extra_data: + type: string + format: hex + description: Extra data on the execution (Ethereum 1) network. + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{0,64}$' + base_fee_per_gas: + type: string + example: '1' + excess_blob_gas: + type: string + example: '1' + block_hash: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + - type: object + required: + - transactions_root + - withdrawals_root + properties: + transactions_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + withdrawals_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + execution_requests_root: + type: string + format: hex + example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' + pattern: '^0x[a-fA-F0-9]{64}$' + signature: type: string - example: '1' - Blob: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{262144}$' - description: A blob is `FIELD_ELEMENTS_PER_BLOB * size_of(BLSFieldElement) = 4096 * 32 = 131072` bytes (`DATA`) representing a Blob as defined in Deneb - Deneb.BlobSidecars: - type: array - items: - type: object - description: A blob sidecar as defined in the Deneb consensus spec. - required: - - index - - blob - - kzg_commitment - - kzg_proof - - signed_block_header - - kzg_commitment_inclusion_proof - properties: - index: - type: string - example: '1' - blob: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{262144}$' - description: A blob is `FIELD_ELEMENTS_PER_BLOB * size_of(BLSFieldElement) = 4096 * 32 = 131072` bytes (`DATA`) representing a Blob as defined in Deneb - kzg_commitment: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: A G1 curve point. Same as BLS standard "is valid pubkey" check but also allows `0x00..00` for point-at-infinity - example: '0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a' - kzg_proof: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{96}$' - description: A G1 curve point. Used for verifying that the `KZGCommitment` for a given `Blob` is correct. - signed_block_header: - type: object - description: 'The [`SignedBeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#signedbeaconblockheader) object envelope from the CL spec.' - required: - - message - - signature - properties: - message: - description: 'The [`BeaconBlockHeader`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader) object from the CL spec.' - allOf: - - type: object - required: - - slot - - proposer_index - - parent_root - - state_root - properties: - slot: - description: The slot to which this block corresponds. - type: string - example: '1' - proposer_index: - description: Index of validator in validator registry. - type: string - example: '1' - parent_root: - description: The signing merkle root of the parent `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - state_root: - description: The tree hash merkle root of the `BeaconState` for the `BeaconBlock`. - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - - type: object - required: - - body_root - properties: - body_root: - description: The tree hash merkle root of the `BeaconBlockBody` for the `BeaconBlock` - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - signature: - type: string - format: hex - pattern: '^0x[a-fA-F0-9]{192}$' - example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' - kzg_commitment_inclusion_proof: - type: array - items: - type: string - format: hex - example: '0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2' - pattern: '^0x[a-fA-F0-9]{64}$' - minItems: 17 - maxItems: 17 - minItems: 0 - maxItems: 6 + format: hex + pattern: '^0x[a-fA-F0-9]{192}$' + example: '0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505' Electra.Attestation: type: object description: 'The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attestation) object from the CL spec.'