---
title: "ParamsByBTCHeight queries the parameters of the module for a specific BTC height"
method: GET
path: "/babylon/btcstaking/v1/params/btc_height/{btc_height}"
tags: ["Query"]
---

# ParamsByBTCHeight queries the parameters of the module for a specific BTC height

`GET /babylon/btcstaking/v1/params/btc_height/{btc_height}`

## Request

- The document declares no server URL.
- Auth: none declared

## Path parameters

- `btc_height` integer, required

## Response `200`

A successful response.

- object: QueryParamsByBTCHeightResponse is response type for the Query/QueryParamsByBTCHeightResponse RPC method.
  - `params` object: params holds all the parameters of this module.
    - `covenant_pks` string[]
    - `covenant_quorum` integer
    - `min_staking_value_sat` string, int64
    - `max_staking_value_sat` string, int64
    - `min_staking_time_blocks` integer
    - `max_staking_time_blocks` integer
    - `slashing_pk_script` string, byte
    - `min_slashing_tx_fee_sat` string, int64
    - `slashing_rate` string
    - `unbonding_time_blocks` integer
    - `unbonding_fee_sat` string, int64
    - `min_commission_rate` string
    - `delegation_creation_base_gas_fee` string, uint64
    - `allow_list_expiration_height` string, uint64
    - `btc_activation_height` integer
  - `version` integer

## Other responses

- `default`: An unexpected error response.

## Changes

- **2025-01-20** `c22c13d24c41`: 1 info
  - endpoint added
- **2023-02-14** `56ada4e129e1`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/babylonlabs-io/apis/babylon-grpc-gateway-docs/changes/babylon/btcstaking/v1/params/btc_height/:btc_height/get.md)

---

[API](https://skmtc.dev/babylonlabs-io/apis/babylon-grpc-gateway-docs.md) - [All operations](https://skmtc.dev/babylonlabs-io/apis/babylon-grpc-gateway-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/babylonlabs-io/apis/babylon-grpc-gateway-docs/revisions/93a09c641887?raw)
