Build Path
Builds executable calldata for a selected route.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://api.xpath.rath.fi/build-path" \ -H "Content-Type: application/json" \ -d '{ "Amount": "string", "Sender": "string", "fromChain": 0, "fromToken": "string", "toChain": 0, "toToken": "string" }'{
"code": 0,
"data": {
"allowanceTarget": "string",
"chain": 0,
"data": "string",
"expiry": 0,
"gasLimit": "string",
"simulation": true,
"to": "string"
},
"message": "string"
}