get https://ton-mainnet.core.chainstack.com/f2a2411bce1e54a2658f2710cd7969c3/api/v2/getConfigParam
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.
Get you own node endpoint today
Start for free and get your app to production levels immediately. No credit card required.
You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
- config_id(integer, required) — The ID of the configuration parameter to retrieve. Example:- 5.
JSON-RPC
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:
- Retrieve network-wide settings for validators, such as minimum stake requirements.
- Access global parameters that affect transaction processing or smart contract execution.
- Obtain information about the current configuration of the TON network.
- Build tools for network analysis and monitoring that require access to system parameters.
Try the getConfigParam RPC method yourself
getConfigParam RPC method yourself