# Network

## Parameters

- `network`
  - Type: string
  - Allowed: `mainnet`, `hoodi`

- `show_fork_version`
  - Type: boolean
  - Description: When this parameter is set to `true`, the response will include the field `fork_version` indicating the fork version constant for the currently active fork.
  - Note: The fork versions values are unique for each network and each fork. As an example, here is the constants preset file for Mainnet: [mainnet.yaml](https://github.com/ethereum/consensus-specs/blob/dev/configs/mainnet.yaml)

- `validator_index`
  - Type: uint64
  - Description: Validator index

- `validator_public_key`
  - Type: string
  - Description: Validator public key

- `epoch`
  - Type: uint64
  - Description: Earliest epoch when voluntary exit can be processed. If not provided the earliest possible epoch will be fetched from the network.

## Response Codes

- `200`      Ethereum exit validator transaction response
- `400`      Invalid request.
- `401`      Header 'X-API-Key' missing.
- `404`      Validator not found.
- `500`      Internal server error.
- `503`      Insufficient validators available to process Stake Intent request

## Example Command

```bash
curl --request GET \ 
     --url https://svc.blockdaemon.com/boss/v1/ethereum/mainnet/signed-voluntary-exit \ 
     --header 'accept: application/json'
```

### Example Responses

- `200`
- `400`
- `401`
- `404`
- `500`
- `503`

Updated 2 months ago.
