v3
latestOpenAPI 3.0.32026-07-21128192192.7 KBRouting
Returns the best route for the given trade pair
post/v1/route
Request body
Example request
{
"input_token": {
"blockchain": "ton",
"address": "native"
},
"output_token": {
"blockchain": "ton",
"address": "native"
},
"pool_selector": {
"blockchains": [
"ton"
],
"dexes": [
"dedust"
]
},
"mev_protection": true,
"additional_data": {
"sender_address": "UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV",
"referral_name": "tonkeeper"
}
}Response
resulting route