> For the complete documentation index, see [llms.txt](https://roqqu-api-services.gitbook.io/ras/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://roqqu-api-services.gitbook.io/ras/wallets/get-a-network.md).

# Get A Network

Retrieve configuration for a specific network.

**Endpoint:** `POST /wallets/get-network`

**Authentication:** Required (x-api-key header)

#### Request Parameters <a href="#request-parameters-5" id="request-parameters-5"></a>

| Parameter | Type   | Required | Description                                    |
| --------- | ------ | -------- | ---------------------------------------------- |
| network   | string | Yes      | Network to retrieve config for (e.g., bitcoin) |

#### Example Request <a href="#example-request-7" id="example-request-7"></a>

```
curl -X POST https://service.roqqu.com/v1/wallets/get-network \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "network=bitcoin"
```

#### Example Response <a href="#example-response-7" id="example-response-7"></a>

```
{
  "status": "success",
  "message": "network retrieved successfully",
  "data": {
    "id": 1,
    "network": "bitcoin",
    "status": 1,
    "send": 1,
    "receive": 1,
    "generate": 1,
    "tx_explorer": "1",
    "addr_explorer": "1",
    "created_at": "2023-07-12T18:05:01.000Z",
    "updated_at": "2023-07-12T18:25:39.000Z",
    "deleted_at": null
  }
}
```
