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,
"verification": "whitelisted"
}
},
"token_to": {
"address": {
"blockchain": "ton",
"address": "native"
},
"metadata": {
"name": "ARBUZ",
"symbol": "ARBUZ",
"decimals": 123,
"image_url": "<string>",
"listed": true,
"verification": "whitelisted"
}
},
"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
}
]
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,
"verification": "whitelisted"
}
},
"token_to": {
"address": {
"blockchain": "ton",
"address": "native"
},
"metadata": {
"name": "ARBUZ",
"symbol": "ARBUZ",
"decimals": 123,
"image_url": "<string>",
"listed": true,
"verification": "whitelisted"
}
},
"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
}
]
TON proof for the given address
"UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV"
limit
, dca
, vca
By default, only active and pending cancellation orders are being returned
1 <= x <= 100
Return only those orders, which id is lower than the given one
Account's strategy orders
The response is of type object[]
.