Add Liq
Please note that access to this API requires the API key to have brc20-swap permissions enabled.
quote swap
GEThttps://open-api.unisat.io/v1/brc20-swap/quote_swap
Query parameters
Response
Default Response
Body
code*number
msg*string
data*object
Request
Response
/add_liq interface pre-load, get the signature content, gas and byte information.
GEThttps://open-api.unisat.io/v1/brc20-swap/pre_add_liq
Query parameters
Response
Default Response
Body
code*number
msg*string
data*object
Request
Response
Add the liquidity operation.
POSThttps://open-api.unisat.io/v1/brc20-swap/add_liq
Body
address*string
tick0*string
tick1*string
amount0*string
Input amount of tick0
amount1*string
Input amount of tick1
lp*string
slippage*string
ts*number
Timestamp (seconds)
sig*string
User signature
Response
Default Response
Body
code*number
msg*string
data*object
Request
Response
Last updated