---
title: "ParamsVersions queries all the parameters of the module with version."
method: GET
path: "/babylon/btcstaking/v1/params_versions"
tags: ["Query"]
---

# ParamsVersions queries all the parameters of the module with version.

`GET /babylon/btcstaking/v1/params_versions`

## Request

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

## Query parameters

- `pagination.key` string, byte
- `pagination.offset` string, uint64
- `pagination.limit` string, uint64
- `pagination.count_total` boolean
- `pagination.reverse` boolean

## Response `200`

A successful response.

- object: QueryParamsVersionsResponse stores all the params with versions.
  - `params` object[]: params holds all the params with version from this module.
    - `version` integer
    - `params` object: Params defines the parameters for the 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
  - `pagination` object: pagination defines the pagination in the response.
    - `next_key` string, byte: next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
    - `total` string, uint64

## Other responses

- `default`: An unexpected error response.

## Changes

- **2025-03-07** `1151a8c7fb8c`: 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_versions/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)
