### Exit Messages Submission

Submits the decrypted exit messages to the consensus layer instantly. This is the quickest way to exit a validator.

#### Parameters

- **network**: `string`  
  Enum required:  
  Allowed: `mainnet`, `hoodi`

- **epoch**: `string` required  
  The earliest epoch at which the validator can exit. This field must be retrieved from the decrypted exit message.

- **validator_index**: `string` required  
  The index of the validators to be exited. This field must be retrieved from the decrypted exit message.

- **signature**: `string` required  
  The exit message signature. This field must be retrieved from the decrypted exit message.

### API Responses

#### `202 Accepted`

- **object**
  - **data**:  
    - **network**: `string` Enum  
      Network name: `mainnet`, `hoodi`
    - **epoch**: `string`  
      Epoch as stated in the PSET
    - **validator_index**: `string`  
      The validator's index as stated in the PSET
    - **signature**: `string`  
      Signature as stated in the PSET

#### `400 Invalid params`

#### `401 Invalid API key`

#### `422 Invalid network`

### Example Request

```shell
curl --request POST \
     --url https://api.figment.io/ethereum/broadcast_exit_message \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'x-api-key: your-api-key-here' \
     --data '{
  "network": "mainnet"
}'
```

### Example Response

```json
{
  "data": {
    "epoch": 182738,
    "validator_Index": 483128,
    "signature": "0x97f0dde45b0be31fd9a76a60a25216c7b7a14f6fd21a8232cdd8cba8c419c0a618589e98ff8b8a253c9975adc11746de0f34a4d223c7927b8547d19035aeaa48f980e8e510e5278b6a901665aa24d6c54d332d39924ba3d263861a5f1fc3234d"
  }
}
```
