Get A Network
Retrieve configuration for a specific network.
Endpoint: POST /wallets/get-network
Authentication: Required (x-api-key header)
Request Parameters
Parameter
Type
Required
Description
network
string
Yes
Network to retrieve config for (e.g., bitcoin)
Example Request
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
{
"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
}
}Last updated