curl --request GET \
--url https://ton-mainnet.core.chainstack.com/f2a2411bce1e54a2658f2710cd7969c3/api/v2/getConfigParam
{
"config_id": 123,
"value": {}
}
curl --request GET \
--url https://ton-mainnet.core.chainstack.com/f2a2411bce1e54a2658f2710cd7969c3/api/v2/getConfigParam
{
"config_id": 123,
"value": {}
}
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.
config_id
(integer, required) — The ID of the configuration parameter to retrieve. Example: 5
.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
}
}'
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.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:
The ID of the configuration parameter to retrieve
The requested configuration parameter
The response is of type object
.
Was this page helpful?