预移除流动性
开发中POST
/brc20swap/v2/pre_remove_liquid请求参数
Body 参数application/json
tick1
string
必需
tick2
string
必需
coin_type_1
string
必需
coin_type_2
string
必需
percent
string
必需
payer_btc_addr
string
必需
payer_ord_addr
string
必需
payer_pub_key
string
必需
slipper
string
必需
fee_rate
string
必需
示例
{
"tick1": "string",
"tick2": "string",
"coin_type_1": "string",
"coin_type_2": "string",
"percent": "string",
"payer_btc_addr": "string",
"payer_ord_addr": "string",
"payer_pub_key": "string",
"slipper": "string",
"fee_rate": "string"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
data
object
必需
expect_amount1
string
必需
expect_amount2
string
必需
expect_transfer_fee
integer
必需
check_sum
string
必需
tx_size
integer
必需
usr_cnt
integer
必需
vins
array[string]
必需
req_id
string
必需
示例
{
"code": 0,
"msg": "string",
"data": {
"expect_amount1": "string",
"expect_amount2": "string",
"expect_transfer_fee": 0,
"check_sum": "string",
"tx_size": 0,
"usr_cnt": 0,
"vins": [
"string"
]
},
"req_id": "string"
}
最后修改时间: 1 年前