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
Fields
No parameters required.
4. Response
Fields
Top-level
| Field | Type | Required | Description |
|---|---|---|---|
tronParameters | array | Required | Chain parameters array; see below |
tronParameters[] elements
| Field | Type | Required | Description |
|---|---|---|---|
key | string | Required | Parameter name |
value | integer | Required | Current value |
initValue | integer | Required | Initial value |
relations | array | Required | List of associated proposals; see below |
relations[] elements
| Field | Type | Required | Description | Unit/Precision |
|---|---|---|---|---|
id | integer | Required | Proposal ID | — |
key | integer | Required | Parameter key number | — |
value | integer | Required | Parameter value in the proposal | — |
expiration_time | integer | Required | Proposal expiration time | Millisecond timestamp |
state | string | Required | Proposal 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: