# Request object to create a new restake intent for Cosmos.

## Parameters

### network
- **Type:** string  
- **Enum:** mainnet, testnet  
- **Required:** Yes  
- **Allowed:** `mainnet`, `testnet`

### delegator_address
- **Type:** string  
- **Required:** Yes  
- **Pattern:** `^cosmos[1-9a-zA-Z]{39}$`  
- **Description:** Public Key of an asymmetric key-pair.

### old_validator_address
- **Type:** string  
- **Required:** Yes  
- **Pattern:** `^cosmos[1-9a-zA-Z]{39}$`  
- **Description:** Public Key of an asymmetric key-pair.

### amount
- **Type:** string  
- **Required:** Yes  
- **Pattern:** `^[1-9]\d+$`  
- **Description:** Denomination of the cryptocurrency Cosmos.

### plan_id
- **Type:** string  
- **Description:** This feature enables you to stake to validators from the specified plan(s). When no plan id is specified, validators across all plans that match the API route will be available for staking. If it is a shared plan, you can stake to validators on a shared node from the specified plan.

## Responses

```plaintext
201      Restake intent created
400      Invalid request.
401      Header 'X-API-Key' missing.
500      Internal server error.
```

## Example CURL Request

```bash
curl --request POST \
     --url https://svc.blockdaemon.com/boss/v1/cosmos/mainnet/restake-intents \
     --header 'accept: application/json' \
     --header 'content-type: application/json'
```

## Example Responses

```json
201
400
401
500
```
