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

# getConfigParam | TON v2

> The getConfigParam method retrieves a specific configuration parameter from the TON blockchain. Available on TON v2 via Chainstack.

The `getConfigParam` method retrieves a specific configuration parameter from the TON blockchain. This method allows you to access various system-wide settings and parameters that govern the behavior of the TON network.

## Parameters

* `config_id` (integer, required) — The ID of the configuration parameter to retrieve. Example: `5`.

## JSON-RPC

```shell Shell theme={"system"}
curl -X POST \
  'https://ton-mainnet.core.chainstack.com/f2a2411bce1e54a2658f2710cd7969c3/api/v2/jsonRPC' \
  -H 'Content-Type: application/json' \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "getConfigParam",
    "params": {
      "config_id": 5
    }
  }'
```

## Response

* `config_id` (integer) — The ID of the configuration parameter that was requested.
* `value` (object) — The value of the configuration parameter. The structure of this object varies depending on the specific parameter requested.

## Use case

A possible use case for the `getConfigParam` method in TON is for applications or services that need to access and utilize system-wide configuration parameters. This method can be used to:

1. Retrieve network-wide settings for validators, such as minimum stake requirements.
2. Access global parameters that affect transaction processing or smart contract execution.
3. Obtain information about the current configuration of the TON network.
4. Build tools for network analysis and monitoring that require access to system parameters.


## OpenAPI

````yaml openapi/ton_node_api/v2/getConfigParam.json GET /getConfigParam
openapi: 3.0.0
info:
  title: getConfigParam example
  version: 1.0.0
  description: >-
    This is an API example for getConfigParam, a method to retrieve a specific
    configuration parameter from the TON blockchain.
servers:
  - url: >-
      https://ton-mainnet.core.chainstack.com/f2a2411bce1e54a2658f2710cd7969c3/api/v2
security: []
paths:
  /getConfigParam:
    get:
      tags:
        - TON Operations
      summary: getConfigParam
      operationId: getConfigParam
      parameters:
        - name: config_id
          in: query
          required: true
          description: The ID of the configuration parameter to retrieve
          schema:
            type: integer
            default: 5
          example: 5
      responses:
        '200':
          description: The requested configuration parameter
          content:
            application/json:
              schema:
                type: object
                properties:
                  config_id:
                    type: integer
                    description: The ID of the configuration parameter
                  value:
                    type: object
                    description: The value of the configuration parameter
                    additionalProperties: true

````