Strategies
Get pre-built transaction for strategy order creation
post/v1/strategies/{address}/order
Request
- Base URLhttps://backend.swap.coffee
- Auth
- none
- or API key in header X-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
addressstring required
Example:UQCNTO0Nh0Z7QNyRW1BLWfk08f2dAOw4izrx9sO6OUPg4DoV
Headers
x-verifystring required
TON proof for the given address
Request body
Example request
{
"token_from": {
"blockchain": "ton",
"address": "native"
},
"token_to": {
"blockchain": "ton",
"address": "native"
},
"referral_name": "tonkeeper"
}Response
Transaction to be sent
Example response
{
"address": "EQCM3B12QK1e4yZSf8GtBRT0aLMNyEsBc_DhVfRRtOEffLez"
}Changes
No recorded changes to this operation across all 7 revisions of this API.