GET
/
v1
/
strategies
/
{address}
/
orders
curl --request GET \
  --url https://backend.swap.coffee/v1/strategies/{address}/orders \
  --header 'x-verify: <x-verify>'
[
  {
    "id": 123,
    "type": "limit",
    "wallet": "UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV",
    "status": "active",
    "creation_timestamp": 123,
    "token_from": {
      "address": {
        "blockchain": "ton",
        "address": "native"
      },
      "metadata": {
        "name": "ARBUZ",
        "symbol": "ARBUZ",
        "decimals": 123,
        "image_url": "<string>",
        "listed": true
      }
    },
    "token_to": {
      "address": {
        "blockchain": "ton",
        "address": "native"
      },
      "metadata": {
        "name": "ARBUZ",
        "symbol": "ARBUZ",
        "decimals": 123,
        "image_url": "<string>",
        "listed": true
      }
    },
    "initial_input_amount": "<string>",
    "current_input_amount": "<string>",
    "settings": {},
    "current_output_amount": "<string>",
    "max_suborders": 123,
    "suborders_executed": 123,
    "max_invocations": 123,
    "invocations_executed": 123,
    "slippage": 0.5005,
    "max_path_length": 123,
    "active_transactions": 123,
    "close_timestamp": 123
  }
]

Authorizations

X-Api-Key
string
header
required

Headers

x-verify
string
required

TON proof for the given address

Path Parameters

address
string
required
Example:

"UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV"

Query Parameters

type
enum<string>
Available options:
limit,
dca,
vca
include_finished
boolean
default:false

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

size
integer
default:100
Required range: 1 <= x <= 100
before_id
integer

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

Response

200
application/json

Account's strategy orders

The response is of type object[].