OptionaldexesRestrict to DEXes
OptionalmaxMaximum accounts in the swap transaction (Jupiter param)
OptionalonlyPrefer direct (single-hop) routes
OptionalslippageSlippage in basis points (e.g., 50 = 0.5%). Must be 0-10000
OptionalswapChoose price/size tradeoff; defaults to SMART
OptionaluserIf provided, routes may be tailored to this wallet (e.g., account state)
Raw amount in base units (e.g., 1 SOL -> 1_000_000_000)