> ## Documentation Index
> Fetch the complete documentation index at: https://chainstack-docs-polygon-erigon-trace-deprecation.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Produce unsigned block

> Reference docs for the Produce unsigned block JSON-RPC method on the Chainstack blockchain, available via Chainstack JSON-RPC nodes.

<Note>
  The interactive example will return `Slot already finalized` unless you edit the parameters.
</Note>

The `/eth/v2/validator/blocks/{slot}` method is an essential API endpoint in the Ethereum Beacon Chain, designed for validators to retrieve proposed block details for a specific slot. A slot in the Beacon Chain is a discrete time interval during which a new block can be proposed. This method is crucial for validators who are assigned to propose a block, enabling them to access the necessary data to perform their duties effectively.

### Parameters

* `{slot}`: This parameter specifies the slot number for which the block details are being requested. It is a required parameter and forms part of the endpoint URL.

### Response

* `object` — proposed block information.
  * `slot` — the slot number for which the block information is provided. This confirms the specific time interval the response data is relevant to.
  * `proposer_index` — the index of the validator who is responsible for proposing the block at this slot. This index identifies the specific validator within the Beacon Chain.
  * `parent_root` — the root of the parent block to which this proposed block will be attached. This is vital for maintaining the continuity of the blockchain.
  * `state_root` — the root of the beacon chain state after the proposed block's effect. This state root ensures the integrity of the chain's state post-block proposal.
  * `body` — the body of the proposed block, containing transactions, attestations, and other relevant data. This detailed information is crucial for validators and network participants to understand the contents and impact of the proposed block.

The `/eth/v2/validator/blocks/{slot}` method is a key tool for validators in the Ethereum network, allowing them to access detailed information about their block proposal responsibilities. This ensures they are well-prepared to contribute to the blockchain's growth and stability.


## OpenAPI

````yaml openapi/ethereum_beacon_chain_api/validatiors_info/produce_unsigned_block.json GET /validator/blocks/{slot}
openapi: 3.0.0
info:
  title: Ethereum Validator Produce Block API
  version: 1.0.0
servers:
  - url: >-
      https://beacon-nd-422-757-666.p2pify.com/0a9d79d93fb2f4a4b1e04695da2b77a7/eth/v2
security: []
paths:
  /validator/blocks/{slot}:
    get:
      summary: Produce a new block for the given slot
      operationId: produceBlock
      parameters:
        - name: slot
          in: path
          description: Slot for which to produce a new block
          required: true
          schema:
            type: integer
            format: int64
            default: 6244478
        - name: randao_reveal
          in: query
          description: RANDAO reveal for the block
          required: true
          schema:
            type: string
            pattern: ^0x[0-9a-fA-F]+$
            default: >-
              0xb73a92a633356ed71c3ff8c6a687d6a7b9a10db930f92f3b41a18e2dfc0c41535c522006ae3db8b1cb6fe7b3a93962f413c127de4eba22cb0b2d0065dc120156012e53038c3e29477342f9fac2b4368c054aa0d18c246c1463da03161f902f8e
        - name: graffiti
          in: query
          description: Graffiti for the block
          required: false
          schema:
            type: string
            pattern: ^0x[0-9a-fA-F]+$
            example: '0x4c69676874686f7573652f76342e302e322d72632e302d333564386339380000'
      responses:
        '200':
          description: Successfully produced a new block
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Block'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Block:
      type: object
      properties:
        slot:
          type: integer
          format: int64
        parent_root:
          type: string
        state_root:
          type: string
        body:
          type: object
      required:
        - slot
        - parent_root
        - state_root
        - body
    Error:
      type: object
      properties:
        code:
          type: integer
          format: int32
        message:
          type: string
      required:
        - code
        - message

````