Get Swap Rate
Before creating a swap, it's possible to programmatically retrieve data about the valid minimum/maximum swap amount and the Layerswap fee. The endpoint is public and does not require any authorization.
POST
https://api.layerswap.io/api/swap_rate
Headers
Request Body
A detailed explanation of the Swap Rate Object is available here.
Raw request
Raw Response
Last updated