> ## Documentation Index
> Fetch the complete documentation index at: https://docs-en.keysecure.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Stake

> Stake BTC

#### Request Parameters

**sub\_wallet\_id** `integer` *required*

Wallet ID

**lock\_number** `integer` *required*

Staking period (block height)

If you need to test the Unbond, you need to fill in the lock\_number and amount according to the official requirements of **babylon**; if you need to test the Unstake, you can set the lock\_number smaller, and \[the amount > the current mining fee + the minimum withdrawal amount]

**symbol** `string` *required*

Unique identifier for the coin, e.g.: `BTC`

**amount** `string` *required*

Stake amount

**fp\_key** `string` *required*

Finality Provider

**request\_id** `string` *required*

The unique identifier for stake

**fee** `string`

Customized fee, e.g.: `0.021`

#### Response Data Parameters

**object**

**stake\_id** `integer`

Platform stake\_id

```curl cURL theme={null}
curl -X POST \
--url 'https://openapi.keysecure.io/
api/mpc/babylon/stake?app_id=16a9f17fc2ad61ca4339fdd6a8a37f21&data=SWYYr-LBVAmaS0eq8n-CUT_nHkM3OBxyWOsImMTe41UaqAoYI2ZghmaphXHov-7hsRsVmOhyPqC-JFuRGvonJKFd2Jirxv6Vn_8V40r_MMYTkhqcviQbZWYW5xX8Ai8CIpqas9fIWVDIYA_NKBl0UCJpwGxscxLNpjq5Z8-BTyIYDsVBquM9zEQGBCfcA7szD9n2fN_loSkoexlwqV8wg9HIZO5yQ6utZ_Kt0lNDQQb8zn8BwfAvsEsbJlOINUAqhxh1vV_AJ4bXn2uYx8TaYcBht-n_ZcBdxIDt975dbOFUiH-oCzIuDi1oLDtb4EylfCvhU5E4ozel_lQ-6cyIG0Dqiiyx0RFFOCJzPSXIoV031pvoa8pTCpkWklh8mRw1rylBgeZtqSxpnJO2_u2RIlXq6Hs8Yly9CmhIXaSrUgPir0h6xVxlf4VC6PFVCkiiTlp0kZ_H_UbKm0nUis3v3U2sflWJ2C449waSrikhuxVrFAQ6PQmrFVCAE6MYXNrFXJQuam2HAIQNSGbFQjspw8b_bXyfyZMGZ3K2oBC4I_v3eETTdPe0pfSNJb-5g37K0tOAr_UFbWK8pkC8yl56fSjn8tcR3yCRWwoi8jxTcUBiswTtvXZtzgG4dyzkaHXjsZjSGiywXSqP76VZWlyOmAx6IDSViLcPLPISdU3ruCI'
```

```json theme={null}
{
    "stake_id": 10241
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.