POST
Route a swap and mint a pathId

Body

application/json
chainId
enum<integer>
required
Available options:
101
inputTokens
object[]
required
outputTokens
object[]
required
userAddr
string
required

base58; must match assemble

slippageLimitPercent
number
Example:

0.3

sourceWhitelist
string[]
Example:
disableRFQs
boolean
default:false
referralCode
string | null

Response

A firm-or-soft quote plus a pathId to assemble against.

pathId
string
Example:

"ast_01H..."

blockNumber
integer
inTokens
string[]
inAmounts
string[]
outTokens
string[]
outAmounts
string[]
netOutValue
number
priceImpact
number
gasEstimate
number
traceId
string
astrolabe
object

Astrolabe-specific quote metadata.