Skip to main content
GET
/
getConfigParam
Get single config parameter
curl --request GET \
  --url https://toncenter.com/api/v2/getConfigParam
{
  "ok": true,
  "result": {
    "config": {
      "bytes": "<string>",
      "@type": "tvm.cell"
    },
    "@type": "configInfo",
    "@extra": "<string>"
  },
  "error": "<string>",
  "code": 123
}

Query Parameters

config_id
integer
required

Config id

seqno
integer

Masterchain seqno. If not specified, latest blockchain state will be used.

Response

Successful Response

ok
boolean
required
result
Result · object

Configuration parameter for the requested id (at optional seqno).

error
string
code
integer