For the complete documentation index, see llms.txt. This page is also available as Markdown.

getconfigall - TON

Example code for the getconfigall JSON-RPC method. Сomplete guide on how to use getconfigall JSON-RPC in GetBlock.io Web3 documentation.

This method returns all blockchain configuration parameters at once. Heavier than getConfigParam — prefer fetching specific parameters when possible.

Parameters

Parameter
Type
Required
Description

seqno

integer

No

Masterchain block seqno at which to read the config. Defaults to the latest

Request Example

REST (GET):

curl --location --request GET 'https://go.getblock.io/<ACCESS-TOKEN>/getConfigAll' \
--header 'Content-Type: application/json'

JSON-RPC (POST):

curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "getConfigAll",
    "params": {},
    "id": "getblock.io"
}'

Response Example

Response Parameters

Field
Type
Description

result.config.@type

string

Always tvm.cell

result.config.bytes

string

Base64-encoded BOC of the full configuration

Use Cases

  • Full snapshot of protocol parameters for archival

  • Comparing config across key blocks

  • Building configuration explorers

Error Handling

Status Code
Error Message
Cause

403

Forbidden

Missing or invalid <ACCESS-TOKEN>

422

Validation Error

Request parameters are missing or malformed

429

Too Many Requests

Rate limit exceeded for your plan

504

Lite Server Timeout

Upstream TON liteserver timed out

SDK Integration

Last updated

Was this helpful?