---
updatedAt: 2026-05-07T01:57:09.000Z
agentTools:
  projectIndex: https://docs.mavan.bitminetech.io/llms.txt
---

# Generate exit message(s)

Generate one or more pre-signed exit messages for a specified list of public keys.
You are not guaranteed one result per public key provided. 

Errors generating exit messages (usually caused by validator not being active or not being known to the system) will be handled silently 
and a result for this public key will not be included in the response.

Your code should not assume one result per public key or consistent ordering of results.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/ethereum/genPresignedExitMsg": {
      "post": {
        "description": "Generate one or more pre-signed exit messages for a specified list of public keys.\nYou are not guaranteed one result per public key provided. \n\nErrors generating exit messages (usually caused by validator not being active or not being known to the system) will be handled silently \nand a result for this public key will not be included in the response.\n\nYour code should not assume one result per public key or consistent ordering of results.",
        "operationId": "genEthereumPresignedExitMsg",
        "parameters": [
          {
            "name": "x-request-id",
            "in": "header",
            "description": "Optional idempotency key as UUID v4",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-key",
            "in": "header",
            "description": "mavan api key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GenPresignedExitMsgDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ApiResponseBase"
                    },
                    {
                      "properties": {
                        "data": {
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/ValidatorExitMessageResp"
                          }
                        }
                      }
                    }
                  ],
                  "required": [
                    "data"
                  ]
                }
              }
            }
          }
        },
        "summary": "Generate exit message(s)",
        "tags": [
          "Ethereum"
        ]
      }
    }
  },
  "info": {
    "title": "MAVAN Staking API",
    "description": "The MAVAN Staking API Docs",
    "version": "1.0.181-main-mainnet",
    "contact": {}
  },
  "servers": [
    {
      "url": "https://gw-1.api.standardvalidator.com"
    }
  ],
  "components": {
    "schemas": {
      "ApiResponseBase": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          }
        }
      },
      "Message": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "string"
          },
          "validator_index": {
            "type": "string"
          }
        },
        "required": [
          "epoch",
          "validator_index"
        ]
      },
      "ValidatorExitMessage": {
        "type": "object",
        "properties": {
          "message": {
            "$ref": "#/components/schemas/Message"
          },
          "signature": {
            "type": "string"
          }
        },
        "required": [
          "message",
          "signature"
        ]
      },
      "ValidatorExitMessageResp": {
        "type": "object",
        "properties": {
          "pubkey": {
            "type": "string"
          },
          "exitMessage": {
            "$ref": "#/components/schemas/ValidatorExitMessage"
          }
        },
        "required": [
          "pubkey",
          "exitMessage"
        ]
      },
      "GenPresignedExitMsgDto": {
        "type": "object",
        "properties": {
          "pubkeys": {
            "example": "[\"a20d2ba70419cb3922985488e339736ab32e6184f11708d2333f65b14f70cf47365b538c32eff237cdaf293ea2bcfb03\"]",
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "pubkeys"
        ]
      }
    }
  }
}
```