Skip to Content
APIWitnessGet Chain Parameters

Get Chain Parameters

1. Overview & Typical Use

Returns all parameter configurations on the TRON chain, including the current value, initial value, and the history of associated proposals that modified each parameter.

  • Typical use: chain parameter panel display, proposal impact analysis, chain configuration monitoring.
  • When not to use: for proposal details use “Get Proposal List”.

2. Endpoint & Authentication

GET /api/chainparameters

For Base URL and authentication, see Common Network & Authentication.

3. Request

No parameters required.

4. Response

Top-level

FieldTypeRequiredDescription
tronParametersarrayRequiredChain parameters array; see below

tronParameters[] elements

FieldTypeRequiredDescription
keystringRequiredParameter name
valueintegerRequiredCurrent value
initValueintegerRequiredInitial value
relationsarrayRequiredList of associated proposals; see below

relations[] elements

FieldTypeRequiredDescriptionUnit/Precision
idintegerRequiredProposal ID
keyintegerRequiredParameter key number
valueintegerRequiredParameter value in the proposal
expiration_timeintegerRequiredProposal expiration timeMillisecond timestamp
statestringRequiredProposal state: APPROVED, PENDING, DISAPPROVED, CANCELED

5. Errors

For HTTP status codes, see Common Errors. Notes for this endpoint:

  • No parameters; always returns data: an empty result is a normal response.
Last updated on: