SwapTerms
What the solver's maker leg must give and want (solver_offer, buy side).
Properties
Section titled “Properties”swapId
Section titled “swapId”swapId:
string
give:
object
Unshielded token and amount the solver gives (NIGHT, in STAR).
token:
string
amount
Section titled “amount”amount:
string
want:
object
Shielded token and the total the user pays (USDM, fee outputs included).
token:
string
amount
Section titled “amount”amount:
string
fees:
SwapFeeOutput[]
giveTo?
Section titled “giveTo?”
optionalgiveTo?: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
Section titled “expiresAt”expiresAt:
number
Intent TTL.