#### URL Expired

The URL for this request expired after 30 days.

### Request to get an address for the native asset.

| Parameter  | Type    | Status      |
|------------|---------|-------------|
| MasterKey  | string  | required    |
| Account    | string  | required    |
| Symbol     | string  | required    |
| Index      | integer | Defaults to 0 |
| Testnet    | boolean | required    |

#### Response Codes

* `` 200      The address

* `` 400      Invalid input, validation error, or malformed request

* `` 500      Internal server error. May include an `errorCode` (M-prefixed) and `data` from the MPA error code system. See `cwpapi/errors.go` for codes.

### Example Request

Base URL

`https://api.your-wallet.blockdaemon-wallet.com/api/cwp/address/get`

```
curl --request POST \
     --url https://api.your-wallet.blockdaemon-wallet.com/api/cwp/address/get \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '  
{
  "Index": 0,
  "Testnet": true
}
'  
```

#### Try It!

Choose an example:

* application/json
   
   * ``200``
   * ``400``
   * ``500``

---
