Cancel Withdraw
Please note that access to this API requires the API key to have brc20-swap permissions enabled.
Authorizations
Query parameters
idstringRequired
Responses
200
Default Response
application/json
get
GET /v1/brc20-swap/create_cancel_withdraw HTTP/1.1
Host: open-api.unisat.io
Authorization: Bearer JWT
Accept: */*
200
Default Response
{
"code": 1,
"msg": "text",
"data": {
"id": "text",
"psbt": "text",
"networkFee": 1
}
}
Authorizations
Body
idstringRequired
psbtstringRequired
Responses
200
Default Response
application/json
post
POST /v1/brc20-swap/confirm_cancel_withdraw HTTP/1.1
Host: open-api.unisat.io
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 27
{
"id": "text",
"psbt": "text"
}
200
Default Response
{
"code": 1,
"msg": "text",
"data": {}
}
Last updated