Network Parameters
The active network parameter set can be obtained directly from an RPC interface:
curl -sX POST -H "Content-type: application/json" -d '{"id":1,"jsonrpc":"2.0","method":"eth_getRules","params": ["latest"]}' https://rpc.sonic.soniclabs.com | jq{
"jsonrpc": "2.0",
"id": 1,
"result": {
"Name": "sonic",
"NetworkID": 146,
"Dag": {
"MaxParents": 12,
"MaxFreeParents": 6,
"MaxExtraData": 128
},
"Emitter": {
"Interval": 200000000,
"StallThreshold": 30000000000,
"StalledInterval": 60000000000
},
"Epochs": {
"MaxEpochGas": 15000000000,
"MaxEpochDuration": 600000000000
},
"Blocks": {
"MaxBlockGas": 5000000000,
"MaxEmptyBlockSkipPeriod": 4000000000
},
"Economy": {
"BlockMissedSlack": 50,
"Gas": {
"MaxEventGas": 30000000,
"EventGas": 28000,
"ParentGas": 2400,
"ExtraDataGas": 25,
"BlockVotesBaseGas": 1024,
"BlockVoteGas": 512,
"EpochVoteGas": 1536,
"MisbehaviourProofGas": 71536
},
"MinGasPrice": 0,
"MinBaseFee": 50000000000,
"ShortGasPower": {
"AllocPerSec": 1000000000,
"MaxAllocPeriod": 5000000000,
"StartupAllocPeriod": 1000000000,
"MinStartupGas": 560000
},
"LongGasPower": {
"AllocPerSec": 1000000000,
"MaxAllocPeriod": 5000000000,
"StartupAllocPeriod": 1000000000,
"MinStartupGas": 560000
}
},
"Upgrades": {
"Berlin": true,
"London": true,
"Llr": false,
"Sonic": true,
"Allegro": true,
"Brio": false,
"SingleProposerBlockFormation": false,
"GasSubsidies": true
}
}
}Last updated

