# Unstake from Network

## Required Parameters

### Address
- **Type:** string  
- **Required:** Address to unstake from

### Amount
- **Type:** integer  
- **Required:** Amount to unstake in REX

### Network
- **Type:** string  
- **Enum:** mainnet, testnet  
- **Required:** Network to unstake from.

## Example Response

### 201 Success
```json
{
  "data": {
    "network": "string",
    "unsigned_transaction_serialized": "string",
    "signing_payload": "string"
  }
}
```

### 400 Bad Request

## API Request Example

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