Swap

do swap on sui chain
swapInfo comes from the response of GET /v1/sui/quote

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

request body

commission
object

validate: optional
commission

boolean
Defaults to false

validate: optional
disable simulate

uint64

validate: optional
gasBudget

uint64

validate: optional
gasPrice

boolean
Defaults to false

validate: optional
mock input coin, if true, a mock input coin will be used instead of the real coins from userAddress

posSlippage
object

validate: optional

integer

validate: required
slippage in bps, e.g. 100 means 1%, 85 means 0.85%

swapInfo
object

validate: required
swap info

string

validate: required

Responses

Language
LoadingLoading…
Response
Choose an example:
application/json