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.
destinationAsset
String
The currency name to be filtered. Example: USDT.
Raw request
Raw response
Last updated