API Reference
Submit Gasless Swap
Execute a gasless swap using a Permit2 signature, relayed through Tachyon.
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/gasless/submit-swap" \ -H "Content-Type: application/json" \ -d '{ "quoteId": "string", "signature": "string" }'{
"code": 0,
"data": {
"amountIn": "string",
"amountOut": "string",
"executionTxHash": "string",
"feeAmount": "string",
"fromToken": "string",
"routeKind": {},
"status": "string",
"swapId": "string",
"tachyonTxId": "string",
"toToken": "string",
"fromChain": 0,
"toChain": 0
},
"message": "string"
}Empty
Empty