OpenAPI 3.0.32026-08-07129194194.6 KB
fd1067547679
Routing
Returns pre-built transactions for the given route. It is assumed that transactions will be signed and sent by the sender via wallet
post/v2/route/transactions
Request body
Example request
{
"sender_address": "UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV",
"slippage": 0.05,
"dynamic_slippage": true,
"referral_name": "tonkeeper",
"mev_protection": true,
"paths": [
{
"blockchain": "ton",
"dex": "stonfi",
"input_token": {
"address": {
"blockchain": "ton",
"address": "native"
},
"metadata": {
"name": "ARBUZ",
"symbol": "ARBUZ"
}
},
"output_token": {
"address": {
"blockchain": "ton",
"address": "native"
},
"metadata": {
"name": "ARBUZ",
"symbol": "ARBUZ"
}
}
}
]
}Response
transactions for the route
Example response
{
"transactions": [
{
"address": "EQCM3B12QK1e4yZSf8GtBRT0aLMNyEsBc_DhVfRRtOEffLez"
}
]
}