Get Available Routes
Before creating a swap, it's possible to programmatically retrieve all possible supported routes. The endpoint is public and does not require any authorization.
GET
https://api.layerswap.io/api/available_networks
Query Parameters
Name | Type | Description |
---|---|---|
version | String | Possible values “sandbox” | any. If a sandbox value is provided, only the Testnet networks will be returned. For any other values - only the Mainnet networks will be returned. |
sourceAsset | String | The currency name to be filtered. Example: USDT. |
destination | String | The supported blockchain network name to be filtered. See available values. |
source | String | The supported blockchain network name to be filtered. See available values. |
destinationAsset | String | The currency name to be filtered. Example: USDT. |
Raw request
Raw response
Last updated