DCA v0 API Documentation
Overview
Dollar-Cost Averaging (DCA) is a systematic investment strategy that involves allocating a fixed amount of money at regular intervals, regardless of market conditions. By investing consistently over time, DCA helps mitigate the impact of market volatility and fosters disciplined investment habits.
With Swapscanner, you can implement DCA strategies manually. Alternatively, our comprehensive API enables you to automate the entire process efficiently.
The DCA process comprises two key components:
- Order: A structured plan specifying the purchase of a predetermined amount of a token at regular intervals.
- Execution: The actual execution of the purchase transaction. Each order may encompass multiple executions.
API Endpoints
Our DCA API provides the following endpoints to facilitate seamless integration and management of DCA strategies:
- Get Create-Order Tx: Generate a transaction to create a new DCA order.
- List Orders: Retrieve a detailed list of DCA orders linked to an account.
- List Executions: Fetch a list of all executions associated with a specific DCA order.
Smart Contract Information
The DCA functionality is backed by a robust smart contract:
- Contract Address: 0x4d04ca5650f07ba13124ce09a28d98e12cb00e0f
You can access the smart contract’s ABI and source code through the provided link, ensuring full transparency and ease of integration.