Executions
A strategy is executed at regular intervals for an indefinite number of times, untile cancellation.
In order for executions to be performed, the user will need to have enough funds on its gas-wallet to pay for blockchain fees.
An execution can fail if the user hasn’t got enough funds on his wallet. In that case 8Pay will retry every 6 hours.
Get a list of executions
GET
https://api.8pay.network/v1/:chain/dollar-cost-average/executions
Path Parameters
Name | Type | Description |
---|---|---|
chain | string |
Query Parameters
Name | Type | Description |
---|---|---|
from | number | filter by |
to | number | filter by |
sort | string |
|
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Bearer <api-key> |
Get executions of a strategy
GET
https://api.8pay.network/v1/:chain/dollar-cost-average/strategies/:strategyId/executions
Path Parameters
Name | Type | Description |
---|---|---|
strategyId | string | ID of the strategy |
chain | string |
Query Parameters
Name | Type | Description |
---|---|---|
from | number | filter by |
to | number | filter by |
sort | string |
|
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Bearer <api-key> |
Last updated