v3

latestOpenAPI 3.0.32026-07-21128192192.7 KB
Strategies

Get strategy orders

get/v1/strategies/{address}/orders

Path parameters

addressstring required
Example:UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV

Query parameters

type'limit' | 'dca' | 'vca'
include_finishedboolean

By default, only active and pending cancellation orders are being returned

sizeinteger
before_idinteger

Return only those orders, which id is lower than the given one

Headers

x-verifystring required

TON proof for the given address

Response

Account's strategy orders

idinteger required
type'limit' | 'dca' | 'vca' required
walletstring required
status'active' | 'requested_cancellation' | 'cancelled_by_user' | 'cancelled_by_system' | 'executed' | 'max_retries_exceeded' required
creation_timestampinteger required

Unix time in seconds

initial_input_amountstring required
current_input_amountstring required
settingsApiJson required
current_output_amountstring required
max_subordersinteger required
suborders_executedinteger required
max_invocationsinteger required

Max amount of swaps to be potentially executed (including those that fail to reasons like slippage tolerance abortion)

invocations_executedinteger required

Amount of swaps that had already been tried to be executed (including those that failed to reasons like slippage tolerance abortion)

slippagenumber double required
max_path_lengthinteger required

Max path length in tokens for every route that could potentially be executed within this order

active_transactionsinteger required

Amount of this order transactions that were sent, but their result is still unknown

close_timestampinteger

Unix time in seconds

Example response

[
  {
    "wallet": "UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV",
    "token_from": {
      "address": {
        "blockchain": "ton",
        "address": "native"
      },
      "metadata": {
        "name": "ARBUZ",
        "symbol": "ARBUZ"
      }
    },
    "token_to": {
      "address": {
        "blockchain": "ton",
        "address": "native"
      },
      "metadata": {
        "name": "ARBUZ",
        "symbol": "ARBUZ"
      }
    }
  }
]