v3

latestOpenAPI 3.0.32026-07-21128192192.7 KB
Strategies

Get strategy order

get/v1/strategies/{address}/order

Path parameters

addressstring required
Example:UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV

Query parameters

idinteger required

Headers

x-verifystring required

TON proof for the given address

Response

Account's strategy order

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"
    }
  }
}