Strategies
Strategies define the input token, the amount, the output tokens and frequency of each recurring buy. You can create a strategy using the web app.
Get a list of strategies
GET
https://api.8pay.network/v1/:chain/dollar-cost-average/strategies
Path Parameters
Name | Type | Description |
---|---|---|
chain | string |
Query Parameters
Name | Type | Description |
---|---|---|
admin | string | filter by admin |
from | number | filter by |
to | number | filter by |
sort | string | |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Bearer <api-key> |
Get a strategy
GET
https://api.8pay.network/v1/:chain/dollar-cost-average/strategies/:strategyId
Path Parameters
Name | Type | Description |
---|---|---|
strategyId | string | ID of the strategy |
chain | string |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Bearer <api-key> |
Last updated