governance_status
Returns a summary of the block header-based governance status.
JSONRPC: governance_status
Request
- application/json
Body
Responses
- 200
Returns a summary of the block header-based governance status.
- application/json
- Schema
- Example (from schema)
Schema
error
object
A Number that indicates the error type that occurred. This MUST be an integer.
code | message | description |
---|---|---|
-32700 | Parse error | invalid JSON was received by the server. An error occurred on the server while parsing the JSON text. |
-32602 | Invalid params | Invalid method parameter(s). |
A String providing a short description of the error. The message SHOULD be limited to a concise single sentence.
A Primitive or Structured value that contains additional information about the error. This may be omitted. The value of this member is defined by the Server (e.g. detailed error information, nested errors etc.).
result
object
Returns a summary of the block header-based governance status.
Casted votes grouped by epoch
Governance parameter changes after each parameter-changing epoch
Governance parameter sets after each parameter-changing epoch
The current node's address
Votes cast by the current node
{
"jsonrpc": "2.0",
"id": 1,
"error": {
"code": -32700,
"message": "Parse error",
"data": "string"
},
"result": {
"jsonrpc": "2.0",
"id": 1,
"result": {
"groupedVotes": {
"138": {
"83863326": {
"Voter": "0x99fb17d324fa0e07f23b49d09028ac0919414db6",
"Name": "governance.unitprice",
"Value": 750000000000
}
},
"148": {
"89983211": {
"Voter": "0x99fb17d324fa0e07f23b49d09028ac0919414db6",
"Name": "governance.unitprice",
"Value": 250000000000
}
},
"173": {
"105193190": {
"Voter": "0x99fb17d324fa0e07f23b49d09028ac0919414db6",
"Name": "reward.mintingamount",
"Value": 6400000000000000000
},
"105193221": {
"Voter": "0x99fb17d324fa0e07f23b49d09028ac0919414db6",
"Name": "reward.ratio",
"Value": "50/40/10"
}
}
},
"governances": {
"0": {
"governance.governancemode": "single",
"governance.governingnode": "0x99fb17d324fa0e07f23b49d09028ac0919414db6",
"governance.unitprice": 25000000000,
"istanbul.committeesize": 22,
"istanbul.epoch": 604800,
"istanbul.policy": 2,
"reward.deferredtxfee": true,
"reward.minimumstake": "5000000",
"reward.mintingamount": "9600000000000000000",
"reward.proposerupdateinterval": 3600,
"reward.ratio": "34/54/12",
"reward.stakingupdateinterval": 86400,
"reward.useginicoeff": true
},
"84067200": {
"governance.unitprice": 750000000000
},
"90115200": {
"governance.unitprice": 250000000000
},
"105235200": {
"reward.mintingamount": "6400000000000000000",
"reward.ratio": "50/40/10"
}
},
"govHistory": {
"0": {
"GovernanceMode": "single",
"GoverningNode": "0x99fb17d324fa0e07f23b49d09028ac0919414db6",
"GovParamContract": "0x0000000000000000000000000000000000000000",
"CommitteeSize": 22,
"ProposerPolicy": 2,
"Epoch": 604800,
"Ratio": "34/54/12",
"Kip82Ratio": "20/80",
"StakingUpdateInterval": 86400,
"ProposerUpdateInterval": 3600,
"MintingAmount": 9600000000000000000,
"MinimumStake": 5000000,
"UseGiniCoeff": true,
"DeferredTxFee": true,
"LowerBoundBaseFee": 25000000000,
"UpperBoundBaseFee": 750000000000,
"GasTarget": 30000000,
"MaxBlockGasUsedForBaseFee": 60000000,
"BaseFeeDenominator": 20,
"DeriveShaImpl": 0,
"UnitPrice": 25000000000
},
"84067200": {
"GovernanceMode": "single",
"GoverningNode": "0x99fb17d324fa0e07f23b49d09028ac0919414db6",
"GovParamContract": "0x0000000000000000000000000000000000000000",
"CommitteeSize": 22,
"ProposerPolicy": 2,
"Epoch": 604800,
"Ratio": "34/54/12",
"Kip82Ratio": "20/80",
"StakingUpdateInterval": 86400,
"ProposerUpdateInterval": 3600,
"MintingAmount": 9600000000000000000,
"MinimumStake": 5000000,
"UseGiniCoeff": true,
"DeferredTxFee": true,
"LowerBoundBaseFee": 25000000000,
"UpperBoundBaseFee": 750000000000,
"GasTarget": 30000000,
"MaxBlockGasUsedForBaseFee": 60000000,
"BaseFeeDenominator": 20,
"DeriveShaImpl": 0,
"UnitPrice": 750000000000
},
"90115200": {
"GovernanceMode": "single",
"GoverningNode": "0x99fb17d324fa0e07f23b49d09028ac0919414db6",
"GovParamContract": "0x0000000000000000000000000000000000000000",
"CommitteeSize": 22,
"ProposerPolicy": 2,
"Epoch": 604800,
"Ratio": "34/54/12",
"Kip82Ratio": "20/80",
"StakingUpdateInterval": 86400,
"ProposerUpdateInterval": 3600,
"MintingAmount": 9600000000000000000,
"MinimumStake": 5000000,
"UseGiniCoeff": true,
"DeferredTxFee": true,
"LowerBoundBaseFee": 25000000000,
"UpperBoundBaseFee": 750000000000,
"GasTarget": 30000000,
"MaxBlockGasUsedForBaseFee": 60000000,
"BaseFeeDenominator": 20,
"DeriveShaImpl": 0,
"UnitPrice": 250000000000
},
"105235200": {
"GovernanceMode": "single",
"GoverningNode": "0x99fb17d324fa0e07f23b49d09028ac0919414db6",
"GovParamContract": "0x0000000000000000000000000000000000000000",
"CommitteeSize": 22,
"ProposerPolicy": 2,
"Epoch": 604800,
"Ratio": "50/40/10",
"Kip82Ratio": "20/80",
"StakingUpdateInterval": 86400,
"ProposerUpdateInterval": 3600,
"MintingAmount": 6400000000000000000,
"MinimumStake": 5000000,
"UseGiniCoeff": true,
"DeferredTxFee": true,
"LowerBoundBaseFee": 25000000000,
"UpperBoundBaseFee": 750000000000,
"GasTarget": 30000000,
"MaxBlockGasUsedForBaseFee": 60000000,
"BaseFeeDenominator": 20,
"DeriveShaImpl": 0,
"UnitPrice": 250000000000
}
},
"nodeAddress": "0x5bffb145129d707b65dd03911d73e79e482c35d1",
"myVotes": []
}
}
}