Info
Get consensus parameters
Changed onGet consensus parameters.
If the height field is set to a non-default value, upon success, the Cache-Control header will be set with the default maximum age.
get/consensus_params
Request
- Base URLhttp://localhost:26657
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
heightinteger
height to return. If no height is provided, it will fetch commit informations regarding the latest block.
Response
consensus parameters results.
Example response
{
"jsonrpc": "2.0",
"result": {
"block_height": "1",
"consensus_params": {
"block": {
"max_bytes": "22020096",
"max_gas": "1000",
"time_iota_ms": "1000"
},
"evidence": {
"max_age_num_blocks": "100000",
"max_age_duration": "172800000000000"
},
"validator": {
"pub_key_types": [
"ed25519"
]
}
}
}
}Changes
- breaking
removed the required property
///from the response with the status - info
added the required property
///to the response with the status - info
added the required property
///to the response with the status
- breaking
- breaking
removed the required property
///from the response with the status - breaking
removed the required property
///from the response with the status - info
added the required property
///to the response with the status
- breaking