The User will need different deposit address according to the coin selected and the network.
1 - In order to realize a deposit,
Get deposit on chain address
get
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
accountIdstringRequired
assetstringRequired
networkstringRequired
Responses
200
OK
*/*
get
/v1/wallet/deposit/{accountId}/{asset}/{network}
200
OK
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.
OAuth: client_auth
2 - To obtain the history of all the deposits of a given AccountId, you can use the following endpoint:
Get deposit history on chain
get
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
accountIdstringRequired
Responses
200
OK
*/*
get
/v1/wallet/deposit/{accountId}/history
200
OK
OAuth: client_auth
3 - Using the following endpoint, you can also consult the list of the blockchains network available on Stokn for deposit:
Get network of coins
get
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
slugstringRequired
Responses
200
OK
*/*
Responsestring
get
/v1/wallet/deposit/networks/all/{slug}
200
OK
OAuth: client_auth
4 - Using the following endpoint, you can also consult the list of coins/tokens available on Stokn for deposit:
Get available coins for deposit
get
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Responses
200
OK
*/*
get
/v1/wallet/deposit/available-coins
200
OK
OAuth: client_auth
5 - This is the information that must be entered to make a withdrawal: account ID, asset, network, destination address.