Step 5 - Crypto conversion
Last updated
Last updated
User can convert one crypto to another. The conversion will be instantly credited on the wallet of the user.
1 - The conversion can be completed using the following endpoint. You will need to provide the AccountId, the token to be changed, the destination token and the quantity.
OAuth: user_auth
2 - When you know the token you want to change, you can check all the related destination tokens using this endpoint:
OAuth: client_auth
3 - You can also check all the trading pairs available on Stokn using:
OAuth: client_auth
/v1/convert
/v1/convert/{fromSlug}
/v1/convert/tradingPairs