post
https://api.dev.hostcap.io/v1/assets/swap
Swap assets from one currency to another.
You can use this endpoint to swap from fiat to crypto, crypto to fiat, crypto to crypto and fiat to fiat seamlessly.
For example, if you want to swap from USDC to BTC, you can specify your USDC assetId (source) and your BTC assetId (target).
What happens is that your USDC wallet is debited and your BTC wallet is credited of the converted USDC to BTC equivalent.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
