Quickstart
A simple integration workflow:
Create Swap using the Layerswap API
Layerswap will monitor the source network for a transaction and will try to match it with the corresponding swap
Once the transaction is matched and added to the swap, Layerswap will initiate a counterparty transaction to the
destination_address
(Optionally) Poll via Get Swap endpoint to see if the matching transaction Input was added to the swap
If the webhook is configured, Layerswap will deliver a swap status update notification to the partner-specified URL
Starter Kit
Postman Collection:
https://github.com/layerswap/layerswap-sdk-starter-kit/blob/main/postman_collection.json End-to-End Backend + Frontend Integration:
https://github.com/layerswap/layerswap-sdk-starter-kit/
Swagger docs:
https://api.layerswap.io/swagger
Examples to get started
Get Available Networks
Create Swap
Last updated