getConfigAll
TON / https://triport.io/rpc/ton
Minimum tier: Pro
Last updated:
getConfigAll returns the available blockchain configuration encoded as a TON
cell. With no seqno, the facade reads configuration at the liteserver's
current masterchain point. Supplying seqno asks for historical state.
Use this method when multiple configuration parameters must be decoded from one
cell. Use getConfigParam when only one numbered parameter is needed; it maps a
single config_id to the underlying liteserver configuration request.
The returned cell is serialized, not expanded into application-level configuration fields. Historical reads depend on the selected server's state window and can fail even when a different node can answer the same sequence.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| seqno | Seqno | No |
Returns
| Field | Type |
|---|---|
| result | ConfigInfo |
Examples
curl https://triport.io/rpc/ton \
-X POST -H 'Content-Type: application/json' \
-H 'Authorization: Bearer <api-key>' \
-d '{"jsonrpc":"2.0","id":1,"method":"getConfigAll","params":["<seqno>"]}'const res = await fetch("https://triport.io/rpc/ton", {
method: "POST",
headers: { "Content-Type": "application/json", Authorization: "Bearer <api-key>" },
body: JSON.stringify({
"jsonrpc": "2.0",
"id": 1,
"method": "getConfigAll",
"params": [
"<seqno>"
]
}),
});
const data = await res.json();import requests
resp = requests.post(
"https://triport.io/rpc/ton",
headers={"Authorization": "Bearer <api-key>"},
json={"jsonrpc":"2.0","id":1,"method":"getConfigAll","params":["<seqno>"]},
)
print(resp.json())Usage
- Transport: HTTP (JSON-RPC).
- Chain: TON.
- Clusters: mainnet.
- Credit cost: 5 per call.
FAQ
- What does getConfigAll do?
- Returns all available blockchain configuration cells at a masterchain point.
- How many credits does getConfigAll cost?
- getConfigAll costs 5 credit(s) per call on Triport by default.
- Is getConfigAll available over WebSocket?
- getConfigAll is an HTTP JSON-RPC method.