getConfigParam - Ton

getConfigParam. Retrieves the value of a specific configuration parameter, providing insights into its settings and operational behavior.

getConfigParam - ton [Value: 100CU]
Retrieves the value of a specific configuration parameter, providing insights into its settings and operational behavior.
Use cases

Use cases

  • Get a specific configuration parameter
  • Access details of individual network settings
  • Analyze parameters for performance tuning
Constraints

Constraints

  • Requires a valid parameter name
  • Only supports existing parameters
  • Depends on node synchronization
Get started
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key

Language

Request
Examples
curl --request GET \
     --url  'https://ton.drpc.org/rest/getConfigParam?config_id=1' \
     --header 'accept: application/json'
Copy
Response
200
{
    "ok": true,
    "result": {
        "@type": "configInfo",
        "config": {
            "@type": "tvm.cell",
            "bytes": "te6cckEBAQEAIgAAQDMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzwqnziA=="
        },
        "@extra": "1730412523.9205265:0:0.9905079592801663"
    }
}
Copy

Request params

Parametersinteger
integer
config_idinteger

Response

200

Response params

object
okboolean
Indicates whether the request was successful.
resultobject
The main result object containing configuration information.
@typestring
The type of the result object.
configobject
Configuration details in a specific format.
@typestring
Type of the configuration cell.
bytesstring
Byte representation of the configuration.
@extrastring
Additional metadata associated with the result.