移除流动性
开发中
POST
https://test-api-proxy.ddpurse.com/brc20swap/v2/remove_liquid_by_psbt
请求参数
Body 参数application/json
order_id
string
必需
psbt
string
必需
checksum
string
必需
to_sign_inputs
array [object {2}]
可选
index
integer
可选
type
string
可选
示例
{
"order_id": "string",
"psbt": "string",
"checksum": "string",
"to_sign_inputs": [
{
"index": 0,
"type": "string"
}
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://test-api-proxy.ddpurse.com/brc20swap/v2/remove_liquid_by_psbt' \
--header 'Content-Type: application/json' \
--data-raw '{
"order_id": "string",
"psbt": "string",
"checksum": "string",
"to_sign_inputs": [
{
"index": 0,
"type": "string"
}
]
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
data
null
必需
req_id
string
必需
示例
{
"code": 0,
"msg": "string",
"data": null,
"req_id": "string"
}
🟢200成功