Skip to main content
GET
/
api
/
v2
/
getConfigParam
Get config parameter
curl --request GET \
  --url https://toncenter.com/api/v2/getConfigParam \
  --header 'X-API-Key: <api-key>'
{
  "ok": true,
  "result": {
    "@type": "configInfo",
    "config": {
      "@type": "tvm.cell",
      "bytes": "<string>"
    }
  },
  "@extra": "<string>"
}

Authorizations

X-API-Key
string
header
required

Query Parameters

config_id
integer
required

Parameter number

seqno
integer

Block seqno

Response

OK

Response containing the requested configuration parameter.

ok
boolean
default:true
required

Indicates if the request succeeded. If false, check the error field for details.

result
object
required

The response data. Only present when ok is true.

@extra
string

Optional request ID that you can pass in the request and receive back in the response. Useful for matching async responses.