# Step 4 - User Deposit & Withdrawal

The User will need different deposit address according to the coin selected and the network.&#x20;

<figure><img src="/files/LjBLAoqIWYypR0iwMbKJ" alt=""><figcaption></figcaption></figure>

1 - In order to realize a deposit,&#x20;

{% openapi src="/files/CxdhNANltvpAtSQ3ieEA" path="/v1/wallet/deposit/{accountId}/{asset}/{network}" method="get" %}
[stokn\_api.json](https://4184423511-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F50DZdVHQuJqLLMFS5pFA%2Fuploads%2FtArCzZFBOjwtLNo3PlL8%2Fstokn_api.json?alt=media\&token=f6fefe86-fbfd-49de-9419-503e5c449364)
{% endopenapi %}

The Trading Portfolio (**PortfolioId**) will be associated with an **AccountId**. This means that the crypto deposit, will automatically be credited to the Trading Portfolio, which is the main portfolio of the AccountId.&#x20;

OAuth: client\_auth

2 - To obtain the history of all the deposits of a given **AccountId**, you can use the following endpoint:&#x20;

{% openapi src="/files/CxdhNANltvpAtSQ3ieEA" path="/v1/wallet/deposit/{accountId}/history" method="get" %}
[stokn\_api.json](https://4184423511-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F50DZdVHQuJqLLMFS5pFA%2Fuploads%2FtArCzZFBOjwtLNo3PlL8%2Fstokn_api.json?alt=media\&token=f6fefe86-fbfd-49de-9419-503e5c449364)
{% endopenapi %}

OAuth: client\_auth

3 - Using the following endpoint, you can also consult the list of the blockchains network available on Stokn for deposit:&#x20;

{% openapi src="/files/CxdhNANltvpAtSQ3ieEA" path="/v1/wallet/deposit/networks/all/{slug}" method="get" %}
[stokn\_api.json](https://4184423511-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F50DZdVHQuJqLLMFS5pFA%2Fuploads%2FtArCzZFBOjwtLNo3PlL8%2Fstokn_api.json?alt=media\&token=f6fefe86-fbfd-49de-9419-503e5c449364)
{% endopenapi %}

OAuth: client\_auth

4 - Using the following endpoint, you can also consult the list of coins/tokens available on Stokn for deposit:&#x20;

{% openapi src="/files/CxdhNANltvpAtSQ3ieEA" path="/v1/wallet/deposit/available-coins" method="get" %}
[stokn\_api.json](https://4184423511-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F50DZdVHQuJqLLMFS5pFA%2Fuploads%2FtArCzZFBOjwtLNo3PlL8%2Fstokn_api.json?alt=media\&token=f6fefe86-fbfd-49de-9419-503e5c449364)
{% endopenapi %}

OAuth: client\_auth

5 - This is the information that must be entered to make a withdrawal: account ID, asset, network, destination address.

{% openapi src="/files/CxdhNANltvpAtSQ3ieEA" path="/v1/wallet/withdraw" method="post" %}
[stokn\_api.json](https://4184423511-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F50DZdVHQuJqLLMFS5pFA%2Fuploads%2FtArCzZFBOjwtLNo3PlL8%2Fstokn_api.json?alt=media\&token=f6fefe86-fbfd-49de-9419-503e5c449364)
{% endopenapi %}

OAuth: user\_auth


---

# 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://stokn.gitbook.io/welcome-to-stokn.io/step-4-user-deposit-and-withdrawal.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.
