> ## Documentation Index
> Fetch the complete documentation index at: https://docs.validationcloud.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Presigned Exit Request

> Returns a pre-signed voluntary exit message that can be submitted to the Ethereum beacon chain
at any time by any party. The signature must come from the withdrawal address associated with the 
specified validators.




## OpenAPI

````yaml staking/openapi/staking-api.yaml POST /v1/api/ethereum/{network}/presigned_exit_request
openapi: 3.0.3
info:
  title: Validation Cloud Staking API
  version: 1.0.0
servers:
  - url: https://ethereum-staking.sprd.validationcloud.io
security:
  - bearerAuth: []
paths:
  /v1/api/ethereum/{network}/presigned_exit_request:
    post:
      tags:
        - Staking
      description: >
        Returns a pre-signed voluntary exit message that can be submitted to the
        Ethereum beacon chain

        at any time by any party. The signature must come from the withdrawal
        address associated with the 

        specified validators.
      parameters:
        - name: network
          in: path
          required: true
          schema:
            type: string
            default: mainnet
            enum:
              - mainnet
              - hoodi
          description: The Ethereum network.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PresignedExitRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SignedExitMessage'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    PresignedExitRequest:
      type: object
      required:
        - payload
        - signature
      properties:
        payload:
          type: string
          example: >-
            {"type":"presigned_exit_request","timestamp":"2025-04-08T20:28:39.678Z","validators":[{"public_key":"0xb31cb9c715b7a8a16ca7764f35b45883fce75699f25f90c44cae4e6a386d9f2c0dfd16303e1864cfbc0ae4dc194e872e"}]}
          description: |
            A JSON-encoded string containing the presigned exit request payload.
            Must include:
              - `type`: must be `"presigned_exit_request"`
              - `timestamp`: ISO8601 UTC timestamp
              - `validators`: array of validator public keys, all must share the same withdrawal address
        signature:
          type: string
          example: >-
            0x7b2274797065223a227072657369676e65645f657869745f72657175657374222c2274696d657374616d70223a22323032352d30342d30385432303a32383a33392e3637385a222c2276616c696461746f7273223a5b7b227075626c69635f6b6579223a223078623331636239633731356237613861313663613737363466333562343538383366636537353639396632356639306334346361653465366133383664396632633064666431363330336531383634636662633061653464633139346538373265227d5d7d
          description: >
            ERC-191 signature of the payload string, signed by the withdrawal
            address of the specified validators.
    SignedExitMessage:
      type: array
      description: >
        A list of pre-signed voluntary exit messages that can be submitted to a
        beacon node to initiate validator exits.
      items:
        type: object
        properties:
          validator_key:
            type: string
            description: Public key of the validator
          exit_request:
            type: object
            description: A voluntary exit message
            properties:
              message:
                type: object
              signature:
                type: string
      example:
        - validator_key: >-
            0xb31cb9c715b7a8a16ca7764f35b45883fce75699f25f90c44cae4e6a386d9f2c0dfd16303e1864cfbc0ae4dc194e872e
          exit_request:
            message:
              epoch: '5040'
              validator_index: '1091615'
            signature: >-
              0xb77505b425ff7486d5a4a08ab6bf85a9ac8d778b8609421683d36e7a3d10b3243b7b4d22490ff5620ea9d46ff4e4c13308ac689368852af4872e1cdb837ad2d2d170a407c22fa1981ec543e8b05b3cc7836b7f9d300d7796412023ff6b13f3aa
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.