/getConfigParam {disallowed} - The Open Network (TON)

Example code for the /getConfigParam {disallowed} json-rpc method. Сomplete guide on how to use /getConfigParam {disallowed} json-rpc in GetBlock.io Web3 documentation.

Parameters

config_id - query

required, integer

config id

seqno - query

optional, integer

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

Request

curl --location --request GET 'https://ton.getblock.io/mainnet/getConfigParam' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json'

Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}

Last updated

© 2019-2024 GetBlock LLC. All rights reserved ID: 21835790. Address: Belgrade, Serbia.