# /admin/update-ref-sol

```javascript
await axios.post(`https://api.cryptocadet.app/api/admin/gen-ref-sol`, {
apiKey, 
secretKey, 
solAddress, 
refCode
percent, 
uid
})
```

{% tabs %}
{% tab title="Parameters" %}
apiKey: Vxusewjwhjwrhkwwj181ksl

secretKey: sk-wwh284h2ksjfshshshsjh

solAddress: SL2jskEWGJkjd1384haah04716jx000

refCode: 81xhw1

percent: 3

uid: XP27shj24190ws
{% endtab %}

{% tab title="Response" %}
Status: 200

Data: New wallet address registered for referral code: ${refCode}
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.12cbbd8f58-hosting.gitbook.io.cryptocadet.app/admin-api/admin-update-ref-sol.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
