getchainparameters - Tron
getchainparameters. Returns the current values of all configurable network parameters.
getchainparameters - tron [Value: 20CU]
Returns the current values of all configurable network parameters.
Use cases
- Also available as GET
- Read the current energy and bandwidth fee rates for cost estimation
- Check the current maintenance interval and other governance-controlled settings
Constraints
- Values only change following an approved governance proposal
Unlock Access to 100+ chains
Boost your app's speed and reliability with dRPC - get your access API key
Language
Request
Examples
curl --request POST \
--url https://lb.drpc.live/tron/{API-KEY}/wallet/getchainparameters \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{}'Response
200
{
"chainParameter": [
{ "key": "getMaintenanceTimeInterval", "value": 21600000 },
{ "key": "getEnergyFee", "value": 210 },
{ "key": "getTransactionFee", "value": 1000 }
]
}Request params
idinteger
jsonrpcstring
methodstring
This method does not accept any parameters.
visibleboolean
Output format; the default is false
int64_as_stringboolean
Only for GET. When true, serializes int64 parameter values as JSON strings
Response
200
Returns the current values of all configurable network parameters.Response params
object
chainParameterarray_of_objects
All configurable network parameters as key/value pairs