Skip to main content
POST
/
v1
/
custody
/
mpc
/
babylon
/
withdraw
/
request(
    "POST",
    "/v1/custody/mpc/babylon/withdraw/",
    {
        "request_id": "1717059604245",
        "fee_rate": 9.5,
        "max_fee_amount": 2000,
        "staking_request_id": "1717059601673",
    },
    api_key, api_secret, host
)
{
  "success": true,
  "result": ""
}

Request

request_id
String
required
transaction ID (unique identifier of a transaction request, which must correspond to a client’s transaction; UUID should be used and the length should be equal to or less than 120 characters)
fee_rate
Float
required
transaction fees per byte
max_fee_amount
Int
maximum fee for constructing the transaction. If the actual fee exceeds this limit, the creation will fail. The default is None.
staking_request_id
String
request ID of the staking transaction to be withdrawn
unbonding_request_id
String
request ID of the unbonding transaction
Please note that the unbonding_request_id parameter is deprecated and will no longer be used, please use only staking_request_id instead.

Response

success
bool
request successful or failed
result
String
""
request(
    "POST",
    "/v1/custody/mpc/babylon/withdraw/",
    {
        "request_id": "1717059604245",
        "fee_rate": 9.5,
        "max_fee_amount": 2000,
        "staking_request_id": "1717059601673",
    },
    api_key, api_secret, host
)
{
  "success": true,
  "result": ""
}

Feel free to share your feedback to improve our documentation!