POST
/
v1
/
strategies
/
{address}
/
order
curl --request POST \
  --url https://backend.swap.coffee/v1/strategies/{address}/order \
  --header 'Content-Type: application/json' \
  --header 'x-verify: <x-verify>' \
  --data '{
  "type": "limit",
  "token_from": {
    "blockchain": "ton",
    "address": "native"
  },
  "token_to": {
    "blockchain": "ton",
    "address": "native"
  },
  "input_amount": "<string>",
  "settings": {},
  "max_suborders": 128,
  "max_invocations": 128,
  "slippage": 0.5,
  "referral_name": "tonkeeper"
}'
{
  "address": "EQCM3B12QK1e4yZSf8GtBRT0aLMNyEsBc_DhVfRRtOEffLez",
  "value": "<string>"
}

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"

Body

application/json

Response

200
application/json

Transaction to be sent

The response is of type object.