Create Fast Swap
This endpoint provides the ability to create a swap with as few parameters as possible - destination network, asset and amount. Then, the endpoint will return all the possible source networks which can be used for transferring the funds to the destination network. The returned source networks are tracked for a possible deposit.
POST
https://api.layerswap.io/api/swaps/fast
Create fast swap
Query Parameters
Name | Type | Description |
---|---|---|
client_id | String | Optionally can be passed to the application Client ID. |
Headers
Name | Type | Description |
---|---|---|
Content-Type* | String | application/json |
Request Body
Name | Type | Description |
---|---|---|
destination_address* | String | The destination network address, where the user will receive the funds. |
destination_asset* | String | The swap currency name. See available assets. |
destination_network* | String | The supported blockchain network name, where the funds should be sent by the user. See available values. |
Raw request
Raw response
Last updated