GETGet all config parameters

TON Mainnethttps://ton-mainnet.nodit.io/api/v2/getConfigAll
CU50

Returns all blockchain configuration parameters at once. Includes gas prices, validator settings, workchain configs, and governance rules. Use the optional seqno to get historical configuration at a specific block height.

Query Parameters
seqnointeger (int32)

Block seqno

Responses
okbooleanrequired

Returns true if the request succeeded; otherwise false. See the error field for details.

@typestring (enum)required

TonLib type identifier for blockchain configuration responses. Refer to the TonLib type reference for a full list.

configobjectrequired

The requested configuration parameter value as a TVM cell.

@typestring (enum)required

TonLib type identifier for TVM cell values. Refer to the TonLib type reference for a full list.

bytesstringrequired

TVM cell data serialized as base64.

@extrastring

Optional request ID that can be passed in the request and received back in the response. Useful for matching async responses.

X-API-KEY
Request
cURL
curl -X GET "https://ton-mainnet.nodit.io/api/v2/getConfigAll" \
  -H "X-API-KEY: {YOUR_API_KEY}"
Response
Example · 200
{
  "ok": true,
  "result": {
    "@type": "configInfo",
    "config": {
      "@type": "tvm.cell",
      "bytes": "te6cckIDCFUAAQAAATZ1AAACASAAAQACAgLYAAMABAIC9QAlACYCASAABQAGAgFiB+IH4wIBIAAHAAgCAUgAIwAkAgEgADQANQIBIAAJAAoCASAACwAMAgEgAHsAfAIBIAANAA4CASAAGQAaAgEgAA8AEAIBIAATABQBASAAEQEBIAASAAwBkABkAEsAN3ARDZMW7AAH..."
    }
  },
  "@extra": "1795684396:_:0.003:c"
}