Skip to content

SwapTerms

What the solver's maker leg must give and want (solver_offer, buy side).

swapId: string


give: object

Unshielded token and amount the solver gives (NIGHT, in STAR).

token: string

amount: string


want: object

Shielded token and the total the user pays (USDM, fee outputs included).

token: string

amount: string


fees: SwapFeeOutput[]


optional giveTo?: string

Unshielded address receiving give inside the solver's leg (the quoted, screened user address): the wallet then only covers a shielded deficit. Absent for ladder offers built before the user is known: give is then a surplus the user's wallet takes, which needs a wallet that balances unshielded surpluses.


expiresAt: number

Intent TTL.