Skip to content

QuoteParams

give: string

Token the user gives: a symbol (USDM, NIGHT) or a raw type.


want: string

Token the user receives.


amount: string | bigint

What the user gives, base units.


receiver: Receiver

Where the user receives: unshielded (hex) for NIGHT, shielded ("cpk:epk") for USDM.


optional minWantAmount?: string | bigint


optional source?: string

The funds' unshielded source address (hex), for screening on the sell side.


optional settlements?: ("solver_offer" | "user_offer")[]

What the wallet can do; both by default.


optional minWaitMs?: number


optional maxWaitMs?: number


optional minDeadlineMs?: number


optional requestId?: string

Idempotency key: a repeated requestId is refused (409).