RathRath Finance
API Reference

Build Path By ID

Builds executable calldata from a previously stored quote identifier.

POST
/build-path-by-id

Header Parameters

api-key*string

Required API key used for authenticated access and account-based rate limits. Missing or invalid keys return 401.

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-by-id" \  -H "api-key: string" \  -H "Content-Type: application/json" \  -d '{    "quoteId": "string"  }'
{
  "code": 0,
  "data": {
    "allowanceTarget": "string",
    "chain": 0,
    "data": "string",
    "expiry": 0,
    "gasLimit": "string",
    "simulation": true,
    "to": "string"
  },
  "message": "string"
}
Empty
Empty