Architecture
๐ ๏ธ Swaps On-Ramp Integration Components
The Swaps On-Ramp is a standalone widget product, designed to be easily integrated into your application. It comes with an optional API and webhooks for enhanced user experience, enabling smooth cryptocurrency purchases for your users. We provide web and mobile SDKs to render the widget in your app, as well as a backend Node SDK for server-side operations.
Components for On-Ramp Integrations
Component | Features |
---|---|
Web SDKs | Parameters to pre-fill cryptocurrency, amount, user email, etc. |
Includes a communication layer between partner apps and the Swaps widget | |
Mobile SDKs | SDKs for iOS and Android apps |
Node SDK | Perform server-side functions, such as URL signing |
Swaps API | Get minimum/maximum purchase amounts, obtain buy quotes, and display transaction history |
Webhooks | Receive real-time transaction updates |
Legacy Integration | An alternative to SDKs; generate Swaps widget links to show in an iframe |
High-Level Diagram
The diagram below illustrates a basic crypto purchase flow and the components required for implementation. We recommend using our API and webhooks to provide contextual information, such as minimum/maximum purchase amounts, quotes, and transaction history, directly within your app.
[Diagram Placeholder]
Updated 21 days ago