curl --request GET \
--url https://backend.swap.coffee/v1/strategies/{address}/order \
--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"
Account's strategy order
The response is of type object
.
curl --request GET \
--url https://backend.swap.coffee/v1/strategies/{address}/order \
--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}/order \
--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"
Account's strategy order
The response is of type object
.
curl --request GET \
--url https://backend.swap.coffee/v1/strategies/{address}/order \
--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
}