Skip to main content

GetChainParameters

GET

All parameters that the blockchain committee can set
Path Parameters
chainstringrequired
Parameter specifying the target chain to query.
networkstringrequired
Parameter specifying the network of the target chain.
Responses
List of dynamic chain parameter objects. Each dynamic parameter contains the following fields:
keystring
Parameter name.
valueinteger
Parameter value.
codestringrequired
Code identifying the cause of the failed request.
messagestringrequired
Detailed message including the name and value of the invalid parameter.
{
"code": "ERROR_CODE",
"message": "400"
}
cURL
curl -X GET 'https://tron-mainnet.nodit.io/wallet/getchainparameters' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: nodit-demo'