Configuration
Nethermind is highly configurable. There are 3 ways of configuring it, listed by priority:
- Command line options (aka arguments or flags)
- Environment variables
- Configuration file
Given the above priority list, an option defined in a more priority way overrides the same option defined elsewhere if any.
The full list of configuration options can be displayed by running:
nethermind -h
Below is the list of the basic command line options followed by an exhaustive list of configuration options by namespace.
The configuration options are case-sensitive and can be defined only once unless stated otherwise.
Basic command line options
-
-c, --config <value>The path to the configuration file or the file name (also without extension) of any of the configuration files in the configuration files directory. Defaults to
mainnet.Available configurations
Nethermind provides the following pre-built configurations named as the networks they are for. Their respective versions for archive nodes are suffixed
_archive.chiadochiado_archiveenergywebenergyweb_archivegnosisgnosis_archivehoodihoodi_archivelinea-mainnetlinea-mainnet_archivelinea-sepolialinea-sepolia_archivemainnetmainnet_archiveop-mainnetop-mainnet_archiveop-sepoliaop-sepolia_archivesepoliasepolia_archivetaiko-alethiataiko-heklavoltavolta_archiveworldchain-mainnetworldchain-mainnet_archiveworldchain-sepoliaworldchain-sepolia_archive
Alternatively, the configuration file can also be set by the
NETHERMIND_CONFIGenvironment variable. -
--configs-dir <path>The path to the configuration files directory. Defaults to
configs.
Deprecates--configsDirectory-cd.noteThis option is ignored if the
-c, --configoption is set to a path:# Ignored for-c ./mainnet.json-c path/to/mainnet.json# Respected for-c mainnet-c mainnet.json -
--data-dir <path>The path to the Nethermind data directory. Defaults to Nethermind's current directory.
Deprecates--datadir-dd.warningThe absolute paths set by
Init.BaseDbPath,Init.LogDirectory, orKeyStore.KeyStoreDirectoryoptions in a configuration file are not overridden by--data-dir. -
--db-dir <path>The path to the Nethermind database directory. Defaults to
db.
Deprecates--baseDbPath-d. -
--force-resyncDeletes all database files except peer and discovery data, forcing a full resync on startup.
-
-?, -h, --helpShows the full list of available command line options.
-
-l, --log <level>Log level (severity). Allowed values:
offtracedebuginfowarnerror. Defaults toinfo. -
--logger-config <path>The path to the logging configuration file. Defaults to
NLog.config.
Deprecates--loggerConfigSource-lcs. -
--plugins-dir <path>The path to the Nethermind plugins directory. Defaults to
plugins.
Deprecates--pluginsDirectory-pd. -
--purge-dbDeletes the entire database directory, including peer and discovery data.
-
--versionShows the Nethermind version information.
Options by namespaces
Aura
-
Aura.AllowAuRaPrivateChains- CLI
- Environment variable
- Configuration file
--aura-allowauraprivatechains [true|false]--Aura.AllowAuRaPrivateChains [true|false]NETHERMIND_AURACONFIG_ALLOWAURAPRIVATECHAINS=true|false{"Aura": {"AllowAuRaPrivateChains": true|false}}Whether to allow private Aura-based chains only. Do not use with existing Aura-based chains. Allowed values:
truefalse. Defaults tofalse. -
Aura.ForceSealing- CLI
- Environment variable
- Configuration file
--aura-forcesealing [true|false]--Aura.ForceSealing [true|false]NETHERMIND_AURACONFIG_FORCESEALING=true|false{"Aura": {"ForceSealing": true|false}}Whether to seal empty blocks if mining. Allowed values:
truefalse. Defaults totrue. -
Aura.Minimum2MlnGasPerBlockWhenUsingBlockGasLimitContract- CLI
- Environment variable
- Configuration file
--aura-minimum2mlngasperblockwhenusingblockgaslimitcontract [true|false]--Aura.Minimum2MlnGasPerBlockWhenUsingBlockGasLimitContract [true|false]NETHERMIND_AURACONFIG_MINIMUM2MLNGASPERBLOCKWHENUSINGBLOCKGASLIMITCONTRACT=true|false{"Aura": {"Minimum2MlnGasPerBlockWhenUsingBlockGasLimitContract": true|false}}Whether to use 2M gas if the contract returns less than that when using
BlockGasLimitContractTransitions. Allowed values:truefalse. Defaults tofalse. -
Aura.TxPriorityConfigFilePath- CLI
- Environment variable
- Configuration file
--aura-txpriorityconfigfilepath <value>--Aura.TxPriorityConfigFilePath <value>NETHERMIND_AURACONFIG_TXPRIORITYCONFIGFILEPATH=<value>{"Aura": {"TxPriorityConfigFilePath": <value>}}The path to the transaction priority rules file to use when selecting transactions from the transaction pool. Defaults to
null. -
Aura.TxPriorityContractAddress- CLI
- Environment variable
- Configuration file
--aura-txprioritycontractaddress <value>--Aura.TxPriorityContractAddress <value>NETHERMIND_AURACONFIG_TXPRIORITYCONTRACTADDRESS=<value>{"Aura": {"TxPriorityContractAddress": <value>}}The address of the transaction priority contract to use when selecting transactions from the transaction pool. Defaults to
null.
BalRecorder
-
BalRecorder.Path- CLI
- Environment variable
- Configuration file
--balrecorder-path <value>--BalRecorder.Path <value>NETHERMIND_BALRECORDERCONFIG_PATH=<value>{"BalRecorder": {"Path": <value>}}Directory (relative to BaseDbPath) used to store recorded block access list era files. Defaults to
recordedBal. -
BalRecorder.RecordingEnabled- CLI
- Environment variable
- Configuration file
--balrecorder-recordingenabled [true|false]--BalRecorder.RecordingEnabled [true|false]NETHERMIND_BALRECORDERCONFIG_RECORDINGENABLED=true|false{"BalRecorder": {"RecordingEnabled": true|false}}Whether to record block access lists to disk after block processing. Allowed values:
truefalse. Defaults tofalse. -
BalRecorder.ReplayEnabled- CLI
- Environment variable
- Configuration file
--balrecorder-replayenabled [true|false]--BalRecorder.ReplayEnabled [true|false]NETHERMIND_BALRECORDERCONFIG_REPLAYENABLED=true|false{"BalRecorder": {"ReplayEnabled": true|false}}Whether to replay recorded block access lists during block processing. Allowed values:
truefalse. Defaults tofalse.
BeaconApi
-
BeaconApi.Enabled- CLI
- Environment variable
- Configuration file
--beaconapi-enabled [true|false]--BeaconApi.Enabled [true|false]NETHERMIND_BEACONAPICONFIG_ENABLED=true|false{"BeaconApi": {"Enabled": true|false}}Whether to serve the Beacon API (REST/SSE) surface. Requires BeaconChain.Enabled. Allowed values:
truefalse. Defaults tofalse. -
BeaconApi.Host- CLI
- Environment variable
- Configuration file
--beaconapi-host <value>--BeaconApi.Host <value>NETHERMIND_BEACONAPICONFIG_HOST=<value>{"BeaconApi": {"Host": <value>}}The host the Beacon API Kestrel listener binds to. Loopback listeners accept only loopback IP or localhost Host headers and same-origin browser requests. Defaults to
"127.0.0.1". -
BeaconApi.MaxConcurrentStateRequests- CLI
- Environment variable
- Configuration file
--beaconapi-maxconcurrentstaterequests <value>--BeaconApi.MaxConcurrentStateRequests <value>NETHERMIND_BEACONAPICONFIG_MAXCONCURRENTSTATEREQUESTS=<value>{"BeaconApi": {"MaxConcurrentStateRequests": <value>}}The maximum concurrent Beacon API state requests in each of three independent pools: block/envelope/blob and debug/fork_choice responses, state downloads (/eth/v2/debug/beacon/states and the registry-sized /eth/v1/beacon/states routes validators, validator_balances, validator_identities, committees and sync_committees, plus non-head validators/{validator_id}, pending_deposits, pending_partial_withdrawals, pending_consolidations and proposer_lookahead) and other /eth/v1/beacon/states queries, which exclude root and fork. Each pool refuses excess requests with 503 without queuing; per-client limits return 429. Defaults to
2. -
BeaconApi.MaxConcurrentStateRequestsPerClient- CLI
- Environment variable
- Configuration file
--beaconapi-maxconcurrentstaterequestsperclient <value>--BeaconApi.MaxConcurrentStateRequestsPerClient <value>NETHERMIND_BEACONAPICONFIG_MAXCONCURRENTSTATEREQUESTSPERCLIENT=<value>{"BeaconApi": {"MaxConcurrentStateRequestsPerClient": <value>}}The maximum number of requests in each independent pool (as counted by
MaxConcurrentStateRequests) one client address may have in flight at once; an IPv6 client is counted by its /64 prefix, and loopback is limited like any other address. Raise it for tooling or a proxy that fronts several clients from one address. Requests beyond it are refused with 429. Must be at least 1. Defaults to1. -
BeaconApi.Port- CLI
- Environment variable
- Configuration file
--beaconapi-port <value>--BeaconApi.Port <value>NETHERMIND_BEACONAPICONFIG_PORT=<value>{"BeaconApi": {"Port": <value>}}The port the Beacon API listens on. Defaults to
5052. -
BeaconApi.StateDownloadsPerMinutePerClient- CLI
- Environment variable
- Configuration file
--beaconapi-statedownloadsperminuteperclient <value>--BeaconApi.StateDownloadsPerMinutePerClient <value>NETHERMIND_BEACONAPICONFIG_STATEDOWNLOADSPERMINUTEPERCLIENT=<value>{"BeaconApi": {"StateDownloadsPerMinutePerClient": <value>}}The maximum number of downloads (as counted by
MaxConcurrentStateRequests) per minute from one client address (an IPv6 client is counted by its /64 prefix). Requests beyond it are refused with 429.0disables the limit. Defaults to30. -
BeaconApi.StateQueriesPerMinutePerClient- CLI
- Environment variable
- Configuration file
--beaconapi-statequeriesperminuteperclient <value>--BeaconApi.StateQueriesPerMinutePerClient <value>NETHERMIND_BEACONAPICONFIG_STATEQUERIESPERMINUTEPERCLIENT=<value>{"BeaconApi": {"StateQueriesPerMinutePerClient": <value>}}The maximum number of /eth/v1/beacon/states queries other than downloads, root and fork (as counted by
MaxConcurrentStateRequests) per minute from one client address (an IPv6 client is counted by its /64 prefix). Requests beyond it are refused with 429.0disables the limit. Defaults to600. -
BeaconApi.StateResponseIdleTimeoutSeconds- CLI
- Environment variable
- Configuration file
--beaconapi-stateresponseidletimeoutseconds <value>--BeaconApi.StateResponseIdleTimeoutSeconds <value>NETHERMIND_BEACONAPICONFIG_STATERESPONSEIDLETIMEOUTSECONDS=<value>{"BeaconApi": {"StateResponseIdleTimeoutSeconds": <value>}}The maximum idle time in seconds between response writes. POST requests are also bounded from admission through their first write. GET preparation is bounded by StateResponseTimeoutSeconds. HTTP/1.x responses additionally require 64 KiB/s after a ten-second grace period. Expiry aborts the request and releases its permits. Must be between 1 and 4294967 and large enough for one 64 KiB chunk at the total timeout's minimum throughput. Defaults to
120. -
BeaconApi.StateResponseTimeoutSeconds- CLI
- Environment variable
- Configuration file
--beaconapi-stateresponsetimeoutseconds <value>--BeaconApi.StateResponseTimeoutSeconds <value>NETHERMIND_BEACONAPICONFIG_STATERESPONSETIMEOUTSECONDS=<value>{"BeaconApi": {"StateResponseTimeoutSeconds": <value>}}The most time, in seconds, one limited request may take in total, however steadily its response is written. When it passes, the response is aborted and the request's permits are released. Set it generously: a slow but steady download of a large state must finish inside it. Must be between 1 and 4294967. Defaults to
3600.
BeaconChain
-
BeaconChain.Bootnodes- CLI
- Environment variable
- Configuration file
--beaconchain-bootnodes <value>--BeaconChain.Bootnodes <value>NETHERMIND_BEACONCHAINCONFIG_BOOTNODES=<value>{"BeaconChain": {"Bootnodes": <value>}}Comma-separated beacon chain bootnode ENRs. When empty, the built-in bootnodes of the network selected via the execution layer's chain id are used. Defaults to
null. -
BeaconChain.CheckpointStateFile- CLI
- Environment variable
- Configuration file
--beaconchain-checkpointstatefile <value>--BeaconChain.CheckpointStateFile <value>NETHERMIND_BEACONCHAINCONFIG_CHECKPOINTSTATEFILE=<value>{"BeaconChain": {"CheckpointStateFile": <value>}}A local SSZ-encoded beacon state file to bootstrap from. Requires a sibling block file with the extension replaced by .block.ssz. For a state advanced beyond its block, also requires the block's post-state in a sibling file with the extension replaced by .post-state.ssz. Defaults to
null. -
BeaconChain.CheckpointSyncUrl- CLI
- Environment variable
- Configuration file
--beaconchain-checkpointsyncurl <value>--BeaconChain.CheckpointSyncUrl <value>NETHERMIND_BEACONCHAINCONFIG_CHECKPOINTSYNCURL=<value>{"BeaconChain": {"CheckpointSyncUrl": <value>}}The beacon API URL to checkpoint-sync the finalized beacon state and block from. When unset, defaults to a provider for the network selected via the execution layer's chain id. Defaults to
null. -
BeaconChain.CustodyGroupCount- CLI
- Environment variable
- Configuration file
--beaconchain-custodygroupcount <value>--BeaconChain.CustodyGroupCount <value>NETHERMIND_BEACONCHAINCONFIG_CUSTODYGROUPCOUNT=<value>{"BeaconChain": {"CustodyGroupCount": <value>}}Number of PeerDAS custody groups, from 4 to 128. Use at least 64 to reconstruct blobs for the Beacon API, or 128 to serve all columns. Default: 4 groups. Defaults to
4. -
BeaconChain.DisableOnExternalCl- CLI
- Environment variable
- Configuration file
--beaconchain-disableonexternalcl [true|false]--BeaconChain.DisableOnExternalCl [true|false]NETHERMIND_BEACONCHAINCONFIG_DISABLEONEXTERNALCL=true|false{"BeaconChain": {"DisableOnExternalCl": true|false}}A successful external engine progression call disables the embedded driver until process restart, including a transient caller. Whether to permanently disable the embedded driver when an external consensus client calls the engine API. Allowed values:
truefalse. Defaults totrue. -
BeaconChain.Discv5Port- CLI
- Environment variable
- Configuration file
--beaconchain-discv5port <value>--BeaconChain.Discv5Port <value>NETHERMIND_BEACONCHAINCONFIG_DISCV5PORT=<value>{"BeaconChain": {"Discv5Port": <value>}}The UDP port for the beacon chain discv5 discovery. Defaults to
9060. -
BeaconChain.EnableFastConfirmation- CLI
- Environment variable
- Configuration file
--beaconchain-enablefastconfirmation [true|false]--BeaconChain.EnableFastConfirmation [true|false]NETHERMIND_BEACONCHAINCONFIG_ENABLEFASTCONFIRMATION=true|false{"BeaconChain": {"EnableFastConfirmation": true|false}}Use the Fast Confirmation Rule for the execution layer's safe block tag, as required by consensus-specs v1.7.0-beta.4. Assumes slot synchrony and at most 25% Byzantine stake; falls back to finalized when confirmation conditions fail. Enabled by default; when disabled, safe follows the justified checkpoint. Does not change finalized. Allowed values:
truefalse. Defaults totrue. -
BeaconChain.Enabled- CLI
- Environment variable
- Configuration file
--beaconchain-enabled [true|false]--BeaconChain.Enabled [true|false]NETHERMIND_BEACONCHAINCONFIG_ENABLED=true|false{"BeaconChain": {"Enabled": true|false}}Whether to enable the embedded beacon chain consensus driver. Supports Mainnet, Sepolia, Hoodi, Gnosis and Chiado, selected by the execution layer's configured network, without an external consensus client. Allowed values:
truefalse. Defaults tofalse. -
BeaconChain.FaultDisconnectsBeforeBan- CLI
- Environment variable
- Configuration file
--beaconchain-faultdisconnectsbeforeban <value>--BeaconChain.FaultDisconnectsBeforeBan <value>NETHERMIND_BEACONCHAINCONFIG_FAULTDISCONNECTSBEFOREBAN=<value>{"BeaconChain": {"FaultDisconnectsBeforeBan": <value>}}Recent fault disconnects from the same peer id before it is added to the in-memory ban list, which then refuses every further dial or reconnection attempt for that id regardless of the address it is next seen at. Defaults to
3. -
BeaconChain.GloasForkVersion- CLI
- Environment variable
- Configuration file
--beaconchain-gloasforkversion <value>--BeaconChain.GloasForkVersion <value>NETHERMIND_BEACONCHAINCONFIG_GLOASFORKVERSION=<value>{"BeaconChain": {"GloasForkVersion": <value>}}The Gloas fork version, as 4 bytes of hex (for example 0x90000076), for a network whose chainspec schedules Amsterdam before this release knows its published Gloas version. The Gloas epoch always follows the Amsterdam timestamp of the chainspec (see Init.ChainSpecPath). Must differ from every earlier fork version of the network. When unset, the published version is used. Defaults to
null. -
BeaconChain.GossipMaxPendingValidationBytes- CLI
- Environment variable
- Configuration file
--beaconchain-gossipmaxpendingvalidationbytes <value>--BeaconChain.GossipMaxPendingValidationBytes <value>NETHERMIND_BEACONCHAINCONFIG_GOSSIPMAXPENDINGVALIDATIONBYTES=<value>{"BeaconChain": {"GossipMaxPendingValidationBytes": <value>}}The most bytes of gossip messages that may await a validation verdict at once, the messages of one received RPC aside. A message received past it is not validated, forwarded or charged to its sender. Must be at least 1. Defaults to
16777216. -
BeaconChain.GossipMaxPendingValidations- CLI
- Environment variable
- Configuration file
--beaconchain-gossipmaxpendingvalidations <value>--BeaconChain.GossipMaxPendingValidations <value>NETHERMIND_BEACONCHAINCONFIG_GOSSIPMAXPENDINGVALIDATIONS=<value>{"BeaconChain": {"GossipMaxPendingValidations": <value>}}The most gossip messages that may await a validation verdict at once. A message received past it is not validated, forwarded or charged to its sender, so a later copy can still be. Must be at least 1. Defaults to
128. -
BeaconChain.MaxConcurrentOutboundDials- CLI
- Environment variable
- Configuration file
--beaconchain-maxconcurrentoutbounddials <value>--BeaconChain.MaxConcurrentOutboundDials <value>NETHERMIND_BEACONCHAINCONFIG_MAXCONCURRENTOUTBOUNDDIALS=<value>{"BeaconChain": {"MaxConcurrentOutboundDials": <value>}}The max number of outbound dials the peer manager will have in flight at once, static and discovered peers combined. Defaults to
8. -
BeaconChain.MaxPeerCount- CLI
- Environment variable
- Configuration file
--beaconchain-maxpeercount <value>--BeaconChain.MaxPeerCount <value>NETHERMIND_BEACONCHAINCONFIG_MAXPEERCOUNT=<value>{"BeaconChain": {"MaxPeerCount": <value>}}The high watermark. Above this many connected peers, the peer manager trims the worst peers back down to this many. Defaults to
80. -
BeaconChain.MinPeerCount- CLI
- Environment variable
- Configuration file
--beaconchain-minpeercount <value>--BeaconChain.MinPeerCount <value>NETHERMIND_BEACONCHAINCONFIG_MINPEERCOUNT=<value>{"BeaconChain": {"MinPeerCount": <value>}}The low watermark: below this many connected peers the node is under-peered, and the peer manager runs its maintenance round (static-peer reconnect, health checks) on a shorter cadence. Candidate discovery pacing is still BeaconDiscovery's own concern, not this config's. Defaults to
20. -
BeaconChain.P2PPort- CLI
- Environment variable
- Configuration file
--beaconchain-p2pport <value>--BeaconChain.P2PPort <value>NETHERMIND_BEACONCHAINCONFIG_P2PPORT=<value>{"BeaconChain": {"P2PPort": <value>}}The TCP port for the beacon chain libp2p host. Defaults to
9060. -
BeaconChain.PeerBanMinutes- CLI
- Environment variable
- Configuration file
--beaconchain-peerbanminutes <value>--BeaconChain.PeerBanMinutes <value>NETHERMIND_BEACONCHAINCONFIG_PEERBANMINUTES=<value>{"BeaconChain": {"PeerBanMinutes": <value>}}How long, in minutes, a banned peer id is refused before it may connect again. Fault history expires after this duration without another fault. Defaults to
30. -
BeaconChain.StaticPeers- CLI
- Environment variable
- Configuration file
--beaconchain-staticpeers <value>--BeaconChain.StaticPeers <value>NETHERMIND_BEACONCHAINCONFIG_STATICPEERS=<value>{"BeaconChain": {"StaticPeers": <value>}}Comma-separated static beacon chain peer multiaddrs to keep persistent connections to. Each multiaddr must name an /ip4 or /ip6 address, or a /dns, /dns4 or /dns6 TCP endpoint, and include the /p2p/<peer-id> component. Defaults to
null. -
BeaconChain.TargetPeerCount- CLI
- Environment variable
- Configuration file
--beaconchain-targetpeercount <value>--BeaconChain.TargetPeerCount <value>NETHERMIND_BEACONCHAINCONFIG_TARGETPEERCOUNT=<value>{"BeaconChain": {"TargetPeerCount": <value>}}The target number of beacon chain peers. Defaults to
50. -
BeaconChain.WeakSubjectivityCheckpoint- CLI
- Environment variable
- Configuration file
--beaconchain-weaksubjectivitycheckpoint <value>--BeaconChain.WeakSubjectivityCheckpoint <value>NETHERMIND_BEACONCHAINCONFIG_WEAKSUBJECTIVITYCHECKPOINT=<value>{"BeaconChain": {"WeakSubjectivityCheckpoint": <value>}}An independently trusted weak subjectivity checkpoint as block_root:epoch_number, for example 0x8584188b86a9296932785cc2827b925f9deebacce6d72ad8d53171fa046b43d9:9544. Checkpoint sync fails unless its anchor block is this checkpoint's block at the start of the epoch, so supply the checkpoint's state with CheckpointStateFile or a source serving it as finalized; a proven checkpoint stays accepted for the same database, and any other fails startup. When unset, checkpoint sync trusts the configured checkpoint source, or the default provider for the network when CheckpointSyncUrl is also unset. Defaults to
null.
Blocks
-
Blocks.BlockProcessingTimeoutMs- CLI
- Environment variable
- Configuration file
--blocks-blockprocessingtimeoutms <value>--Blocks.BlockProcessingTimeoutMs <value>NETHERMIND_BLOCKSCONFIG_BLOCKPROCESSINGTIMEOUTMS=<value>{"Blocks": {"BlockProcessingTimeoutMs": <value>}}The longest a single block may take to process, in milliseconds. It is checked between transactions and as the next block starts, so a single long transaction or the final commit can run past it. A block that runs out of time is abandoned without being marked invalid, and each retry of it gets twice the time, up to 16 times this value.
0or a negative value disables it. Defaults to180000. -
Blocks.BlockProductionBlobLimit- CLI
- Environment variable
- Configuration file
--blocks-blockproductionbloblimit <value>--Blocks.BlockProductionBlobLimit <value>NETHERMIND_BLOCKSCONFIG_BLOCKPRODUCTIONBLOBLIMIT=<value>{"Blocks": {"BlockProductionBlobLimit": <value>}}The max blob count after which the block producer should stop adding blobs. Minimum value is
0. Defaults tonull. -
Blocks.BlockProductionMaxTxKilobytes- CLI
- Environment variable
- Configuration file
--blocks-blockproductionmaxtxkilobytes <value>--Blocks.BlockProductionMaxTxKilobytes <value>NETHERMIND_BLOCKSCONFIG_BLOCKPRODUCTIONMAXTXKILOBYTES=<value>{"Blocks": {"BlockProductionMaxTxKilobytes": <value>}}The max transaction bytes to add in block production, in kilobytes. Defaults to
7936. -
Blocks.BlockProductionTimeoutMs- CLI
- Environment variable
- Configuration file
--blocks-blockproductiontimeoutms <value>--Blocks.BlockProductionTimeoutMs <value>NETHERMIND_BLOCKSCONFIG_BLOCKPRODUCTIONTIMEOUTMS=<value>{"Blocks": {"BlockProductionTimeoutMs": <value>}}The block production timeout, in milliseconds. Defaults to
4000. -
Blocks.ExtraData- CLI
- Environment variable
- Configuration file
--blocks-extradata <value>--Blocks.ExtraData <value>NETHERMIND_BLOCKSCONFIG_EXTRADATA=<value>{"Blocks": {"ExtraData": <value>}}The block header extra data up to 32 bytes in length. Defaults to
Nethermind. -
Blocks.GenesisTimeoutMs- CLI
- Environment variable
- Configuration file
--blocks-genesistimeoutms <value>--Blocks.GenesisTimeoutMs <value>NETHERMIND_BLOCKSCONFIG_GENESISTIMEOUTMS=<value>{"Blocks": {"GenesisTimeoutMs": <value>}}The genesis block load timeout, in milliseconds. Defaults to
40000. -
Blocks.MinGasPrice- CLI
- Environment variable
- Configuration file
--blocks-mingasprice <value>--Blocks.MinGasPrice <value>NETHERMIND_BLOCKSCONFIG_MINGASPRICE=<value>{"Blocks": {"MinGasPrice": <value>}}The minimum gas premium (or the gas price before the London hard fork) for transactions accepted by the block producer. Defaults to
1. -
Blocks.ParallelExecution- CLI
- Environment variable
- Configuration file
--blocks-parallelexecution [true|false]--Blocks.ParallelExecution [true|false]NETHERMIND_BLOCKSCONFIG_PARALLELEXECUTION=true|false{"Blocks": {"ParallelExecution": true|false}}Parallelize transaction execution when Block Level Access Lists are available. Experimental Amsterdam/BAL path; disabling falls back to sequential execution and the option is ignored for blocks without BAL bodies. Allowed values:
truefalse. Defaults totrue. -
Blocks.ParallelExecutionBatchRead- CLI
- Environment variable
- Configuration file
--blocks-parallelexecutionbatchread [true|false]--Blocks.ParallelExecutionBatchRead [true|false]NETHERMIND_BLOCKSCONFIG_PARALLELEXECUTIONBATCHREAD=true|false{"Blocks": {"ParallelExecutionBatchRead": true|false}}Use parallel state reads when Block Level Access Lists are available. Experimental Amsterdam/BAL path; disabling falls back to sequential reads and the option is ignored for blocks without BAL bodies. Allowed values:
truefalse. Defaults totrue. -
Blocks.PreWarming- CLI
- Environment variable
- Configuration file
--blocks-prewarming <value>--Blocks.PreWarming <value>NETHERMIND_BLOCKSCONFIG_PREWARMING=<value>{"Blocks": {"PreWarming": <value>}}State pre-warming level while processing blocks:
None,Block(warm the block's own transactions), orBlockAndMempool(also speculatively warm from the mempool between blocks).Allowed values:
NoneBlockBlockAndMempool
Defaults to
BlockAndMempool. -
Blocks.RandomizedBlocks- CLI
- Environment variable
- Configuration file
--blocks-randomizedblocks [true|false]--Blocks.RandomizedBlocks [true|false]NETHERMIND_BLOCKSCONFIG_RANDOMIZEDBLOCKS=true|false{"Blocks": {"RandomizedBlocks": true|false}}Whether to change the difficulty of the block randomly within the constraints. Used in NethDev only. Allowed values:
truefalse. Defaults tofalse. -
Blocks.SecondsPerSlot- CLI
- Environment variable
- Configuration file
--blocks-secondsperslot <value>--Blocks.SecondsPerSlot <value>NETHERMIND_BLOCKSCONFIG_SECONDSPERSLOT=<value>{"Blocks": {"SecondsPerSlot": <value>}}The block time slot, in seconds. Defaults to
12. -
Blocks.SlowBlockPerTxThresholdMs- CLI
- Environment variable
- Configuration file
--blocks-slowblockpertxthresholdms <value>--Blocks.SlowBlockPerTxThresholdMs <value>NETHERMIND_BLOCKSCONFIG_SLOWBLOCKPERTXTHRESHOLDMS=<value>{"Blocks": {"SlowBlockPerTxThresholdMs": <value>}}The per-transaction threshold in milliseconds for detailed transaction-level logging within slow blocks. Transactions slower than this value are included individually in the slow block JSON log. Set to
0to log all transactions. Set to-1to disable per-transaction logging. Defaults to-1. -
Blocks.SlowBlockThresholdMs- CLI
- Environment variable
- Configuration file
--blocks-slowblockthresholdms <value>--Blocks.SlowBlockThresholdMs <value>NETHERMIND_BLOCKSCONFIG_SLOWBLOCKTHRESHOLDMS=<value>{"Blocks": {"SlowBlockThresholdMs": <value>}}The threshold in milliseconds for logging slow block diagnostics. Blocks processed slower than this value are logged with detailed JSON metrics. Set to
0to log all blocks. Set to-1to disable slow block logging entirely. Defaults to-1. -
Blocks.TargetBlockGasLimit- CLI
- Environment variable
- Configuration file
--blocks-targetblockgaslimit <value>--Blocks.TargetBlockGasLimit <value>NETHERMIND_BLOCKSCONFIG_TARGETBLOCKGASLIMIT=<value>{"Blocks": {"TargetBlockGasLimit": <value>}}The block gas limit that the block producer should try to reach in the fastest possible way based on the protocol rules. If not specified, then the block producer should follow others. Defaults to
null.
CensorshipDetector
-
CensorshipDetector.AddressesForCensorshipDetection- CLI
- Environment variable
- Configuration file
--censorshipdetector-addressesforcensorshipdetection <value>--CensorshipDetector.AddressesForCensorshipDetection <value>NETHERMIND_CENSORSHIPDETECTORCONFIG_ADDRESSESFORCENSORSHIPDETECTION=<value>{"CensorshipDetector": {"AddressesForCensorshipDetection": <value>}}The addresses to detect censorship for. Defaults to
null. -
CensorshipDetector.BlockCensorshipThreshold- CLI
- Environment variable
- Configuration file
--censorshipdetector-blockcensorshipthreshold <value>--CensorshipDetector.BlockCensorshipThreshold <value>NETHERMIND_CENSORSHIPDETECTORCONFIG_BLOCKCENSORSHIPTHRESHOLD=<value>{"CensorshipDetector": {"BlockCensorshipThreshold": <value>}}The number of the consecutive blocks with detected potential censorship to report. Defaults to
2. -
CensorshipDetector.Enabled- CLI
- Environment variable
- Configuration file
--censorshipdetector-enabled [true|false]--CensorshipDetector.Enabled [true|false]NETHERMIND_CENSORSHIPDETECTORCONFIG_ENABLED=true|false{"CensorshipDetector": {"Enabled": true|false}}Whether to enable censorship detection. Allowed values:
truefalse. Defaults tofalse.
Clique
Era
-
Era.ExportDirectory- CLI
- Environment variable
- Configuration file
--era-exportdirectory <value>--Era.ExportDirectory <value>NETHERMIND_ERACONFIG_EXPORTDIRECTORY=<value>{"Era": {"ExportDirectory": <value>}}Directory of archive export. Defaults to
null. -
Era.From- CLI
- Environment variable
- Configuration file
--era-from <value>--Era.From <value>NETHERMIND_ERACONFIG_FROM=<value>{"Era": {"From": <value>}}Block number to import/export from. Defaults to
0. -
Era.ImportDirectory- CLI
- Environment variable
- Configuration file
--era-importdirectory <value>--Era.ImportDirectory <value>NETHERMIND_ERACONFIG_IMPORTDIRECTORY=<value>{"Era": {"ImportDirectory": <value>}}Directory of era1 archives to be imported. Defaults to
null. -
Era.To- CLI
- Environment variable
- Configuration file
--era-to <value>--Era.To <value>NETHERMIND_ERACONFIG_TO=<value>{"Era": {"To": <value>}}Block number to import/export to. Defaults to
0. -
Era.TrustedAccumulatorFile- CLI
- Environment variable
- Configuration file
--era-trustedaccumulatorfile <value>--Era.TrustedAccumulatorFile <value>NETHERMIND_ERACONFIG_TRUSTEDACCUMULATORFILE=<value>{"Era": {"TrustedAccumulatorFile": <value>}}Accumulator file to be used for trusting era files. Defaults to
null.
EraE
-
EraE.BeaconNodeUrl- CLI
- Environment variable
- Configuration file
--erae-beaconnodeurl <value>--EraE.BeaconNodeUrl <value>NETHERMIND_ERAECONFIG_BEACONNODEURL=<value>{"EraE": {"BeaconNodeUrl": <value>}}Beacon node URL for fetching beacon block roots and state roots during post-merge EraE export. When set, enables BeaconApiRootsProvider and HistoricalSummariesRpcProvider. Defaults to
null. -
EraE.ExportDirectory- CLI
- Environment variable
- Configuration file
--erae-exportdirectory <value>--EraE.ExportDirectory <value>NETHERMIND_ERAECONFIG_EXPORTDIRECTORY=<value>{"EraE": {"ExportDirectory": <value>}}Directory for EraE archive export. Defaults to
null. -
EraE.From- CLI
- Environment variable
- Configuration file
--erae-from <value>--EraE.From <value>NETHERMIND_ERAECONFIG_FROM=<value>{"EraE": {"From": <value>}}Block number to import/export from. Defaults to
0. -
EraE.ImportDirectory- CLI
- Environment variable
- Configuration file
--erae-importdirectory <value>--EraE.ImportDirectory <value>NETHERMIND_ERAECONFIG_IMPORTDIRECTORY=<value>{"EraE": {"ImportDirectory": <value>}}Directory of EraE archives to be imported. Defaults to
null. -
EraE.RemoteBaseUrl- CLI
- Environment variable
- Configuration file
--erae-remotebaseurl <value>--EraE.RemoteBaseUrl <value>NETHERMIND_ERAECONFIG_REMOTEBASEURL=<value>{"EraE": {"RemoteBaseUrl": <value>}}Base URL of a remote EraE archive server (e.g. https://data.ethpandaops.io/erae/\{network}/). When set, missing local epoch files are downloaded on demand. Defaults to
null. -
EraE.RemoteDownloadDirectory- CLI
- Environment variable
- Configuration file
--erae-remotedownloaddirectory <value>--EraE.RemoteDownloadDirectory <value>NETHERMIND_ERAECONFIG_REMOTEDOWNLOADDIRECTORY=<value>{"EraE": {"RemoteDownloadDirectory": <value>}}Local directory where remotely downloaded EraE files are cached. Defaults to ImportDirectory when null. Defaults to
null. -
EraE.To- CLI
- Environment variable
- Configuration file
--erae-to <value>--EraE.To <value>NETHERMIND_ERAECONFIG_TO=<value>{"EraE": {"To": <value>}}Block number to import/export to. 0 means head. Defaults to
0. -
EraE.TrustedAccumulatorFile- CLI
- Environment variable
- Configuration file
--erae-trustedaccumulatorfile <value>--EraE.TrustedAccumulatorFile <value>NETHERMIND_ERAECONFIG_TRUSTEDACCUMULATORFILE=<value>{"EraE": {"TrustedAccumulatorFile": <value>}}Accumulator file for trusting EraE archives. Defaults to
null.
EthStats
-
EthStats.Contact- CLI
- Environment variable
- Configuration file
--ethstats-contact <value>--EthStats.Contact <value>NETHERMIND_ETHSTATSCONFIG_CONTACT=<value>{"EthStats": {"Contact": <value>}}The node owner contact details displayed on Ethstats. Defaults to
hello@nethermind.io. -
EthStats.Enabled- CLI
- Environment variable
- Configuration file
--ethstats-enabled [true|false]--EthStats.Enabled [true|false]NETHERMIND_ETHSTATSCONFIG_ENABLED=true|false{"EthStats": {"Enabled": true|false}}Whether to use Ethstats publishing. Allowed values:
truefalse. Defaults tofalse. -
EthStats.Name- CLI
- Environment variable
- Configuration file
--ethstats-name <value>--EthStats.Name <value>NETHERMIND_ETHSTATSCONFIG_NAME=<value>{"EthStats": {"Name": <value>}}The node name displayed on Ethstats. Defaults to
Nethermind. -
EthStats.Secret- CLI
- Environment variable
- Configuration file
--ethstats-secret <value>--EthStats.Secret <value>NETHERMIND_ETHSTATSCONFIG_SECRET=<value>{"EthStats": {"Secret": <value>}}The Ethstats secret. Defaults to
secret. -
EthStats.SendInterval- CLI
- Environment variable
- Configuration file
--ethstats-sendinterval <value>--EthStats.SendInterval <value>NETHERMIND_ETHSTATSCONFIG_SENDINTERVAL=<value>{"EthStats": {"SendInterval": <value>}}The stats update interval, in seconds. Defaults to
15. -
EthStats.Server- CLI
- Environment variable
- Configuration file
--ethstats-server <value>--EthStats.Server <value>NETHERMIND_ETHSTATSCONFIG_SERVER=<value>{"EthStats": {"Server": <value>}}The Ethstats server URL. Defaults to
ws://localhost:3000/api.
Flashbots
-
Flashbots.EnablePreWarmer- CLI
- Environment variable
- Configuration file
--flashbots-enableprewarmer [true|false]--Flashbots.EnablePreWarmer [true|false]NETHERMIND_FLASHBOTSCONFIG_ENABLEPREWARMER=true|false{"Flashbots": {"EnablePreWarmer": true|false}}Whether to enable the pre-warmer. Allowed values:
truefalse. Defaults totrue. -
Flashbots.EnableValidation- CLI
- Environment variable
- Configuration file
--flashbots-enablevalidation [true|false]--Flashbots.EnableValidation [true|false]NETHERMIND_FLASHBOTSCONFIG_ENABLEVALIDATION=true|false{"Flashbots": {"EnableValidation": true|false}}Whether to validate the submitted block against its execution (state root, receipts root, gas used, logs bloom). When disabled, a block whose header does not match the execution outcome is still reported as valid. Allowed values:
truefalse. Defaults totrue. -
Flashbots.Enabled- CLI
- Environment variable
- Configuration file
--flashbots-enabled [true|false]--Flashbots.Enabled [true|false]NETHERMIND_FLASHBOTSCONFIG_ENABLED=true|false{"Flashbots": {"Enabled": true|false}}Whether to enable the Flashbots endpoints. Allowed values:
truefalse. Defaults tofalse. -
Flashbots.ExcludeWithdrawals- CLI
- Environment variable
- Configuration file
--flashbots-excludewithdrawals [true|false]--Flashbots.ExcludeWithdrawals [true|false]NETHERMIND_FLASHBOTSCONFIG_EXCLUDEWITHDRAWALS=true|false{"Flashbots": {"ExcludeWithdrawals": true|false}}Whether to exclude the withdrawals to the fee recipient from the balance difference. Allowed values:
truefalse. Defaults tofalse. -
Flashbots.FlashbotsModuleConcurrentInstances- CLI
- Environment variable
- Configuration file
--flashbots-flashbotsmoduleconcurrentinstances <value>--Flashbots.FlashbotsModuleConcurrentInstances <value>NETHERMIND_FLASHBOTSCONFIG_FLASHBOTSMODULECONCURRENTINSTANCES=<value>{"Flashbots": {"FlashbotsModuleConcurrentInstances": <value>}}The number of concurrent instances for non-sharable calls for
flashbots_validateBuilderSubmissionV3This limits the load on the CPU and I/O to reasonable levels. If the limit is exceeded, HTTP 503 is returned along with the JSON-RPC error. Defaults to the number of logical processors. -
Flashbots.UseBalanceDiffProfit- CLI
- Environment variable
- Configuration file
--flashbots-usebalancediffprofit [true|false]--Flashbots.UseBalanceDiffProfit [true|false]NETHERMIND_FLASHBOTSCONFIG_USEBALANCEDIFFPROFIT=true|false{"Flashbots": {"UseBalanceDiffProfit": true|false}}Whether to calculate the proposer payment as a balance difference of the fee recipient. Allowed values:
truefalse. Defaults tofalse.
FlatDb
-
FlatDb.ApplyStorageWritesOnIdleThread- CLI
- Environment variable
- Configuration file
--flatdb-applystoragewritesonidlethread [true|false]--FlatDb.ApplyStorageWritesOnIdleThread [true|false]NETHERMIND_FLATDBCONFIG_APPLYSTORAGEWRITESONIDLETHREAD=true|false{"FlatDb": {"ApplyStorageWritesOnIdleThread": true|false}}Apply committed storage writes to the storage tries on an idle-priority thread during execution. Ignored with VerifyWithTrie. Allowed values:
truefalse. Defaults totrue. -
FlatDb.ArchiveProofBuildEnabled- CLI
- Environment variable
- Configuration file
--flatdb-archiveproofbuildenabled [true|false]--FlatDb.ArchiveProofBuildEnabled [true|false]NETHERMIND_FLATDBCONFIG_ARCHIVEPROOFBUILDENABLED=true|false{"FlatDb": {"ArchiveProofBuildEnabled": true|false}}Emit the archive proof commitments: from the tip as blocks are captured, and, with FlatDb.HistoryVerifyEveryBlock, along the every-block walk that retrofits an already-synced archive. A node syncing from genesis needs only the tip capture. Allowed values:
truefalse. Defaults tofalse. -
FlatDb.ArchiveProofCheckpointIntervalLog2- CLI
- Environment variable
- Configuration file
--flatdb-archiveproofcheckpointintervallog2 <value>--FlatDb.ArchiveProofCheckpointIntervalLog2 <value>NETHERMIND_FLATDBCONFIG_ARCHIVEPROOFCHECKPOINTINTERVALLOG2=<value>{"FlatDb": {"ArchiveProofCheckpointIntervalLog2": <value>}}Checkpoint interval for the archive proof commitments, as a power of two blocks, the same at every trie depth. Smaller means faster cold proofs and more disk. Accepted range 6..12. Changing it invalidates commitments already built. 0 uses the built-in default of 2^9. Defaults to
0. -
FlatDb.ArchiveProofDiscardMismatchedLayout- CLI
- Environment variable
- Configuration file
--flatdb-archiveproofdiscardmismatchedlayout [true|false]--FlatDb.ArchiveProofDiscardMismatchedLayout [true|false]NETHERMIND_FLATDBCONFIG_ARCHIVEPROOFDISCARDMISMATCHEDLAYOUT=true|false{"FlatDb": {"ArchiveProofDiscardMismatchedLayout": true|false}}Delete the archive proof commitment columns and rebuild them when they were written under a different layout than this node is configured for (another checkpoint interval, or an older release). Off refuses to build and keeps the rows; on discards rows nothing can read any more. Nothing is deleted while the layout matches, so it is harmless to leave on. Allowed values:
truefalse. Defaults tofalse. -
FlatDb.ArchiveProofEpochLog2- CLI
- Environment variable
- Configuration file
--flatdb-archiveproofepochlog2 <value>--FlatDb.ArchiveProofEpochLog2 <value>NETHERMIND_FLATDBCONFIG_ARCHIVEPROOFEPOCHLOG2=<value>{"FlatDb": {"ArchiveProofEpochLog2": <value>}}Epoch of the archive proof commitment rows, as a power of two blocks. Rows are keyed by epoch so a whole epoch can be dropped in one range delete; every epoch starts with a snapshot of the account tiers and the storage roots. Must be at least the checkpoint interval; 0 uses 19 (about 2.5 months of blocks). Changing it invalidates commitments already built. Defaults to
0. -
FlatDb.ArchiveProofFanOut- CLI
- Environment variable
- Configuration file
--flatdb-archiveprooffanout <value>--FlatDb.ArchiveProofFanOut <value>NETHERMIND_FLATDBCONFIG_ARCHIVEPROOFFANOUT=<value>{"FlatDb": {"ArchiveProofFanOut": <value>}}Concurrent child resolutions inside a single historical proof. Each of a node's 16 children is an independent read, so this is the per-request fan-out; 0 uses the processor count. The number of concurrent proofs is capped by the JSON-RPC module pool, not here. Defaults to
8. -
FlatDb.ArchiveProofFineEpochs- CLI
- Environment variable
- Configuration file
--flatdb-archiveprooffineepochs <value>--FlatDb.ArchiveProofFineEpochs <value>NETHERMIND_FLATDBCONFIG_ARCHIVEPROOFFINEEPOCHS=<value>{"FlatDb": {"ArchiveProofFineEpochs": <value>}}Number of most recent commitment epochs to keep the per-block rows for. Older epochs keep only their checkpoint rows: proofs there are still served and still verified, rebuilt from the window rows, which costs about a second instead of a hundred milliseconds and is most of the column's size. 0 keeps the per-block rows for every epoch. Defaults to
0. -
FlatDb.ArchiveProofMaxScannedRows- CLI
- Environment variable
- Configuration file
--flatdb-archiveproofmaxscannedrows <value>--FlatDb.ArchiveProofMaxScannedRows <value>NETHERMIND_FLATDBCONFIG_ARCHIVEPROOFMAXSCANNEDROWS=<value>{"FlatDb": {"ArchiveProofMaxScannedRows": <value>}}History rows one historical proof may read before it is refused. A proof that has to scan beyond this is resolving from raw history rather than from commitments, which means the commitment column does not really cover that height. 0 uses the built-in ceiling of 250000 rows. Defaults to
0. -
FlatDb.ArchiveProofRecentEpochs- CLI
- Environment variable
- Configuration file
--flatdb-archiveproofrecentepochs <value>--FlatDb.ArchiveProofRecentEpochs <value>NETHERMIND_FLATDBCONFIG_ARCHIVEPROOFRECENTEPOCHS=<value>{"FlatDb": {"ArchiveProofRecentEpochs": <value>}}Number of most recent commitment epochs to keep. Older epochs are deleted and historical proofs below them are refused; 0 keeps every epoch (a full archive). Defaults to
0. -
FlatDb.ArchiveProofServeEnabled- CLI
- Environment variable
- Configuration file
--flatdb-archiveproofserveenabled [true|false]--FlatDb.ArchiveProofServeEnabled [true|false]NETHERMIND_FLATDBCONFIG_ARCHIVEPROOFSERVEENABLED=true|false{"FlatDb": {"ArchiveProofServeEnabled": true|false}}Serve eth_getProof at heights below the flat state boundary from the archive commitment columns. Requires an unwindowed (v2) flat history whose commitments cover the height; off by default. Allowed values:
truefalse. Defaults tofalse. -
FlatDb.ArenaFileSizeBytes- CLI
- Environment variable
- Configuration file
--flatdb-arenafilesizebytes <value>--FlatDb.ArenaFileSizeBytes <value>NETHERMIND_FLATDBCONFIG_ARENAFILESIZEBYTES=<value>{"FlatDb": {"ArenaFileSizeBytes": <value>}}Maximum size in bytes for a single arena file before a new one is started. Defaults to
1073741824. -
FlatDb.BlockCacheSizeBudget- CLI
- Environment variable
- Configuration file
--flatdb-blockcachesizebudget <value>--FlatDb.BlockCacheSizeBudget <value>NETHERMIND_FLATDBCONFIG_BLOCKCACHESIZEBUDGET=<value>{"FlatDb": {"BlockCacheSizeBudget": <value>}}Block cache size budget Defaults to
1073741824. -
FlatDb.CompactSize- CLI
- Environment variable
- Configuration file
--flatdb-compactsize <value>--FlatDb.CompactSize <value>NETHERMIND_FLATDBCONFIG_COMPACTSIZE=<value>{"FlatDb": {"CompactSize": <value>}}Compact size Defaults to
32. -
FlatDb.CompactionOffset- CLI
- Environment variable
- Configuration file
--flatdb-compactionoffset <value>--FlatDb.CompactionOffset <value>NETHERMIND_FLATDBCONFIG_COMPACTIONOFFSET=<value>{"FlatDb": {"CompactionOffset": <value>}}Fixed compaction schedule offset in blocks. When 0 or greater, overrides the per-instance offset in the metadata DB, which is neither read nor updated. Only the value modulo CompactSize matters. -1 to use the stored offset, generating a random one when absent. Defaults to
-1. -
FlatDb.CompressedNodeRecordBufferMemoryBudget- CLI
- Environment variable
- Configuration file
--flatdb-compressednoderecordbuffermemorybudget <value>--FlatDb.CompressedNodeRecordBufferMemoryBudget <value>NETHERMIND_FLATDBCONFIG_COMPRESSEDNODERECORDBUFFERMEMORYBUDGET=<value>{"FlatDb": {"CompressedNodeRecordBufferMemoryBudget": <value>}}Memory budget, in bytes, for the compacted generations of the trie node buffer; the oldest are freed beyond it. 0 disables compaction, freeing dropped generations at once; it is also disabled while TrieNodeLogEnabled is set. It also sizes the buffer's storage root index. Defaults to
524288000. -
FlatDb.DeferStorageTrieCommit- CLI
- Environment variable
- Configuration file
--flatdb-deferstoragetriecommit [true|false]--FlatDb.DeferStorageTrieCommit [true|false]NETHERMIND_FLATDBCONFIG_DEFERSTORAGETRIECOMMIT=true|false{"FlatDb": {"DeferStorageTrieCommit": true|false}}Publish the storage trie roots when the block commits, after it is reported valid, as the state trie already does; their nodes are written as each write batch completes either way.
falsepublishes each storage trie's root before the block is reported valid. Allowed values:truefalse. Defaults totrue. -
FlatDb.DropPruningTrieState- CLI
- Environment variable
- Configuration file
--flatdb-droppruningtriestate [true|false]--FlatDb.DropPruningTrieState [true|false]NETHERMIND_FLATDBCONFIG_DROPPRUNINGTRIESTATE=true|false{"FlatDb": {"DropPruningTrieState": true|false}}Delete the patricia-trie state DB on start once the flat DB owns the state, reclaiming its disk space. The kept trie is what a switch back to the patricia backend restarts from, replaying from the conversion block, so this is irreversible: switching back afterwards requires a resync. Allowed values:
truefalse. Defaults tofalse. -
FlatDb.EnableCarryForwardCache- CLI
- Environment variable
- Configuration file
--flatdb-enablecarryforwardcache [true|false]--FlatDb.EnableCarryForwardCache [true|false]NETHERMIND_FLATDBCONFIG_ENABLECARRYFORWARDCACHE=true|false{"FlatDb": {"EnableCarryForwardCache": true|false}}Cache flat account and slot reads across heads in the persistence layer, so a new head does not re-read the working set from the database.
falsereads every persistence miss from the database. Allowed values:truefalse. Defaults totrue. -
FlatDb.EnableLongFinality- CLI
- Environment variable
- Configuration file
--flatdb-enablelongfinality [true|false]--FlatDb.EnableLongFinality [true|false]NETHERMIND_FLATDBCONFIG_ENABLELONGFINALITY=true|false{"FlatDb": {"EnableLongFinality": true|false}}Enable long finality support with persisted snapshots Allowed values:
truefalse. Defaults totrue. -
FlatDb.Enabled- CLI
- Environment variable
- Configuration file
--flatdb-enabled [true|false]--FlatDb.Enabled [true|false]NETHERMIND_FLATDBCONFIG_ENABLED=true|false{"FlatDb": {"Enabled": true|false}}Whether a fresh state sync uses the flat-state DB backend, and whether ImportFromPruningTrieState is honored. A node that already has a patricia-trie state DB keeps using it regardless of this setting; set to false to sync a fresh node on the patricia-trie backend instead. Allowed values:
truefalse. Defaults totrue. -
FlatDb.HistoryEnabled- CLI
- Environment variable
- Configuration file
--flatdb-historyenabled [true|false]--FlatDb.HistoryEnabled [true|false]NETHERMIND_FLATDBCONFIG_HISTORYENABLED=true|false{"FlatDb": {"HistoryEnabled": true|false}}Capture finalized per-block account/storage changesets into the history columns for archival queries. Off by default; when off the persist path does no extra work. Allowed values:
truefalse. Defaults tofalse. -
FlatDb.HistoryPruneIntervalBlocks- CLI
- Environment variable
- Configuration file
--flatdb-historypruneintervalblocks <value>--FlatDb.HistoryPruneIntervalBlocks <value>NETHERMIND_FLATDBCONFIG_HISTORYPRUNEINTERVALBLOCKS=<value>{"FlatDb": {"HistoryPruneIntervalBlocks": <value>}}How many blocks the watermark must advance before an idle history window pruner wakes and re-evaluates the floor. A pruner still owing sweep work paces itself on its pass budget instead. Only consulted when HistoryRetention is 'Rolling'. Defaults to
1024. -
FlatDb.HistoryPrunePassBudgetSeconds- CLI
- Environment variable
- Configuration file
--flatdb-historyprunepassbudgetseconds <value>--FlatDb.HistoryPrunePassBudgetSeconds <value>NETHERMIND_FLATDBCONFIG_HISTORYPRUNEPASSBUDGETSECONDS=<value>{"FlatDb": {"HistoryPrunePassBudgetSeconds": <value>}}Per-pass wall-clock budget, in seconds, for the history window pruner's incremental scan-and-delete. A pass yields at the budget and resumes from its persisted cursor on the next pass rather than running unbounded. Must exceed the longest historical query the node serves: deletes wait for in-flight historical reads, and a read that outlives every pass blocks reclamation until it finishes. Defaults to
5. -
FlatDb.HistoryRetention- CLI
- Environment variable
- Configuration file
--flatdb-historyretention <value>--FlatDb.HistoryRetention <value>NETHERMIND_FLATDBCONFIG_HISTORYRETENTION=<value>{"FlatDb": {"HistoryRetention": <value>}}How flat history is retained. 'None' keeps it unbounded from genesis or the pivot and never prunes it. 'Rolling' keeps a bounded window of the most recent HistoryRetentionBlocks blocks and reclaims below it. 'SinceBlock' keeps everything from HistoryRetentionSinceBlock onward forever and captures nothing below it. Both bounded modes select the windowed row format and so require a database that has never captured history unwindowed.
Allowed values:
NoneRollingSinceBlock
Defaults to
None. -
FlatDb.HistoryRetentionBlocks- CLI
- Environment variable
- Configuration file
--flatdb-historyretentionblocks <value>--FlatDb.HistoryRetentionBlocks <value>NETHERMIND_FLATDBCONFIG_HISTORYRETENTIONBLOCKS=<value>{"FlatDb": {"HistoryRetentionBlocks": <value>}}Size of the rolling flat-history window, in blocks below the watermark. Required when HistoryRetention is 'Rolling' and rejected otherwise. Defaults to
0. -
FlatDb.HistoryRetentionSinceBlock- CLI
- Environment variable
- Configuration file
--flatdb-historyretentionsinceblock <value>--FlatDb.HistoryRetentionSinceBlock <value>NETHERMIND_FLATDBCONFIG_HISTORYRETENTIONSINCEBLOCK=<value>{"FlatDb": {"HistoryRetentionSinceBlock": <value>}}First block of flat history to keep when HistoryRetention is 'SinceBlock'. History below it is never captured and reads there fail closed; from it onward nothing is ever pruned. Required in that mode and rejected otherwise. Defaults to
0. -
FlatDb.HistorySliceAddresses- CLI
- Environment variable
- Configuration file
--flatdb-historysliceaddresses <value>--FlatDb.HistorySliceAddresses <value>NETHERMIND_FLATDBCONFIG_HISTORYSLICEADDRESSES=<value>{"FlatDb": {"HistorySliceAddresses": <value>}}A comma-separated list of contract addresses to retain unbounded (or far deeper than HistoryRetentionBlocks) flat history for, independent of the general rolling window. Needs the windowed row format (HistoryRetention Rolling or SinceBlock); under SinceBlock only the body and receipt retention described here applies, since flat history there is never pruned. Static allow-list only - an address is never added or removed except by editing this config and restarting. Both the receipts and the whole block body are retained for every block one of these addresses appears in, so those heights keep their transactions queryable and not just their logs. The cost is body disk: a contract busy enough to match most blocks means most of those bodies are kept, and history pruning stops reclaiming body space over that range. An entry with a retention suffix keeps bodies and receipts only while a height is within that many blocks of the head; a cleanup cursor reclaims them after they fall out. An entry without a retention suffix retains forever and pins the whole clears column and the per-block markers (~40 bytes per block the window never reclaims). Answering below a previously pruned boundary requires History.Pruning to stay enabled: the pruner is what validates, at startup, from which depth each slice's logs are provably retained, and without it those reads fail closed. Defaults to
null. -
FlatDb.HistoryTransactionIndexBulkFillEnabled- CLI
- Environment variable
- Configuration file
--flatdb-historytransactionindexbulkfillenabled [true|false]--FlatDb.HistoryTransactionIndexBulkFillEnabled [true|false]NETHERMIND_FLATDBCONFIG_HISTORYTRANSACTIONINDEXBULKFILLENABLED=true|false{"FlatDb": {"HistoryTransactionIndexBulkFillEnabled": true|false}}Experimental mainnet v2 archive retrofit using one isolated disk-backed replay state. Replaces retrofit workers, not tip following. Requires a nonzero HistoryTransactionIndexRetrofitFromBlock; coverage joins only after the ascending range completes. Allowed values:
truefalse. Defaults tofalse. -
FlatDb.HistoryTransactionIndexBulkFillMaxGiB- CLI
- Environment variable
- Configuration file
--flatdb-historytransactionindexbulkfillmaxgib <value>--FlatDb.HistoryTransactionIndexBulkFillMaxGiB <value>NETHERMIND_FLATDBCONFIG_HISTORYTRANSACTIONINDEXBULKFILLMAXGIB=<value>{"FlatDb": {"HistoryTransactionIndexBulkFillMaxGiB": <value>}}Maximum scratch database size in GiB for bulk transaction-index replay. Reaching the limit pauses replay without dropping its checkpoint. Defaults to
1024. -
FlatDb.HistoryTransactionIndexDutyCyclePercent- CLI
- Environment variable
- Configuration file
--flatdb-historytransactionindexdutycyclepercent <value>--FlatDb.HistoryTransactionIndexDutyCyclePercent <value>NETHERMIND_FLATDBCONFIG_HISTORYTRANSACTIONINDEXDUTYCYCLEPERCENT=<value>{"FlatDb": {"HistoryTransactionIndexDutyCyclePercent": <value>}}Share of its wall clock the transaction index builder may spend working; it sleeps out the rest so that re-executing blocks stays invisible to the RPC the node is serving. 100 lets it run flat out. Defaults to
25. -
FlatDb.HistoryTransactionIndexEnabled- CLI
- Environment variable
- Configuration file
--flatdb-historytransactionindexenabled [true|false]--FlatDb.HistoryTransactionIndexEnabled [true|false]NETHERMIND_FLATDBCONFIG_HISTORYTRANSACTIONINDEXENABLED=true|false{"FlatDb": {"HistoryTransactionIndexEnabled": true|false}}Index, per transaction, what each transaction of a block wrote, so that a trace of one transaction resolves the state before it instead of replaying the transactions ahead of it. Captured inline while syncing, when the node executes each block anyway, and re-executed in the background behind the history watermark at the tip and for the retrofit; never on the tip's processing path. Pre-Amsterdam only: BAL-enabled blocks are neither indexed nor seeded. Kept in its own column. Off by default; a node that leaves it off pays nothing. Allowed values:
truefalse. Defaults tofalse. -
FlatDb.HistoryTransactionIndexRetrofitFromBlock- CLI
- Environment variable
- Configuration file
--flatdb-historytransactionindexretrofitfromblock <value>--FlatDb.HistoryTransactionIndexRetrofitFromBlock <value>NETHERMIND_FLATDBCONFIG_HISTORYTRANSACTIONINDEXRETROFITFROMBLOCK=<value>{"FlatDb": {"HistoryTransactionIndexRetrofitFromBlock": <value>}}Once the transaction index has caught up with the tip, also index backwards down to this block, so an archive that already exists gains coverage without a resync. 0 indexes forward from the moment the index is turned on and nothing older; 1 covers the whole chain, since genesis carries no transactions. Never goes below the flat-history floor. Defaults to
0. -
FlatDb.HistoryTransactionIndexWorkers- CLI
- Environment variable
- Configuration file
--flatdb-historytransactionindexworkers <value>--FlatDb.HistoryTransactionIndexWorkers <value>NETHERMIND_FLATDBCONFIG_HISTORYTRANSACTIONINDEXWORKERS=<value>{"FlatDb": {"HistoryTransactionIndexWorkers": <value>}}Threads re-executing blocks for the backwards retrofit of the transaction index, each on its own block range with its own processing environment. The tip is always followed by one thread regardless. 1 runs the retrofit on that same thread. Each worker holds the state its current 128-block chunk wrote, a few hundred thousand entries on mainnet, so the count is a memory knob as well as a throughput one. Defaults to
1. -
FlatDb.HistoryVerifyEveryBlock- CLI
- Environment variable
- Configuration file
--flatdb-historyverifyeveryblock [true|false]--FlatDb.HistoryVerifyEveryBlock [true|false]NETHERMIND_FLATDBCONFIG_HISTORYVERIFYEVERYBLOCK=true|false{"FlatDb": {"HistoryVerifyEveryBlock": true|false}}Rebuild the state root from flat history rows at every covered block and compare against this node's own headers, once, in the background. Unwindowed archives only. Memory is bounded by FlatDb.HistoryVerifyMaxRows per worker, not by state size. Allowed values:
truefalse. Defaults tofalse. -
FlatDb.HistoryVerifyMaxRows- CLI
- Environment variable
- Configuration file
--flatdb-historyverifymaxrows <value>--FlatDb.HistoryVerifyMaxRows <value>NETHERMIND_FLATDBCONFIG_HISTORYVERIFYMAXROWS=<value>{"FlatDb": {"HistoryVerifyMaxRows": <value>}}History rows one verification worker holds in memory for the subtree it is replaying. A subtree with more rows is split into its children and a single key with more rows is streamed, so any value works on any archive; larger values mean fewer, bigger subtrees. Sized so that one mainnet depth-2 account subtree fits without splitting; each worker holds about 400 bytes per row plus its replayed trie. 0 uses the built-in default of 5 million. Defaults to
0. -
FlatDb.HistoryVerifySegments- CLI
- Environment variable
- Configuration file
--flatdb-historyverifysegments <value>--FlatDb.HistoryVerifySegments <value>NETHERMIND_FLATDBCONFIG_HISTORYVERIFYSEGMENTS=<value>{"FlatDb": {"HistoryVerifySegments": <value>}}Concurrent workers of the every-block history verification; the key keeps the name it shipped under, the value is a worker count. Each worker replays one trie subtree at a time from its own contiguous rows, so workers share nothing but the read-only columns; the count changes memory and wall clock, never the result. 0 sizes it from the machine: the processor count minus two cores kept for block processing, capped so the walk takes at most half of the memory and never more than the headroom free when it starts. Defaults to
0. -
FlatDb.ImportFromPruningTrieState- CLI
- Environment variable
- Configuration file
--flatdb-importfrompruningtriestate [true|false]--FlatDb.ImportFromPruningTrieState [true|false]NETHERMIND_FLATDBCONFIG_IMPORTFROMPRUNINGTRIESTATE=true|false{"FlatDb": {"ImportFromPruningTrieState": true|false}}Import from pruning trie state db. When enabled, the node runs the import and exits instead of starting, as with the
import-flat-dbcommand, and fails if there is nothing to import. Remove the setting once the import has finished. Allowed values:truefalse. Defaults tofalse. -
FlatDb.InMemorySnapshotBloomBitsPerKey- CLI
- Environment variable
- Configuration file
--flatdb-inmemorysnapshotbloombitsperkey <value>--FlatDb.InMemorySnapshotBloomBitsPerKey <value>NETHERMIND_FLATDBCONFIG_INMEMORYSNAPSHOTBLOOMBITSPERKEY=<value>{"FlatDb": {"InMemorySnapshotBloomBitsPerKey": <value>}}Bits per key for the negative filter over the slots written by the in-memory snapshots. It is built once per read-only snapshot bundle, on the first slot read of read-only execution (eth_call, eth_estimateGas, eth_createAccessList, eth_simulateV1, eth_getProof, debug and trace calls, Flashbots block validation, receipt regeneration and the transaction changeset index), and lets those reads skip the per-snapshot lookups for a slot no in-memory snapshot wrote. Block processing never uses it. Higher = lower false-positive rate but more RAM. 0 disables the filter. Defaults to
14. -
FlatDb.InlineCompaction- CLI
- Environment variable
- Configuration file
--flatdb-inlinecompaction [true|false]--FlatDb.InlineCompaction [true|false]NETHERMIND_FLATDBCONFIG_INLINECOMPACTION=true|false{"FlatDb": {"InlineCompaction": true|false}}Inline compaction Allowed values:
truefalse. Defaults tofalse. -
FlatDb.Layout- CLI
- Environment variable
- Configuration file
--flatdb-layout <value>--FlatDb.Layout <value>NETHERMIND_FLATDBCONFIG_LAYOUT=<value>{"FlatDb": {"Layout": <value>}}Flat db layout.
Autokeeps the layout of an existing flat DB, and creates a new one asFlatInTriebelow 16 GB of memory available to .NET (75% of a container's memory limit) and asFlatotherwise.Allowed values:
FlatFlatInTriePreimageFlatV1PreimageFlatAuto
Defaults to
Auto. -
FlatDb.LongFinalityMaxReorgDepth- CLI
- Environment variable
- Configuration file
--flatdb-longfinalitymaxreorgdepth <value>--FlatDb.LongFinalityMaxReorgDepth <value>NETHERMIND_FLATDBCONFIG_LONGFINALITYMAXREORGDEPTH=<value>{"FlatDb": {"LongFinalityMaxReorgDepth": <value>}}Force-persist backstop used when EnableLongFinality is on, in place of MaxReorgDepth. The persisted-snapshot tier serves deep reorgs, so this is much larger than the non-long-finality backstop. Defaults to
90000. -
FlatDb.MaxInFlightCompactJob- CLI
- Environment variable
- Configuration file
--flatdb-maxinflightcompactjob <value>--FlatDb.MaxInFlightCompactJob <value>NETHERMIND_FLATDBCONFIG_MAXINFLIGHTCOMPACTJOB=<value>{"FlatDb": {"MaxInFlightCompactJob": <value>}}Max in flight compact job Defaults to
32. -
FlatDb.MaxInMemoryBaseSnapshotCount- CLI
- Environment variable
- Configuration file
--flatdb-maxinmemorybasesnapshotcount <value>--FlatDb.MaxInMemoryBaseSnapshotCount <value>NETHERMIND_FLATDBCONFIG_MAXINMEMORYBASESNAPSHOTCOUNT=<value>{"FlatDb": {"MaxInMemoryBaseSnapshotCount": <value>}}Maximum number of in-memory base snapshots before conversion to the persisted-snapshot tier kicks in. Counted as
SnapshotCountof the in-memory repository, not a block-distance depth. Sized as a ~128 target plus one CompactSize of headroom, since a bulk (CompactSize-wide) conversion drops the in-memory count by up to CompactSize at a boundary — so the tier still retains ~128 base snapshots after each conversion. Defaults to160. -
FlatDb.MaxInMemorySnapshotBytes- CLI
- Environment variable
- Configuration file
--flatdb-maxinmemorysnapshotbytes <value>--FlatDb.MaxInMemorySnapshotBytes <value>NETHERMIND_FLATDBCONFIG_MAXINMEMORYSNAPSHOTBYTES=<value>{"FlatDb": {"MaxInMemorySnapshotBytes": <value>}}Byte budget for the in-memory snapshot window. When positive and the estimated in-memory snapshot bytes exceed it, conversion to the persisted-snapshot tier is attempted and persistence is forced even when finality stalls, always leaving at least MinReorgDepth blocks above the persisted base — bounding memory by size rather than block count, so heavy blocks shrink the retained window instead of exhausting memory. Only in-memory snapshots are flushed for byte pressure, so with EnableLongFinality the persisted-snapshot tier is kept and the in-memory window does not shrink below MaxInMemoryBaseSnapshotCount blocks once that tier holds the oldest state. 0 disables. Defaults to
0. -
FlatDb.MaxReorgDepth- CLI
- Environment variable
- Configuration file
--flatdb-maxreorgdepth <value>--FlatDb.MaxReorgDepth <value>NETHERMIND_FLATDBCONFIG_MAXREORGDEPTH=<value>{"FlatDb": {"MaxReorgDepth": <value>}}Max reorg depth — the force-persist backstop used when EnableLongFinality is off: once the in-memory depth exceeds it while finality is stalled, persistence is forced to bound memory. Defaults to
256. -
FlatDb.MigrateFromPruningTrieState- CLI
- Environment variable
- Configuration file
--flatdb-migratefrompruningtriestate [true|false]--FlatDb.MigrateFromPruningTrieState [true|false]NETHERMIND_FLATDBCONFIG_MIGRATEFROMPRUNINGTRIESTATE=true|false{"FlatDb": {"MigrateFromPruningTrieState": true|false}}Migrate an existing pruning trie state DB to the flat DB while the node runs: the node switches to flat at once, serving what is not copied yet from the trie DB, which it keeps until the copy completes. Supported by the Flat and FlatInTrie layouts. Once started, the migration continues on every restart until it completes, whether or not this is still set. Allowed values:
truefalse. Defaults tofalse. -
FlatDb.MigrationChunkNodes- CLI
- Environment variable
- Configuration file
--flatdb-migrationchunknodes <value>--FlatDb.MigrationChunkNodes <value>NETHERMIND_FLATDBCONFIG_MIGRATIONCHUNKNODES=<value>{"FlatDb": {"MigrationChunkNodes": <value>}}Number of trie nodes the online migration from the pruning trie state copies per write, between which block processing takes over. Defaults to
1000. -
FlatDb.MinReorgDepth- CLI
- Environment variable
- Configuration file
--flatdb-minreorgdepth <value>--FlatDb.MinReorgDepth <value>NETHERMIND_FLATDBCONFIG_MINREORGDEPTH=<value>{"FlatDb": {"MinReorgDepth": <value>}}Minimum reorg depth Defaults to
128. -
FlatDb.OnRepair- CLI
- Environment variable
- Configuration file
--flatdb-onrepair <value>--FlatDb.OnRepair <value>NETHERMIND_FLATDBCONFIG_ONREPAIR=<value>{"FlatDb": {"OnRepair": <value>}}What happens after a RocksDB repair of the flat DB. Resync wipes flat columns (headers, bodies, and receipts are kept) and re-enters state sync. Ignore keeps the repaired DB (escape hatch; may diverge). Ignore acknowledges the repair on the first start, so switching to Resync afterwards has no effect; a resync then requires wiping the flat DB directory. Resync refills state only through snap/state sync (Sync.FastSync with peers that serve it); a node that cannot state-sync, e.g. an archive synced from genesis, is left without state for its head, so set Ignore there or plan a resync from scratch. The flatHistory DB is not wiped: with HistoryEnabled and a windowed HistoryRetention (Rolling or SinceBlock), the resync fails to finish when its pivot falls inside the already-captured history window, so wipe the flatHistory directory too.
Allowed values:
ResyncIgnore
Defaults to
Resync. -
FlatDb.PersistedSnapshotArenaPageCacheBytes- CLI
- Environment variable
- Configuration file
--flatdb-persistedsnapshotarenapagecachebytes <value>--FlatDb.PersistedSnapshotArenaPageCacheBytes <value>NETHERMIND_FLATDBCONFIG_PERSISTEDSNAPSHOTARENAPAGECACHEBYTES=<value>{"FlatDb": {"PersistedSnapshotArenaPageCacheBytes": <value>}}Page-cache budget (bytes) for the persisted-snapshot arena. Backs the PageResidencyTracker that drives madvise(DONTNEED) eviction on mmap'd arena files. 0 disables the tracker. Defaults to
4294967296. -
FlatDb.PersistedSnapshotBloomBitsPerKey- CLI
- Environment variable
- Configuration file
--flatdb-persistedsnapshotbloombitsperkey <value>--FlatDb.PersistedSnapshotBloomBitsPerKey <value>NETHERMIND_FLATDBCONFIG_PERSISTEDSNAPSHOTBLOOMBITSPERKEY=<value>{"FlatDb": {"PersistedSnapshotBloomBitsPerKey": <value>}}Bits per key for the per-snapshot in-memory bloom filter. One unified filter covers address/slot/self-destruct keys plus state-trie and storage-trie node paths. Higher = lower false-positive rate but more RAM. 0 disables the filter (lookups behave as full sweeps). Defaults to
14. -
FlatDb.PersistedSnapshotDedicatedArenaThresholdBytes- CLI
- Environment variable
- Configuration file
--flatdb-persistedsnapshotdedicatedarenathresholdbytes <value>--FlatDb.PersistedSnapshotDedicatedArenaThresholdBytes <value>NETHERMIND_FLATDBCONFIG_PERSISTEDSNAPSHOTDEDICATEDARENATHRESHOLDBYTES=<value>{"FlatDb": {"PersistedSnapshotDedicatedArenaThresholdBytes": <value>}}Estimated-size threshold (bytes) at or above which a persisted-snapshot arena write goes to its own dedicated file instead of being packed into a shared arena. Defaults to
1073741824. -
FlatDb.PersistedSnapshotMaxCompactSize- CLI
- Environment variable
- Configuration file
--flatdb-persistedsnapshotmaxcompactsize <value>--FlatDb.PersistedSnapshotMaxCompactSize <value>NETHERMIND_FLATDBCONFIG_PERSISTEDSNAPSHOTMAXCOMPACTSIZE=<value>{"FlatDb": {"PersistedSnapshotMaxCompactSize": <value>}}Max persisted snapshot compaction size (hierarchical compaction ceiling for persisted layer), in blocks Defaults to
1048576. -
FlatDb.PersistedSnapshotPunchHoleOnReclaim- CLI
- Environment variable
- Configuration file
--flatdb-persistedsnapshotpunchholeonreclaim [true|false]--FlatDb.PersistedSnapshotPunchHoleOnReclaim [true|false]NETHERMIND_FLATDBCONFIG_PERSISTEDSNAPSHOTPUNCHHOLEONRECLAIM=true|false{"FlatDb": {"PersistedSnapshotPunchHoleOnReclaim": true|false}}When reclaiming dead persisted-snapshot arena ranges — metadata reservation cleanup and blob-file frontier reset — call fallocate(FALLOC_FL_PUNCH_HOLE) to free the underlying disk blocks. Linux-only; automatically and permanently disabled per arena pool if the filesystem reports the operation unsupported. Set false to skip hole-punching entirely (the page-cache posix_fadvise still runs). Allowed values:
truefalse. Defaults totrue. -
FlatDb.PersistenceWriteBufferFloor- CLI
- Environment variable
- Configuration file
--flatdb-persistencewritebufferfloor <value>--FlatDb.PersistenceWriteBufferFloor <value>NETHERMIND_FLATDBCONFIG_PERSISTENCEWRITEBUFFERFLOOR=<value>{"FlatDb": {"PersistenceWriteBufferFloor": <value>}}Lower bound, in bytes, for the RocksDB write buffer (memtable) size of the flat-state columns. The per-batch adjuster never shrinks a column's memtable below this value. Raising it lets frequent small persistence batches (small CompactSize) coalesce and deduplicate in the memtable instead of churning L0, decoupling write amplification from CompactSize. Defaults to
16777216. -
FlatDb.RegenerateCompactionOffset- CLI
- Environment variable
- Configuration file
--flatdb-regeneratecompactionoffset [true|false]--FlatDb.RegenerateCompactionOffset [true|false]NETHERMIND_FLATDBCONFIG_REGENERATECOMPACTIONOFFSET=true|false{"FlatDb": {"RegenerateCompactionOffset": true|false}}Regenerate the per-instance compaction offset on startup instead of loading from metadata DB. Use when restoring one backup to multiple instances. Flag is sticky across restarts — toggle off after first restart. Allowed values:
truefalse. Defaults tofalse. -
FlatDb.TrieNodeLogDrainOnShutdown- CLI
- Environment variable
- Configuration file
--flatdb-trienodelogdrainonshutdown [true|false]--FlatDb.TrieNodeLogDrainOnShutdown [true|false]NETHERMIND_FLATDBCONFIG_TRIENODELOGDRAINONSHUTDOWN=true|false{"FlatDb": {"TrieNodeLogDrainOnShutdown": true|false}}Merge the whole trie node log into RocksDB at shutdown. The log otherwise persists across restarts, keeping its deduplication window; mainly for debugging. Allowed values:
truefalse. Defaults tofalse. -
FlatDb.TrieNodeLogEnabled- CLI
- Environment variable
- Configuration file
--flatdb-trienodelogenabled [true|false]--FlatDb.TrieNodeLogEnabled [true|false]NETHERMIND_FLATDBCONFIG_TRIENODELOGENABLED=true|false{"FlatDb": {"TrieNodeLogEnabled": true|false}}Write trie nodes (StateTopNodes, StateNodes and StorageNodes; FallbackNodes stays direct) through an append-only trie node log (with an in-memory index) that is merged into RocksDB one generation at a time, so nodes rewritten within a generation are written to RocksDB once. Experimental: a self-destruct only removes the storage trie nodes already in RocksDB, nodes still in the log are left as unreachable orphans. Allowed values:
truefalse. Defaults tofalse. -
FlatDb.TrieNodeLogMaxConcurrentMerges- CLI
- Environment variable
- Configuration file
--flatdb-trienodelogmaxconcurrentmerges <value>--FlatDb.TrieNodeLogMaxConcurrentMerges <value>NETHERMIND_FLATDBCONFIG_TRIENODELOGMAXCONCURRENTMERGES=<value>{"FlatDb": {"TrieNodeLogMaxConcurrentMerges": <value>}}Maximum number of trie node log generation merges (across all shards) running at the same time; each merge is one RocksDB write batch. Defaults to
2. -
FlatDb.TrieNodeLogMergeBacklogMargin- CLI
- Environment variable
- Configuration file
--flatdb-trienodelogmergebacklogmargin <value>--FlatDb.TrieNodeLogMergeBacklogMargin <value>NETHERMIND_FLATDBCONFIG_TRIENODELOGMERGEBACKLOGMARGIN=<value>{"FlatDb": {"TrieNodeLogMergeBacklogMargin": <value>}}Sealed trie node log generations a shard may accumulate beyond TrieNodeLogMergeLag before starting a new generation waits for a merge to finish, which stalls persistence until the merges catch up. Defaults to
2. -
FlatDb.TrieNodeLogMergeLag- CLI
- Environment variable
- Configuration file
--flatdb-trienodelogmergelag <value>--FlatDb.TrieNodeLogMergeLag <value>NETHERMIND_FLATDBCONFIG_TRIENODELOGMERGELAG=<value>{"FlatDb": {"TrieNodeLogMergeLag": <value>}}Number of sealed trie node log generations kept unmerged behind the newest one. A generation is merged into RocksDB only once this many newer generations are sealed, and keys rewritten in those are skipped, so the effective deduplication window is (1 + this) generations at the cost of that many extra generation files and in-memory indexes. Defaults to
1. -
FlatDb.TrieNodeLogSecondLevelMergeLag- CLI
- Environment variable
- Configuration file
--flatdb-trienodelogsecondlevelmergelag <value>--FlatDb.TrieNodeLogSecondLevelMergeLag <value>NETHERMIND_FLATDBCONFIG_TRIENODELOGSECONDLEVELMERGELAG=<value>{"FlatDb": {"TrieNodeLogSecondLevelMergeLag": <value>}}TrieNodeLogMergeLag of the second-level trie node log, or -1 to disable it. Each merged trie node log generation is copied, deduplicated, into the second-level log instead of RocksDB; it has the same size and backlog settings as the first, an in-memory index of 1/16 of its size for both partitions, and merges its own generations into RocksDB once this many newer ones are sealed. The surviving nodes are less likely to be rewritten, and the log's index answers their reads faster than RocksDB. Defaults to
1. -
FlatDb.TrieNodeLogStateBytes- CLI
- Environment variable
- Configuration file
--flatdb-trienodelogstatebytes <value>--FlatDb.TrieNodeLogStateBytes <value>NETHERMIND_FLATDBCONFIG_TRIENODELOGSTATEBYTES=<value>{"FlatDb": {"TrieNodeLogStateBytes": <value>}}Byte budget of the state partition of the trie node log (StateTopNodes and StateNodes), split evenly over its shards: each shard's generation, i.e. its deduplication window before it is merged into RocksDB, is this divided by the partition's shard count. Each live generation also keeps an in-memory index of 1/64 of its size (1/32 for the storage partition). Defaults to
524288000. -
FlatDb.TrieNodeLogStateShardCount- CLI
- Environment variable
- Configuration file
--flatdb-trienodelogstateshardcount <value>--FlatDb.TrieNodeLogStateShardCount <value>NETHERMIND_FLATDBCONFIG_TRIENODELOGSTATESHARDCOUNT=<value>{"FlatDb": {"TrieNodeLogStateShardCount": <value>}}Number of shards of the state partition of the trie node log, a power of two. Nodes are sharded by the first byte of their column key (the first path nibbles for state nodes, the first byte of the address hash for storage nodes); shards are appended to and merged in parallel. Defaults to
2. -
FlatDb.TrieNodeLogStorageBytes- CLI
- Environment variable
- Configuration file
--flatdb-trienodelogstoragebytes <value>--FlatDb.TrieNodeLogStorageBytes <value>NETHERMIND_FLATDBCONFIG_TRIENODELOGSTORAGEBYTES=<value>{"FlatDb": {"TrieNodeLogStorageBytes": <value>}}Byte budget of the storage partition of the trie node log (StorageNodes), split evenly over its shards like TrieNodeLogStateBytes. Defaults to
524288000. -
FlatDb.TrieNodeLogStorageShardCount- CLI
- Environment variable
- Configuration file
--flatdb-trienodelogstorageshardcount <value>--FlatDb.TrieNodeLogStorageShardCount <value>NETHERMIND_FLATDBCONFIG_TRIENODELOGSTORAGESHARDCOUNT=<value>{"FlatDb": {"TrieNodeLogStorageShardCount": <value>}}Number of shards of the storage partition of the trie node log, a power of two. Defaults to
2. -
FlatDb.TrieWarmerWorkerCount- CLI
- Environment variable
- Configuration file
--flatdb-triewarmerworkercount <value>--FlatDb.TrieWarmerWorkerCount <value>NETHERMIND_FLATDBCONFIG_TRIEWARMERWORKERCOUNT=<value>{"FlatDb": {"TrieWarmerWorkerCount": <value>}}Trie warmer worker count (-1 for the larger of 3/4 of the processor count and 1.5 per processor up to 12, 0 to disable) Defaults to
-1. -
FlatDb.ValidatePersistedSnapshot- CLI
- Environment variable
- Configuration file
--flatdb-validatepersistedsnapshot [true|false]--FlatDb.ValidatePersistedSnapshot [true|false]NETHERMIND_FLATDBCONFIG_VALIDATEPERSISTEDSNAPSHOT=true|false{"FlatDb": {"ValidatePersistedSnapshot": true|false}}Validate persisted snapshots against in-memory snapshots after conversion (debug/diagnostic only) Allowed values:
truefalse. Defaults tofalse. -
FlatDb.VerifyWithTrie- CLI
- Environment variable
- Configuration file
--flatdb-verifywithtrie [true|false]--FlatDb.VerifyWithTrie [true|false]NETHERMIND_FLATDBCONFIG_VERIFYWITHTRIE=true|false{"FlatDb": {"VerifyWithTrie": true|false}}Verify with trie Allowed values:
truefalse. Defaults tofalse. -
FlatDb.WarmReadConcurrency- CLI
- Environment variable
- Configuration file
--flatdb-warmreadconcurrency <value>--FlatDb.WarmReadConcurrency <value>NETHERMIND_FLATDBCONFIG_WARMREADCONCURRENCY=<value>{"FlatDb": {"WarmReadConcurrency": <value>}}Persistent dedicated reader threads used to resolve hinted BAL read sets into the pre-block cache. -1 for 4x logical processor count capped at 64. Values below 1 are clamped to 1. Use --Blocks.ParallelExecutionBatchRead=false to disable BAL warming entirely. Defaults to
-1.
HealthChecks
-
HealthChecks.Enabled- CLI
- Environment variable
- Configuration file
--healthchecks-enabled [true|false]--HealthChecks.Enabled [true|false]NETHERMIND_HEALTHCHECKSCONFIG_ENABLED=true|false{"HealthChecks": {"Enabled": true|false}}Whether to enable the health check. Allowed values:
truefalse. Defaults tofalse. -
HealthChecks.LowStorageCheckAwaitOnStartup- CLI
- Environment variable
- Configuration file
--healthchecks-lowstoragecheckawaitonstartup [true|false]--HealthChecks.LowStorageCheckAwaitOnStartup [true|false]NETHERMIND_HEALTHCHECKSCONFIG_LOWSTORAGECHECKAWAITONSTARTUP=true|false{"HealthChecks": {"LowStorageCheckAwaitOnStartup": true|false}}Whether to check for low disk space on startup and suspend until enough space is available. Allowed values:
truefalse. Defaults tofalse. -
HealthChecks.LowStorageSpaceShutdownThreshold- CLI
- Environment variable
- Configuration file
--healthchecks-lowstoragespaceshutdownthreshold <value>--HealthChecks.LowStorageSpaceShutdownThreshold <value>NETHERMIND_HEALTHCHECKSCONFIG_LOWSTORAGESPACESHUTDOWNTHRESHOLD=<value>{"HealthChecks": {"LowStorageSpaceShutdownThreshold": <value>}}The percentage of available disk space below which Nethermind shuts down.
0to disable. Defaults to1. -
HealthChecks.LowStorageSpaceWarningThreshold- CLI
- Environment variable
- Configuration file
--healthchecks-lowstoragespacewarningthreshold <value>--HealthChecks.LowStorageSpaceWarningThreshold <value>NETHERMIND_HEALTHCHECKSCONFIG_LOWSTORAGESPACEWARNINGTHRESHOLD=<value>{"HealthChecks": {"LowStorageSpaceWarningThreshold": <value>}}The percentage of available disk space below which a warning is displayed.
0to disable. Defaults to5. -
HealthChecks.MaxIntervalClRequestTime- CLI
- Environment variable
- Configuration file
--healthchecks-maxintervalclrequesttime <value>--HealthChecks.MaxIntervalClRequestTime <value>NETHERMIND_HEALTHCHECKSCONFIG_MAXINTERVALCLREQUESTTIME=<value>{"HealthChecks": {"MaxIntervalClRequestTime": <value>}}The max request interval, in seconds, in which the consensus client is assumed healthy. Defaults to
300. -
HealthChecks.MaxIntervalWithoutProcessedBlock- CLI
- Environment variable
- Configuration file
--healthchecks-maxintervalwithoutprocessedblock <value>--HealthChecks.MaxIntervalWithoutProcessedBlock <value>NETHERMIND_HEALTHCHECKSCONFIG_MAXINTERVALWITHOUTPROCESSEDBLOCK=<value>{"HealthChecks": {"MaxIntervalWithoutProcessedBlock": <value>}}The max interval, in seconds, in which the block processing is assumed healthy. Defaults to
null. -
HealthChecks.MaxIntervalWithoutProducedBlock- CLI
- Environment variable
- Configuration file
--healthchecks-maxintervalwithoutproducedblock <value>--HealthChecks.MaxIntervalWithoutProducedBlock <value>NETHERMIND_HEALTHCHECKSCONFIG_MAXINTERVALWITHOUTPRODUCEDBLOCK=<value>{"HealthChecks": {"MaxIntervalWithoutProducedBlock": <value>}}The max interval, in seconds, in which the block production is assumed healthy. Defaults to
null. -
HealthChecks.PollingInterval- CLI
- Environment variable
- Configuration file
--healthchecks-pollinginterval <value>--HealthChecks.PollingInterval <value>NETHERMIND_HEALTHCHECKSCONFIG_POLLINGINTERVAL=<value>{"HealthChecks": {"PollingInterval": <value>}}The health check updates polling interval, in seconds. Defaults to
5. -
HealthChecks.Slug- CLI
- Environment variable
- Configuration file
--healthchecks-slug <value>--HealthChecks.Slug <value>NETHERMIND_HEALTHCHECKSCONFIG_SLUG=<value>{"HealthChecks": {"Slug": <value>}}The URL slug the health checks service is exposed at. Defaults to
/health. -
HealthChecks.UIEnabled- CLI
- Environment variable
- Configuration file
--healthchecks-uienabled [true|false]--HealthChecks.UIEnabled [true|false]NETHERMIND_HEALTHCHECKSCONFIG_UIENABLED=true|false{"HealthChecks": {"UIEnabled": true|false}}Whether to enable the health checks UI. Allowed values:
truefalse. Defaults tofalse. -
HealthChecks.WebhooksEnabled- CLI
- Environment variable
- Configuration file
--healthchecks-webhooksenabled [true|false]--HealthChecks.WebhooksEnabled [true|false]NETHERMIND_HEALTHCHECKSCONFIG_WEBHOOKSENABLED=true|false{"HealthChecks": {"WebhooksEnabled": true|false}}Whether to enable web hooks. Allowed values:
truefalse. Defaults tofalse. -
HealthChecks.WebhooksPayload- CLI
- Environment variable
- Configuration file
--healthchecks-webhookspayload <value>--HealthChecks.WebhooksPayload <value>NETHERMIND_HEALTHCHECKSCONFIG_WEBHOOKSPAYLOAD=<value>{"HealthChecks": {"WebhooksPayload": <value>}}An escaped JSON payload to be sent to the web hook on failure. Defaults to:
{"attachments": [{"color": "#FFCC00","pretext": "Health Check Status :warning:","fields": [{"title": "Details","value": "More details available at /healthchecks-ui","short": false},{"title": "Description","value": "[[DESCRIPTIONS]]","short": false}]}]} -
HealthChecks.WebhooksRestorePayload- CLI
- Environment variable
- Configuration file
--healthchecks-webhooksrestorepayload <value>--HealthChecks.WebhooksRestorePayload <value>NETHERMIND_HEALTHCHECKSCONFIG_WEBHOOKSRESTOREPAYLOAD=<value>{"HealthChecks": {"WebhooksRestorePayload": <value>}}An escaped JSON payload to be sent to the web hook on recovery. Defaults to:
{"attachments": [{"color": "#36a64f","pretext": "Health Check Status :+1:","fields": [{"title": "Details","value": "More details available at /healthchecks-ui","short": false},{"title": "description","value": "The HealthCheck `[[LIVENESS]]` is recovered. Everything is up and running.","short": false}]}]} -
HealthChecks.WebhooksUri- CLI
- Environment variable
- Configuration file
--healthchecks-webhooksuri <value>--HealthChecks.WebhooksUri <value>NETHERMIND_HEALTHCHECKSCONFIG_WEBHOOKSURI=<value>{"HealthChecks": {"WebhooksUri": <value>}}The web hook URL. Defaults to
null.
History
-
History.BalRetentionEpochs- CLI
- Environment variable
- Configuration file
--history-balretentionepochs <value>--History.BalRetentionEpochs <value>NETHERMIND_HISTORYCONFIG_BALRETENTIONEPOCHS=<value>{"History": {"BalRetentionEpochs": <value>}}The number of epochs to retain block access lists (BALs). Must be at least the chain's minBalRetentionEpochs chainspec parameter. Defaults to that minimum, including on archive nodes. Set to 4294967295 to keep all BALs when history pruning is disabled. Defaults to
null. -
History.CompactBlocksOnPrune- CLI
- Environment variable
- Configuration file
--history-compactblocksonprune [true|false]--History.CompactBlocksOnPrune [true|false]NETHERMIND_HISTORYCONFIG_COMPACTBLOCKSONPRUNE=true|false{"History": {"CompactBlocksOnPrune": true|false}}Whether to run a store-wide compaction of the blocks database after pruning reclaims history up to the ancient bodies barrier, reclaiming stale RocksDB blob files that pruning alone leaves behind. Applies only to 'UseAncientBarriers' pruning and is ignored under 'Rolling', whose advancing cutoff would owe a new compaction on every pass. Expensive: heavy I/O that can take hours on a large database, so it runs once per barrier and again only after a raised barrier reclaims more history. It rewrites every retained body, and RocksDB deletes an old blob file only after all files that reference it are rewritten, so the compaction can temporarily need free disk space close to the size of the retained bodies. Only history reclaimed by this version or later arms it: a database whose pruning finished on an earlier version is not compacted. Most effective when history slices ('HistorySliceAddresses') retain scattered bodies across the pruned range, leaving partially-referenced blob files a plain compaction cannot reclaim; under a plain contiguous prune the reclamation is marginal. Allowed values:
truefalse. Defaults tofalse. -
History.Pruning- CLI
- Environment variable
- Configuration file
--history-pruning <value>--History.Pruning <value>NETHERMIND_HISTORYCONFIG_PRUNING=<value>{"History": {"Pruning": <value>}}Pruning mode.
Allowed values:
Disabled: No history pruning.Rolling: Prune outside of rolling window.UseAncientBarriers: Prune up to ancient barriers.
Defaults to
Disabled. -
History.PruningInterval- CLI
- Environment variable
- Configuration file
--history-pruninginterval <value>--History.PruningInterval <value>NETHERMIND_HISTORYCONFIG_PRUNINGINTERVAL=<value>{"History": {"PruningInterval": <value>}}Number of epochs to wait between each history pruning. Defaults to
8. -
History.PruningTimeoutSeconds- CLI
- Environment variable
- Configuration file
--history-pruningtimeoutseconds <value>--History.PruningTimeoutSeconds <value>NETHERMIND_HISTORYCONFIG_PRUNINGTIMEOUTSECONDS=<value>{"History": {"PruningTimeoutSeconds": <value>}}Maximum time in seconds allowed for a single history pruning pass. Set to 0 to disable the timeout. Defaults to
2. -
History.RetentionEpochs- CLI
- Environment variable
- Configuration file
--history-retentionepochs <value>--History.RetentionEpochs <value>NETHERMIND_HISTORYCONFIG_RETENTIONEPOCHS=<value>{"History": {"RetentionEpochs": <value>}}The number of epochs to retain historical blocks and receipts when using 'Rolling' pruning mode. Must be at least the chain's minHistoryRetentionEpochs chainspec parameter, which is the default: 33024 on Mainnet, 14299 on Sepolia. Defaults to
null.
Hive
-
Hive.BlocksDir- CLI
- Environment variable
- Configuration file
--hive-blocksdir <value>--Hive.BlocksDir <value>NETHERMIND_HIVECONFIG_BLOCKSDIR=<value>{"Hive": {"BlocksDir": <value>}}The path to the directory with additional blocks. Defaults to
/blocks. -
Hive.ChainFile- CLI
- Environment variable
- Configuration file
--hive-chainfile <value>--Hive.ChainFile <value>NETHERMIND_HIVECONFIG_CHAINFILE=<value>{"Hive": {"ChainFile": <value>}}The path to the chain definition should be specified as an RLP-encoded block sequence. Defaults to
/chain.rlp. -
Hive.Enabled- CLI
- Environment variable
- Configuration file
--hive-enabled [true|false]--Hive.Enabled [true|false]NETHERMIND_HIVECONFIG_ENABLED=true|false{"Hive": {"Enabled": true|false}}Whether to enable Hive for debugging. Allowed values:
truefalse. Defaults tofalse. -
Hive.GenesisFilePath- CLI
- Environment variable
- Configuration file
--hive-genesisfilepath <value>--Hive.GenesisFilePath <value>NETHERMIND_HIVECONFIG_GENESISFILEPATH=<value>{"Hive": {"GenesisFilePath": <value>}}The path to the genesis block file. Defaults to
/genesis.json. -
Hive.KeysDir- CLI
- Environment variable
- Configuration file
--hive-keysdir <value>--Hive.KeysDir <value>NETHERMIND_HIVECONFIG_KEYSDIR=<value>{"Hive": {"KeysDir": <value>}}The path to the keystore directory. Defaults to
/keys.
Init
-
Init.AutoDump- CLI
- Environment variable
- Configuration file
--init-autodump <value>--Init.AutoDump <value>NETHERMIND_INITCONFIG_AUTODUMP=<value>{"Init": {"AutoDump": <value>}}Auto-dump on bad blocks for diagnostics.
Allowed values:
None: None.Receipts: Dumps block receipts traces.Parity: Dumps Parity-like traces.Geth: Dumps Geth-like traces.Rlp: Dumps RLP data to a.rlpfile with the block hash in the file name.RlpLog: Dumps RLP data to the log output.Default: Combines theReceiptsRlpoptions.All: Combines theGethParityReceiptsRlpoptions.
Defaults to
Default. -
Init.BadBlocksStored- CLI
- Environment variable
- Configuration file
--init-badblocksstored <value>--Init.BadBlocksStored <value>NETHERMIND_INITCONFIG_BADBLOCKSSTORED=<value>{"Init": {"BadBlocksStored": <value>}}The maximum number of bad blocks observed on the network that will be stored on disk. Defaults to
100. -
Init.BaseDbPath- CLI
- Environment variable
- Configuration file
--init-basedbpath <value>--Init.BaseDbPath <value>NETHERMIND_INITCONFIG_BASEDBPATH=<value>{"Init": {"BaseDbPath": <value>}}The base path for all Nethermind databases. Defaults to
db. -
Init.ChainSpecPath- CLI
- Environment variable
- Configuration file
--init-chainspecpath <value>--Init.ChainSpecPath <value>NETHERMIND_INITCONFIG_CHAINSPECPATH=<value>{"Init": {"ChainSpecPath": <value>}}The path to the chain spec file. Defaults to
chainspec/foundation.json. -
Init.DiagnosticMode- CLI
- Environment variable
- Configuration file
--init-diagnosticmode <value>--Init.DiagnosticMode <value>NETHERMIND_INITCONFIG_DIAGNOSTICMODE=<value>{"Init": {"DiagnosticMode": <value>}}The diagnostic mode.
Allowed values:
None: None.MemDb: Uses an in-memory DB.RpcDb: Uses a remote DB.ReadOnlyDb: Uses a read-only DB.VerifyRewards: Scans rewards for blocks and genesis.VerifySupply: Scans and sums supply on all accounts.VerifyTrie: Verifies if full state trie is stored, then exits. Equivalent to theverify-triecommand.
Defaults to
None. -
Init.DiscoveryEnabled- CLI
- Environment variable
- Configuration file
--init-discoveryenabled [true|false]--Init.DiscoveryEnabled [true|false]NETHERMIND_INITCONFIG_DISCOVERYENABLED=true|false{"Init": {"DiscoveryEnabled": true|false}}Whether to enable the node discovery. If disabled, Nethermind doesn't look for other nodes beyond the bootnodes specified. Allowed values:
truefalse. Defaults totrue. -
Init.EnableUnsecuredDevWallet- CLI
- Environment variable
- Configuration file
--init-enableunsecureddevwallet [true|false]--Init.EnableUnsecuredDevWallet [true|false]NETHERMIND_INITCONFIG_ENABLEUNSECUREDDEVWALLET=true|false{"Init": {"EnableUnsecuredDevWallet": true|false}}Whether to enable the in-app wallet/keystore. Allowed values:
truefalse. Defaults tofalse. -
Init.GenesisHash- CLI
- Environment variable
- Configuration file
--init-genesishash <value>--Init.GenesisHash <value>NETHERMIND_INITCONFIG_GENESISHASH=<value>{"Init": {"GenesisHash": <value>}}The hash of the genesis block. If not specified, the genesis block validity is not checked which is useful in the case of ad hoc test/private networks. Defaults to
null. -
Init.KeepDevWalletInMemory- CLI
- Environment variable
- Configuration file
--init-keepdevwalletinmemory [true|false]--Init.KeepDevWalletInMemory [true|false]NETHERMIND_INITCONFIG_KEEPDEVWALLETINMEMORY=true|false{"Init": {"KeepDevWalletInMemory": true|false}}Whether to create session-only accounts and delete them on shutdown. Allowed values:
truefalse. Defaults tofalse. -
Init.KzgSetupPath- CLI
- Environment variable
- Configuration file
--init-kzgsetuppath <value>--Init.KzgSetupPath <value>NETHERMIND_INITCONFIG_KZGSETUPPATH=<value>{"Init": {"KzgSetupPath": <value>}}The path to KZG trusted setup file. Defaults to
null. -
Init.LogDirectory- CLI
- Environment variable
- Configuration file
--init-logdirectory <value>--Init.LogDirectory <value>NETHERMIND_INITCONFIG_LOGDIRECTORY=<value>{"Init": {"LogDirectory": <value>}}The path to the Nethermind logs directory. Defaults to
logs. -
Init.LogFileName- CLI
- Environment variable
- Configuration file
--init-logfilename <value>--Init.LogFileName <value>NETHERMIND_INITCONFIG_LOGFILENAME=<value>{"Init": {"LogFileName": <value>}}The name of the log file. Defaults to
log.txt. -
Init.LogRules- CLI
- Environment variable
- Configuration file
--init-logrules <value>--Init.LogRules <value>NETHERMIND_INITCONFIG_LOGRULES=<value>{"Init": {"LogRules": <value>}}The logs format as
LogPath:LogLevel;*Defaults tonull. -
Init.MaskIpsInLogs- CLI
- Environment variable
- Configuration file
--init-maskipsinlogs [true|false]--Init.MaskIpsInLogs [true|false]NETHERMIND_INITCONFIG_MASKIPSINLOGS=true|false{"Init": {"MaskIpsInLogs": true|false}}Whether to mask IP addresses, enode URLs and ENR records in logs. Loopback and unspecified addresses are not masked. Allowed values:
truefalse. Defaults tofalse. -
Init.MaskSensitiveData- CLI
- Environment variable
- Configuration file
--init-masksensitivedata [true|false]--Init.MaskSensitiveData [true|false]NETHERMIND_INITCONFIG_MASKSENSITIVEDATA=true|false{"Init": {"MaskSensitiveData": true|false}}Whether to mask :hide fields in interpolated logs and marked configuration values in startup diagnostics. Allowed values:
truefalse. Defaults tofalse. -
Init.PeerManagerEnabled- CLI
- Environment variable
- Configuration file
--init-peermanagerenabled [true|false]--Init.PeerManagerEnabled [true|false]NETHERMIND_INITCONFIG_PEERMANAGERENABLED=true|false{"Init": {"PeerManagerEnabled": true|false}}Whether to start the peer manager. If disabled, Nethermind doesn't initiate connections to any peers, including static and trusted nodes,
Network.StaticPeers, and peers added viaadmin_addPeer, and doesn't persist peers to the peer database. Allowed values:truefalse. Defaults totrue. -
Init.PipelineWarmupEnabled- CLI
- Environment variable
- Configuration file
--init-pipelinewarmupenabled [true|false]--Init.PipelineWarmupEnabled [true|false]NETHERMIND_INITCONFIG_PIPELINEWARMUPENABLED=true|false{"Init": {"PipelineWarmupEnabled": true|false}}Whether to warm the block processing pipeline before RPC and Engine API startup. Cancellation is requested after 30 seconds, then startup waits for cleanup. Skipped when JSON-RPC is disabled, without the standard Merge plugin, or with custom spec providers, custom processing pipelines, or database diagnostic modes. Allowed values:
truefalse. Defaults totrue. -
Init.ProcessingEnabled- CLI
- Environment variable
- Configuration file
--init-processingenabled [true|false]--Init.ProcessingEnabled [true|false]NETHERMIND_INITCONFIG_PROCESSINGENABLED=true|false{"Init": {"ProcessingEnabled": true|false}}Whether to download/process new blocks. Allowed values:
truefalse. Defaults totrue. -
Init.RpcDbUrl- CLI
- Environment variable
- Configuration file
--init-rpcdburl <value>--Init.RpcDbUrl <value>NETHERMIND_INITCONFIG_RPCDBURL=<value>{"Init": {"RpcDbUrl": <value>}}The URL of the remote node used as a database source when
DiagnosticModeis set toRpcDb. -
Init.StaticNodesPath- CLI
- Environment variable
- Configuration file
--init-staticnodespath <value>--Init.StaticNodesPath <value>NETHERMIND_INITCONFIG_STATICNODESPATH=<value>{"Init": {"StaticNodesPath": <value>}}The path to the static nodes file. Defaults to
static-nodes.json. -
Init.TrustedNodesPath- CLI
- Environment variable
- Configuration file
--init-trustednodespath <value>--Init.TrustedNodesPath <value>NETHERMIND_INITCONFIG_TRUSTEDNODESPATH=<value>{"Init": {"TrustedNodesPath": <value>}}The path to the trusted nodes file. Defaults to
trusted-nodes.json. -
Init.WebSocketsEnabled- CLI
- Environment variable
- Configuration file
--init-websocketsenabled [true|false]--Init.WebSocketsEnabled [true|false]NETHERMIND_INITCONFIG_WEBSOCKETSENABLED=true|false{"Init": {"WebSocketsEnabled": true|false}}Whether to enable WebSocket service for the default JSON-RPC port on startup. Allowed values:
truefalse. Defaults totrue.
JsonRpc
-
JsonRpc.AdditionalRpcUrls- CLI
- Environment variable
- Configuration file
--jsonrpc-additionalrpcurls <value>--JsonRpc.AdditionalRpcUrls <value>NETHERMIND_JSONRPCCONFIG_ADDITIONALRPCURLS=<value>{"JsonRpc": {"AdditionalRpcUrls": <value>}}An array of additional JSON-RPC URLs to listen at with protocol and JSON-RPC namespace list. For instance,
[http://localhost:8546|http;ws|eth;web3]. Defaults to[]. -
JsonRpc.AdditionalTrustedNetworks- CLI
- Environment variable
- Configuration file
--jsonrpc-additionaltrustednetworks <value>--JsonRpc.AdditionalTrustedNetworks <value>NETHERMIND_JSONRPCCONFIG_ADDITIONALTRUSTEDNETWORKS=<value>{"JsonRpc": {"AdditionalTrustedNetworks": <value>}}Additional CIDR networks treated as trusted local sources for the JSON-RPC fast lane. Loopback and RFC1918 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) are always trusted. Invalid entries are logged and ignored. Defaults to
[]. -
JsonRpc.AllowedHosts- CLI
- Environment variable
- Configuration file
--jsonrpc-allowedhosts <value>--JsonRpc.AllowedHosts <value>NETHERMIND_JSONRPCCONFIG_ALLOWEDHOSTS=<value>{"JsonRpc": {"AllowedHosts": <value>}}The
Hostheader values the JSON-RPC server accepts on URLs without authentication, as host names without a port, for examplelocalhostor*.example.com. Matching ignores the port and case. Requests with other host names get HTTP 403. Requests with an IP address or without aHostheader are always accepted.*accepts all hosts. To stop web pages from calling the server, also limitCorsOrigins. Defaults to*. -
JsonRpc.BatchProcessingConcurrency- CLI
- Environment variable
- Configuration file
--jsonrpc-batchprocessingconcurrency <value>--JsonRpc.BatchProcessingConcurrency <value>NETHERMIND_JSONRPCCONFIG_BATCHPROCESSINGCONCURRENCY=<value>{"JsonRpc": {"BatchProcessingConcurrency": <value>}}The number of consecutive
eth_call,eth_estimateGasandeth_createAccessListrequests of one batch that execute at a time, capped atJsonRpc.EthModuleConcurrentInstances.debug_traceCallanddebug_traceTransactionwith a native tracer join them while the batch window (this number, capped atJsonRpc.EthModuleConcurrentInstancesand the batch length) is at mostJsonRpc.DebugModuleConcurrentInstances, andtrace_transactionjoins them while the window is at mostJsonRpc.TraceModuleConcurrentInstancesandJsonRpc.EnableTracingStreamModeis off. Responses keep the request order, and any other request in the batch waits for the ones before it and executes alone. Set to 1 to execute batch requests one by one. Defaults to4. -
JsonRpc.BufferResponses- CLI
- Environment variable
- Configuration file
--jsonrpc-bufferresponses [true|false]--JsonRpc.BufferResponses [true|false]NETHERMIND_JSONRPCCONFIG_BUFFERRESPONSES=true|false{"JsonRpc": {"BufferResponses": true|false}}Whether to buffer responses before sending them. This allows using of
Content-Lengthinstead ofTransfer-Encoding: chunked. Note that it may degrade performance on large responses. The max buffered response length is 2GB. Chunked responses can be larger. Allowed values:truefalse. Defaults tofalse. -
JsonRpc.CallsFilterFilePath- CLI
- Environment variable
- Configuration file
--jsonrpc-callsfilterfilepath <value>--JsonRpc.CallsFilterFilePath <value>NETHERMIND_JSONRPCCONFIG_CALLSFILTERFILEPATH=<value>{"JsonRpc": {"CallsFilterFilePath": <value>}}The path to a file with the list of new-line-separated JSON-RPC calls. If specified, only the calls from that file are allowed. Defaults to
Data/jsonrpc.filter. -
JsonRpc.CorsOrigins- CLI
- Environment variable
- Configuration file
--jsonrpc-corsorigins <value>--JsonRpc.CorsOrigins <value>NETHERMIND_JSONRPCCONFIG_CORSORIGINS=<value>{"JsonRpc": {"CorsOrigins": <value>}}The JSON-RPC server CORS origins. Also limits WebSocket connections: a handshake with an
Originheader not in this list is refused with HTTP 403; handshakes without anOriginheader are accepted. Defaults to*. -
JsonRpc.DebugModuleConcurrentInstances- CLI
- Environment variable
- Configuration file
--jsonrpc-debugmoduleconcurrentinstances <value>--JsonRpc.DebugModuleConcurrentInstances <value>NETHERMIND_JSONRPCCONFIG_DEBUGMODULECONCURRENTINSTANCES=<value>{"JsonRpc": {"DebugModuleConcurrentInstances": <value>}}The number of concurrent instances of the Debug RPC module (
debug_trace*,debug_getRawBlock, etc.). Calls beyond this cap returnLimitExceeded. Defaults to the number of logical processors capped at 16. -
JsonRpc.EnableEthSignTransaction- CLI
- Environment variable
- Configuration file
--jsonrpc-enableethsigntransaction [true|false]--JsonRpc.EnableEthSignTransaction [true|false]NETHERMIND_JSONRPCCONFIG_ENABLEETHSIGNTRANSACTION=true|false{"JsonRpc": {"EnableEthSignTransaction": true|false}}Whether to enable eth_signTransaction. Disabled by default; enable only on nodes that explicitly manage unlocked accounts. Allowed values:
truefalse. Defaults tofalse. -
JsonRpc.EnableLogsStreamMode- CLI
- Environment variable
- Configuration file
--jsonrpc-enablelogsstreammode [true|false]--JsonRpc.EnableLogsStreamMode [true|false]NETHERMIND_JSONRPCCONFIG_ENABLELOGSSTREAMMODE=true|false{"JsonRpc": {"EnableLogsStreamMode": true|false}}Whether to stream
eth_getLogsandeth_getFilterLogsresponses as logs are found. When enabled, unauthenticated responses stop atMaxLogsPerResponseorMaxLogsResponseBodySizeinstead of buffering the full result and returning a limit error. Allowed values:truefalse. Defaults tofalse. -
JsonRpc.EnablePerMethodMetrics- CLI
- Environment variable
- Configuration file
--jsonrpc-enablepermethodmetrics [true|false]--JsonRpc.EnablePerMethodMetrics [true|false]NETHERMIND_JSONRPCCONFIG_ENABLEPERMETHODMETRICS=true|false{"JsonRpc": {"EnablePerMethodMetrics": true|false}}Enable per-method call metric Allowed values:
truefalse. Defaults totrue. -
JsonRpc.EnableTracingStreamMode- CLI
- Environment variable
- Configuration file
--jsonrpc-enabletracingstreammode [true|false]--JsonRpc.EnableTracingStreamMode [true|false]NETHERMIND_JSONRPCCONFIG_ENABLETRACINGSTREAMMODE=true|false{"JsonRpc": {"EnableTracingStreamMode": true|false}}Whether to stream
debug_trace*andtrace_*responses as the EVM executes (lower TTFB and bounded memory). Fordebug_trace*can be overridden per-call viaGethTraceOptions.StreamMode. Allowed values:truefalse. Defaults totrue. -
JsonRpc.Enabled- CLI
- Environment variable
- Configuration file
--jsonrpc-enabled [true|false]--JsonRpc.Enabled [true|false]NETHERMIND_JSONRPCCONFIG_ENABLED=true|false{"JsonRpc": {"Enabled": true|false}}Whether to enable the JSON-RPC service. Allowed values:
truefalse. Defaults tofalse. -
JsonRpc.EnabledModules- CLI
- Environment variable
- Configuration file
--jsonrpc-enabledmodules <value>--JsonRpc.EnabledModules <value>NETHERMIND_JSONRPCCONFIG_ENABLEDMODULES=<value>{"JsonRpc": {"EnabledModules": <value>}}An array of JSON-RPC namespaces to enable. For instance,
[debug,eth].Built-in namespaces:
adminclientdebugengineethevmhealthnetparitypersonalproofrpcsubscribetracetxpoolweb3
Defaults to
[Eth,Subscribe,Trace,TxPool,Web3,Proof,Net,Parity,Health,Rpc]. -
JsonRpc.EngineAllowedHosts- CLI
- Environment variable
- Configuration file
--jsonrpc-engineallowedhosts <value>--JsonRpc.EngineAllowedHosts <value>NETHERMIND_JSONRPCCONFIG_ENGINEALLOWEDHOSTS=<value>{"JsonRpc": {"EngineAllowedHosts": <value>}}The
Hostheader values the JSON-RPC server accepts on authenticated (Engine API) URLs. The rules are the same as forAllowedHosts. Defaults to*. -
JsonRpc.EngineEnabledModules- CLI
- Environment variable
- Configuration file
--jsonrpc-engineenabledmodules <value>--JsonRpc.EngineEnabledModules <value>NETHERMIND_JSONRPCCONFIG_ENGINEENABLEDMODULES=<value>{"JsonRpc": {"EngineEnabledModules": <value>}}An array of additional JSON-RPC URLs to listen at with protocol and JSON-RPC namespace list for Engine API. Defaults to
[Net,Eth,Subscribe,Web3]. -
JsonRpc.EngineHost- CLI
- Environment variable
- Configuration file
--jsonrpc-enginehost <value>--JsonRpc.EngineHost <value>NETHERMIND_JSONRPCCONFIG_ENGINEHOST=<value>{"JsonRpc": {"EngineHost": <value>}}The Engine API host. Defaults to
127.0.0.1. -
JsonRpc.EnginePort- CLI
- Environment variable
- Configuration file
--jsonrpc-engineport <value>--JsonRpc.EnginePort <value>NETHERMIND_JSONRPCCONFIG_ENGINEPORT=<value>{"JsonRpc": {"EnginePort": <value>}}The Engine API port. Defaults to
null. -
JsonRpc.EstimateErrorMargin- CLI
- Environment variable
- Configuration file
--jsonrpc-estimateerrormargin <value>--JsonRpc.EstimateErrorMargin <value>NETHERMIND_JSONRPCCONFIG_ESTIMATEERRORMARGIN=<value>{"JsonRpc": {"EstimateErrorMargin": <value>}}The error margin used in the
eth_estimateGasJSON-RPC method, in basis points. Defaults to150. -
JsonRpc.EthCallMaxConcurrentRequests- CLI
- Environment variable
- Configuration file
--jsonrpc-ethcallmaxconcurrentrequests <value>--JsonRpc.EthCallMaxConcurrentRequests <value>NETHERMIND_JSONRPCCONFIG_ETHCALLMAXCONCURRENTREQUESTS=<value>{"JsonRpc": {"EthCallMaxConcurrentRequests": <value>}}The maximum number of
eth_call,eth_estimateGasandeth_createAccessListrequests that execute at a time, with or without overrides. A request above this number waits for a free slot for up toJsonRpc.Timeoutand then fails with aModuleTimeoutJSON-RPC error. Waiting requests do not hold a thread and count towardJsonRpc.RequestQueueLimit; a request that would exceed it fails at once with aLimitExceededJSON-RPC error.0or negative disables the limit. Defaults to four times the number of logical processors. -
JsonRpc.EthModuleConcurrentInstances- CLI
- Environment variable
- Configuration file
--jsonrpc-ethmoduleconcurrentinstances <value>--JsonRpc.EthModuleConcurrentInstances <value>NETHERMIND_JSONRPCCONFIG_ETHMODULECONCURRENTINSTANCES=<value>{"JsonRpc": {"EthModuleConcurrentInstances": <value>}}The number of concurrent instances for non-sharable calls:
eth_getLogseth_newBlockFiltereth_newFiltereth_newPendingTransactionFiltereth_uninstallFilter
This limits the load on the CPU and I/O to reasonable levels. If the limit is exceeded, HTTP 503 is returned along with the JSON-RPC error. Also acts as the hard active concurrency cap on the override-path env pool used by sharable
eth_call/eth_estimateGas/eth_createAccessListwhen called with state or blob-base-fee overrides: calls beyond this cap fail with aLimitExceededJSON-RPC error. Defaults to the number of logical processors. -
JsonRpc.FeeHistoryMaxBlockCount- CLI
- Environment variable
- Configuration file
--jsonrpc-feehistorymaxblockcount <value>--JsonRpc.FeeHistoryMaxBlockCount <value>NETHERMIND_JSONRPCCONFIG_FEEHISTORYMAXBLOCKCOUNT=<value>{"JsonRpc": {"FeeHistoryMaxBlockCount": <value>}}The maximum number of blocks one
eth_feeHistorycall returns, from 1 to 1024;0, negative values and values above 1024 mean 1024. A largerblockCountis lowered to it, so the response then covers fewer blocks than requested. Defaults to1024. -
JsonRpc.FeeHistoryMaxConcurrentRequests- CLI
- Environment variable
- Configuration file
--jsonrpc-feehistorymaxconcurrentrequests <value>--JsonRpc.FeeHistoryMaxConcurrentRequests <value>NETHERMIND_JSONRPCCONFIG_FEEHISTORYMAXCONCURRENTREQUESTS=<value>{"JsonRpc": {"FeeHistoryMaxConcurrentRequests": <value>}}The maximum number of
eth_feeHistorycalls at once that need blocks missing from the fee cache of recent blocks. Calls served from that cache take no slot; one successful read of a cached block's reward data is shared by the calls that ask for it. Calls beyond the cap returnLimitExceededat once instead of waiting; a newest block whose header is not found gets the usual not-found error instead. Right after a restart, recent blocks count until each has been read once.0or negative to lift the limit. Defaults to a quarter of the number of logical processors, at least 1. -
JsonRpc.FiltersTimeout- CLI
- Environment variable
- Configuration file
--jsonrpc-filterstimeout <value>--JsonRpc.FiltersTimeout <value>NETHERMIND_JSONRPCCONFIG_FILTERSTIMEOUT=<value>{"JsonRpc": {"FiltersTimeout": <value>}}The eth_filters timeout, in milliseconds. Defaults to
900000. -
JsonRpc.GasCap- CLI
- Environment variable
- Configuration file
--jsonrpc-gascap <value>--JsonRpc.GasCap <value>NETHERMIND_JSONRPCCONFIG_GASCAP=<value>{"JsonRpc": {"GasCap": <value>}}The maximum gas limit for
eth_callandeth_estimateGas. Defaults to100000000. -
JsonRpc.Host- CLI
- Environment variable
- Configuration file
--jsonrpc-host <value>--JsonRpc.Host <value>NETHERMIND_JSONRPCCONFIG_HOST=<value>{"JsonRpc": {"Host": <value>}}The JSON-RPC service host. Defaults to
127.0.0.1. -
JsonRpc.IpcEnabledModules- CLI
- Environment variable
- Configuration file
--jsonrpc-ipcenabledmodules <value>--JsonRpc.IpcEnabledModules <value>NETHERMIND_JSONRPCCONFIG_IPCENABLEDMODULES=<value>{"JsonRpc": {"IpcEnabledModules": <value>}}An array of JSON-RPC namespaces to enable over the IPC socket, for instance
[engine,eth]. If not set or empty, the IPC socket usesJsonRpc.EnabledModules. -
JsonRpc.IpcProcessingConcurrency- CLI
- Environment variable
- Configuration file
--jsonrpc-ipcprocessingconcurrency <value>--JsonRpc.IpcProcessingConcurrency <value>NETHERMIND_JSONRPCCONFIG_IPCPROCESSINGCONCURRENCY=<value>{"JsonRpc": {"IpcProcessingConcurrency": <value>}}The number of requests one IPC connection processes at a time. Requests pipelined on one connection are processed and answered in any order; each response carries its request id, and a batch is still processed and answered in order as one message. When
JsonRpc.EnabledModulesincludes the Engine module, IPC always processes its requests one by one. Set to 1 if a client relies on the order, for example when it pipelines dependent transactions such as blob transactions with consecutive nonces. Defaults to16. -
JsonRpc.IpcUnixDomainSocketPath- CLI
- Environment variable
- Configuration file
--jsonrpc-ipcunixdomainsocketpath <value>--JsonRpc.IpcUnixDomainSocketPath <value>NETHERMIND_JSONRPCCONFIG_IPCUNIXDOMAINSOCKETPATH=<value>{"JsonRpc": {"IpcUnixDomainSocketPath": <value>}}The path to connect a UNIX domain socket over.
-
JsonRpc.JsonSerializationMaxDepth- CLI
- Environment variable
- Configuration file
--jsonrpc-jsonserializationmaxdepth <value>--JsonRpc.JsonSerializationMaxDepth <value>NETHERMIND_JSONRPCCONFIG_JSONSERIALIZATIONMAXDEPTH=<value>{"JsonRpc": {"JsonSerializationMaxDepth": <value>}}The maximum depth of JSON response object tree. Defaults to
4096. -
JsonRpc.JwtSecretFile- CLI
- Environment variable
- Configuration file
--jsonrpc-jwtsecretfile <value>--JsonRpc.JwtSecretFile <value>NETHERMIND_JSONRPCCONFIG_JWTSECRETFILE=<value>{"JsonRpc": {"JwtSecretFile": <value>}}The path to the JWT secret file required for the Engine API authentication. Defaults to
null. -
JsonRpc.MaxBatchResponseBodySize- CLI
- Environment variable
- Configuration file
--jsonrpc-maxbatchresponsebodysize <value>--JsonRpc.MaxBatchResponseBodySize <value>NETHERMIND_JSONRPCCONFIG_MAXBATCHRESPONSEBODYSIZE=<value>{"JsonRpc": {"MaxBatchResponseBodySize": <value>}}The max batch size limit for batched JSON-RPC calls. Defaults to
33554432. -
JsonRpc.MaxBatchSize- CLI
- Environment variable
- Configuration file
--jsonrpc-maxbatchsize <value>--JsonRpc.MaxBatchSize <value>NETHERMIND_JSONRPCCONFIG_MAXBATCHSIZE=<value>{"JsonRpc": {"MaxBatchSize": <value>}}The max number of JSON-RPC requests in a batch. Defaults to
1024. -
JsonRpc.MaxBufferedTraceLogSize- CLI
- Environment variable
- Configuration file
--jsonrpc-maxbufferedtracelogsize <value>--JsonRpc.MaxBufferedTraceLogSize <value>NETHERMIND_JSONRPCCONFIG_MAXBUFFEREDTRACELOGSIZE=<value>{"JsonRpc": {"MaxBufferedTraceLogSize": <value>}}The max opcode log size, in bytes, per transaction of a
debug_trace*ordebug_simulateV1trace held in memory rather than streamed. Larger or unlimitedlimittrace options are lowered to it. It is also the max size, in bytes, of the trace data (call inputs, return data, code, memory, stack and storage changes) that a bufferedtrace_*request keeps over all the blocks it traces, and that a streamedtrace_*request keeps per transaction; a larger trace fails. The transactions of a block streamed in parallel bytrace_blockortrace_replayBlockTransactionswait for room within it rather than fail, but for the earliest one not released yet, so together they keep at most twice as much; those oftrace_filterfail when they do not fit together.trace_simulateV1keeps at most a third of it, as its response is serialized whole after the traces.0or negative to lift the limit. Defaults to268435456. -
JsonRpc.MaxConcurrentSharedRequests- CLI
- Environment variable
- Configuration file
--jsonrpc-maxconcurrentsharedrequests <value>--JsonRpc.MaxConcurrentSharedRequests <value>NETHERMIND_JSONRPCCONFIG_MAXCONCURRENTSHAREDREQUESTS=<value>{"JsonRpc": {"MaxConcurrentSharedRequests": <value>}}The max number of concurrent in-flight requests on the shared (sharable) singleton handler. Caps heavy methods promoted to sharable —
eth_call,eth_estimateGas,eth_createAccessList— preventing unbounded concurrency from exhausting memory. Light sharable methods (e.g.eth_blockNumber,eth_getBalance) complete in <1 ms and effectively never approach this limit.eth_sendRawTransactionSyncholds a slot for as long as it waits for inclusion; seeRpcTxSyncMaxConcurrentRequests.0to lift the limit. Defaults to10000. -
JsonRpc.MaxFilters- CLI
- Environment variable
- Configuration file
--jsonrpc-maxfilters <value>--JsonRpc.MaxFilters <value>NETHERMIND_JSONRPCCONFIG_MAXFILTERS=<value>{"JsonRpc": {"MaxFilters": <value>}}The max number of filters installed at a time with the
eth_newFilter,eth_newBlockFilter, andeth_newPendingTransactionFilterJSON-RPC methods.0to lift the limit. Defaults to10000. -
JsonRpc.MaxLoggedRequestParametersCharacters- CLI
- Environment variable
- Configuration file
--jsonrpc-maxloggedrequestparameterscharacters <value>--JsonRpc.MaxLoggedRequestParametersCharacters <value>NETHERMIND_JSONRPCCONFIG_MAXLOGGEDREQUESTPARAMETERSCHARACTERS=<value>{"JsonRpc": {"MaxLoggedRequestParametersCharacters": <value>}}Deprecated. JSON-RPC request parameters are omitted from logs. Defaults to
null. -
JsonRpc.MaxLogsPerResponse- CLI
- Environment variable
- Configuration file
--jsonrpc-maxlogsperresponse <value>--JsonRpc.MaxLogsPerResponse <value>NETHERMIND_JSONRPCCONFIG_MAXLOGSPERRESPONSE=<value>{"JsonRpc": {"MaxLogsPerResponse": <value>}}The max number of logs per response for the
eth_getLogsJSON-RPC method, and of block numbers per response forlogIndex_blockNumbers.0to lift the limit. Defaults to20000. -
JsonRpc.MaxLogsResponseBodySize- CLI
- Environment variable
- Configuration file
--jsonrpc-maxlogsresponsebodysize <value>--JsonRpc.MaxLogsResponseBodySize <value>NETHERMIND_JSONRPCCONFIG_MAXLOGSRESPONSEBODYSIZE=<value>{"JsonRpc": {"MaxLogsResponseBodySize": <value>}}The max response body size, in bytes, for streamed
eth_getLogsandeth_getFilterLogsJSON-RPC responses. Ignored unlessEnableLogsStreamModeis enabled.nullto useMaxBatchResponseBodySize. Defaults tonull. -
JsonRpc.MaxRequestBodySize- CLI
- Environment variable
- Configuration file
--jsonrpc-maxrequestbodysize <value>--JsonRpc.MaxRequestBodySize <value>NETHERMIND_JSONRPCCONFIG_MAXREQUESTBODYSIZE=<value>{"JsonRpc": {"MaxRequestBodySize": <value>}}The max length of an HTTP request body or a WebSocket message, in bytes. Defaults to
30000000. -
JsonRpc.MaxSimulateBlocksCap- CLI
- Environment variable
- Configuration file
--jsonrpc-maxsimulateblockscap <value>--JsonRpc.MaxSimulateBlocksCap <value>NETHERMIND_JSONRPCCONFIG_MAXSIMULATEBLOCKSCAP=<value>{"JsonRpc": {"MaxSimulateBlocksCap": <value>}}The max block count limit for the
eth_simulateJSON-RPC method. Defaults to256. -
JsonRpc.MaxSimulateCallsCap- CLI
- Environment variable
- Configuration file
--jsonrpc-maxsimulatecallscap <value>--JsonRpc.MaxSimulateCallsCap <value>NETHERMIND_JSONRPCCONFIG_MAXSIMULATECALLSCAP=<value>{"JsonRpc": {"MaxSimulateCallsCap": <value>}}The max total call count, across all blocks, for
eth_simulateV1,debug_simulateV1,trace_simulateV1and, with bundle overrides,debug_traceCallMany. Defaults to10000. -
JsonRpc.MaxSimulateCallsPerBlockCap- CLI
- Environment variable
- Configuration file
--jsonrpc-maxsimulatecallsperblockcap <value>--JsonRpc.MaxSimulateCallsPerBlockCap <value>NETHERMIND_JSONRPCCONFIG_MAXSIMULATECALLSPERBLOCKCAP=<value>{"JsonRpc": {"MaxSimulateCallsPerBlockCap": <value>}}The max call count per block (per bundle for
debug_traceCallMany) for the methods thatMaxSimulateCallsCapcovers. Defaults to5000. -
JsonRpc.MaxSubscriptions- CLI
- Environment variable
- Configuration file
--jsonrpc-maxsubscriptions <value>--JsonRpc.MaxSubscriptions <value>NETHERMIND_JSONRPCCONFIG_MAXSUBSCRIPTIONS=<value>{"JsonRpc": {"MaxSubscriptions": <value>}}The max number of
eth_subscribeandadmin_subscribesubscriptions of all connections together. A call above this limit returns aLimitExceedederror. IPC and authenticated connections are not refused by this limit.0to lift the limit. Defaults to10000. -
JsonRpc.MaxSubscriptionsPerConnection- CLI
- Environment variable
- Configuration file
--jsonrpc-maxsubscriptionsperconnection <value>--JsonRpc.MaxSubscriptionsPerConnection <value>NETHERMIND_JSONRPCCONFIG_MAXSUBSCRIPTIONSPERCONNECTION=<value>{"JsonRpc": {"MaxSubscriptionsPerConnection": <value>}}The max number of
eth_subscribeandadmin_subscribesubscriptions of one WebSocket or IPC connection. A call above this limit returns aLimitExceedederror.0to lift the limit. Defaults to1000. -
JsonRpc.MaxUnsentResponsesPerAddress- CLI
- Environment variable
- Configuration file
--jsonrpc-maxunsentresponsesperaddress <value>--JsonRpc.MaxUnsentResponsesPerAddress <value>NETHERMIND_JSONRPCCONFIG_MAXUNSENTRESPONSESPERADDRESS=<value>{"JsonRpc": {"MaxUnsentResponsesPerAddress": <value>}}The max number of HTTP JSON-RPC responses to unauthenticated URLs that one remote address, or one IPv6 /64 prefix, can have with more than 1 MiB written but not yet sent. Smaller responses, and responses still being written below that size, are not counted. A further response above 1 MiB is not sent and its connection is closed. For a connection from a loopback address or from
TrustedProxyNetworks, the address is taken from theX-Forwarded-Forheader when it has one.0or negative to disable. Ignored whenMaxUnsentResponsesSizeis disabled. Defaults to8. -
JsonRpc.MaxUnsentResponsesSize- CLI
- Environment variable
- Configuration file
--jsonrpc-maxunsentresponsessize <value>--JsonRpc.MaxUnsentResponsesSize <value>NETHERMIND_JSONRPCCONFIG_MAXUNSENTRESPONSESSIZE=<value>{"JsonRpc": {"MaxUnsentResponsesSize": <value>}}The max total size, in bytes, of HTTP JSON-RPC responses to unauthenticated URLs that are written but not yet sent. One response alone can use all of it. While a remote address has other unsent responses, it can hold at most 1/16 of it. IPv6 addresses are grouped by their /64 prefix, and a connection without a known address counts alone. A response that would go above either limit is not sent and its connection is closed; responses already in progress are not affected. Streamed results are not counted when
BufferResponsesis off, and bytes that a streamed result flushes are released when the streamed result ends. A batch that reachesMaxBatchResponseBodySizefirst, when that value is not above the share of one address, ends with the batch limit errors instead. For a connection from a loopback address or fromTrustedProxyNetworks, the address is taken from theX-Forwarded-Forheader when it has one.0or negative to disable this limit. Defaults to536870912. -
JsonRpc.MaxUnsentWebSocketResponseSize- CLI
- Environment variable
- Configuration file
--jsonrpc-maxunsentwebsocketresponsesize <value>--JsonRpc.MaxUnsentWebSocketResponseSize <value>NETHERMIND_JSONRPCCONFIG_MAXUNSENTWEBSOCKETRESPONSESIZE=<value>{"JsonRpc": {"MaxUnsentWebSocketResponseSize": <value>}}The max size, in bytes, of a written but not yet sent response on one WebSocket connection to an unauthenticated URL. A connection is closed when its response is larger, or when the send does not complete within
JsonRpc.Timeoutplus one second for each 64 KiB of the response, at most five minutes more.0or negative to disable both. Defaults to67108864. -
JsonRpc.MethodsLoggingFiltering- CLI
- Environment variable
- Configuration file
--jsonrpc-methodsloggingfiltering <value>--JsonRpc.MethodsLoggingFiltering <value>NETHERMIND_JSONRPCCONFIG_METHODSLOGGINGFILTERING=<value>{"JsonRpc": {"MethodsLoggingFiltering": <value>}}An array of the method names not to log. Defaults to
[engine_newPayloadV1,engine_newPayloadV2,engine_newPayloadV3,engine_forkchoiceUpdatedV1,engine_forkchoiceUpdatedV2,flashbots_validateBuilderSubmissionV3,eth_signTransaction]. -
JsonRpc.MinResponseDataRate- CLI
- Environment variable
- Configuration file
--jsonrpc-minresponsedatarate <value>--JsonRpc.MinResponseDataRate <value>NETHERMIND_JSONRPCCONFIG_MINRESPONSEDATARATE=<value>{"JsonRpc": {"MinResponseDataRate": <value>}}The min rate, in bytes per second, at which a caller of an unauthenticated HTTP JSON-RPC URL must read a response, after a grace period of 10 seconds. The server closes the connection of a caller that reads more slowly.
0disables the rate, also the server default one. Defaults to65536. -
JsonRpc.OverlayMaxBlockRange- CLI
- Environment variable
- Configuration file
--jsonrpc-overlaymaxblockrange <value>--JsonRpc.OverlayMaxBlockRange <value>NETHERMIND_JSONRPCCONFIG_OVERLAYMAXBLOCKRANGE=<value>{"JsonRpc": {"OverlayMaxBlockRange": <value>}}The max number of blocks the
overlay_getLogsJSON-RPC method re-executes in one call.0to lift the limit. Defaults to1000. -
JsonRpc.Port- CLI
- Environment variable
- Configuration file
--jsonrpc-port <value>--JsonRpc.Port <value>NETHERMIND_JSONRPCCONFIG_PORT=<value>{"JsonRpc": {"Port": <value>}}The JSON-RPC service HTTP port. Defaults to
8545. -
JsonRpc.PreloadRpcModules- CLI
- Environment variable
- Configuration file
--jsonrpc-preloadrpcmodules [true|false]--JsonRpc.PreloadRpcModules [true|false]NETHERMIND_JSONRPCCONFIG_PRELOADRPCMODULES=true|false{"JsonRpc": {"PreloadRpcModules": true|false}}Preload rpc modules. Useful in rpc provider to reduce latency on first request. Allowed values:
truefalse. Defaults tofalse. -
JsonRpc.ReportIntervalSeconds- CLI
- Environment variable
- Configuration file
--jsonrpc-reportintervalseconds <value>--JsonRpc.ReportIntervalSeconds <value>NETHERMIND_JSONRPCCONFIG_REPORTINTERVALSECONDS=<value>{"JsonRpc": {"ReportIntervalSeconds": <value>}}The interval, in seconds, between the JSON-RPC stats report log. Defaults to
300. -
JsonRpc.RequestQueueLimit- CLI
- Environment variable
- Configuration file
--jsonrpc-requestqueuelimit <value>--JsonRpc.RequestQueueLimit <value>NETHERMIND_JSONRPCCONFIG_REQUESTQUEUELIMIT=<value>{"JsonRpc": {"RequestQueueLimit": <value>}}The max number of concurrent requests waiting in the exclusive (non-sharable) queue for:
eth_getLogseth_newFiltereth_newBlockFiltereth_newPendingTransactionFiltereth_uninstallFilter
Calls beyond the limit return HTTP 503 immediately.
0to lift the limit. Defaults to500. -
JsonRpc.RestrictIpcSocketPermissions- CLI
- Environment variable
- Configuration file
--jsonrpc-restrictipcsocketpermissions [true|false]--JsonRpc.RestrictIpcSocketPermissions [true|false]NETHERMIND_JSONRPCCONFIG_RESTRICTIPCSOCKETPERMISSIONS=true|false{"JsonRpc": {"RestrictIpcSocketPermissions": true|false}}Whether to set the IPC socket UNIX file permissions to owner-only (600). Allowed values:
truefalse. Defaults totrue. -
JsonRpc.RpcRecorderBaseFilePath- CLI
- Environment variable
- Configuration file
--jsonrpc-rpcrecorderbasefilepath <value>--JsonRpc.RpcRecorderBaseFilePath <value>NETHERMIND_JSONRPCCONFIG_RPCRECORDERBASEFILEPATH=<value>{"JsonRpc": {"RpcRecorderBaseFilePath": <value>}}The path to the base file for diagnostic recording. Defaults to
logs/rpc.{counter}.txt. -
JsonRpc.RpcRecorderState- CLI
- Environment variable
- Configuration file
--jsonrpc-rpcrecorderstate <value>--JsonRpc.RpcRecorderState <value>NETHERMIND_JSONRPCCONFIG_RPCRECORDERSTATE=<value>{"JsonRpc": {"RpcRecorderState": <value>}}The diagnostic recording mode.
Allowed values:
None: None.Request: Records requests.Response: Records responses.All: Records both requests and responses.
Defaults to
None. -
JsonRpc.RpcTxFeeCap- CLI
- Environment variable
- Configuration file
--jsonrpc-rpctxfeecap <value>--JsonRpc.RpcTxFeeCap <value>NETHERMIND_JSONRPCCONFIG_RPCTXFEECAP=<value>{"JsonRpc": {"RpcTxFeeCap": <value>}}Maximum total tx fee (gasPrice * gasLimit, in wei) the node will sign in eth_signTransaction. 0 disables the cap. Default 1 ETH. Defaults to
1000000000000000000. -
JsonRpc.RpcTxSyncDefaultTimeoutMs- CLI
- Environment variable
- Configuration file
--jsonrpc-rpctxsyncdefaulttimeoutms <value>--JsonRpc.RpcTxSyncDefaultTimeoutMs <value>NETHERMIND_JSONRPCCONFIG_RPCTXSYNCDEFAULTTIMEOUTMS=<value>{"JsonRpc": {"RpcTxSyncDefaultTimeoutMs": <value>}}Default server-side wait, in milliseconds, for eth_sendRawTransactionSync when the caller omits the timeout argument. Defaults to
20000. -
JsonRpc.RpcTxSyncMaxConcurrentRequests- CLI
- Environment variable
- Configuration file
--jsonrpc-rpctxsyncmaxconcurrentrequests <value>--JsonRpc.RpcTxSyncMaxConcurrentRequests <value>NETHERMIND_JSONRPCCONFIG_RPCTXSYNCMAXCONCURRENTREQUESTS=<value>{"JsonRpc": {"RpcTxSyncMaxConcurrentRequests": <value>}}Maximum number of concurrent eth_sendRawTransactionSync calls, independent of EthModuleConcurrentInstances. Excess calls are rejected before submitting the transaction. Each pending call also counts against MaxConcurrentSharedRequests for up to RpcTxSyncMaxTimeoutMs, so keep this well below MaxConcurrentSharedRequests. 0 disables this limit; MaxConcurrentSharedRequests then remains the only bound (none if it is 0 too). Defaults to
128. -
JsonRpc.RpcTxSyncMaxTimeoutMs- CLI
- Environment variable
- Configuration file
--jsonrpc-rpctxsyncmaxtimeoutms <value>--JsonRpc.RpcTxSyncMaxTimeoutMs <value>NETHERMIND_JSONRPCCONFIG_RPCTXSYNCMAXTIMEOUTMS=<value>{"JsonRpc": {"RpcTxSyncMaxTimeoutMs": <value>}}Maximum server-side wait, in milliseconds, that eth_sendRawTransactionSync will accept; client-supplied timeouts above this are clamped down. Defaults to
60000. -
JsonRpc.StrictHexFormat- CLI
- Environment variable
- Configuration file
--jsonrpc-stricthexformat [true|false]--JsonRpc.StrictHexFormat [true|false]NETHERMIND_JSONRPCCONFIG_STRICTHEXFORMAT=true|false{"JsonRpc": {"StrictHexFormat": true|false}}Enable strict parsing rules for Block Params and Hashes in RPC requests. this will decrease compatibility but increase compliance with the spec. Allowed values:
truefalse. Defaults totrue. -
JsonRpc.Timeout- CLI
- Environment variable
- Configuration file
--jsonrpc-timeout <value>--JsonRpc.Timeout <value>NETHERMIND_JSONRPCCONFIG_TIMEOUT=<value>{"JsonRpc": {"Timeout": <value>}}The request timeout, in milliseconds. Defaults to
20000. -
JsonRpc.TraceBlockParallelism- CLI
- Environment variable
- Configuration file
--jsonrpc-traceblockparallelism <value>--JsonRpc.TraceBlockParallelism <value>NETHERMIND_JSONRPCCONFIG_TRACEBLOCKPARALLELISM=<value>{"JsonRpc": {"TraceBlockParallelism": <value>}}The maximum number of workers tracing block transactions at once across the whole node in
debug_traceBlock*andtrace_block, for blocks whose transactions can each be traced alone on the state before it: blocks that carry an access list, and, withFlatDb.HistoryTransactionIndexEnabled, blocks covered by the transaction index. Debug and trace, and both kinds of block, share this one budget.0or1traces such blocks sequentially; larger values are capped at the number of logical processors and at 16. Once a block has been traced in parallel, the node keeps up to this many processing environments and twice this many background threads for debug, and as many again for trace. The deprecatedFlatDb.HistoryTransactionIndexTraceParallelism, when set to anything but0, sizes this budget instead. Defaults to4. -
JsonRpc.TraceModuleConcurrentInstances- CLI
- Environment variable
- Configuration file
--jsonrpc-tracemoduleconcurrentinstances <value>--JsonRpc.TraceModuleConcurrentInstances <value>NETHERMIND_JSONRPCCONFIG_TRACEMODULECONCURRENTINSTANCES=<value>{"JsonRpc": {"TraceModuleConcurrentInstances": <value>}}The number of concurrent instances of the Trace RPC module (
trace_block,trace_transaction,trace_replay*, etc.). Calls beyond this cap returnLimitExceeded. Each instance holds block-processing environments for the life of the process, so raise it only where the memory is available. Defaults to 2. -
JsonRpc.TrustedProxyNetworks- CLI
- Environment variable
- Configuration file
--jsonrpc-trustedproxynetworks <value>--JsonRpc.TrustedProxyNetworks <value>NETHERMIND_JSONRPCCONFIG_TRUSTEDPROXYNETWORKS=<value>{"JsonRpc": {"TrustedProxyNetworks": <value>}}IPv4 CIDR networks of reverse proxies whose
X-Forwarded-Forheader the HTTP JSON-RPC unsent response limits per address use. Loopback addresses are always trusted. The header is used only from trusted proxies. The limits per address apply to the right-most address in it that is not itself a trusted proxy, so the proxy must append the address of its caller to the header. This applies to loopback proxies too. A proxy that passes its caller's header through without appending to it, or a TCP tunnel, gives no reliable client address. Without the header, or if it has no such address, the proxy address is used. Invalid entries are logged and ignored. Defaults to[]. -
JsonRpc.WebSocketsPort- CLI
- Environment variable
- Configuration file
--jsonrpc-websocketsport <value>--JsonRpc.WebSocketsPort <value>NETHERMIND_JSONRPCCONFIG_WEBSOCKETSPORT=<value>{"JsonRpc": {"WebSocketsPort": <value>}}The JSON-RPC service WebSockets port. Defaults to
8545. -
JsonRpc.WebSocketsProcessingConcurrency- CLI
- Environment variable
- Configuration file
--jsonrpc-websocketsprocessingconcurrency <value>--JsonRpc.WebSocketsProcessingConcurrency <value>NETHERMIND_JSONRPCCONFIG_WEBSOCKETSPROCESSINGCONCURRENCY=<value>{"JsonRpc": {"WebSocketsProcessingConcurrency": <value>}}The number of requests one public WebSocket connection processes at a time. Requests pipelined on one connection are processed and answered in any order; each response carries its request id, and a batch is still processed and answered in order as one message. Connections that are authenticated or enable the Engine module always process their requests one by one. Set to 1 if a client relies on the order, for example when it pipelines dependent transactions such as blob transactions with consecutive nonces. Defaults to
16.
KeyStore
-
KeyStore.BlockAuthorAccount- CLI
- Environment variable
- Configuration file
--keystore-blockauthoraccount <value>--KeyStore.BlockAuthorAccount <value>NETHERMIND_KEYSTORECONFIG_BLOCKAUTHORACCOUNT=<value>{"KeyStore": {"BlockAuthorAccount": <value>}}An account to use as the block author (coinbase).
-
KeyStore.Cipher- CLI
- Environment variable
- Configuration file
--keystore-cipher <value>--KeyStore.Cipher <value>NETHERMIND_KEYSTORECONFIG_CIPHER=<value>{"KeyStore": {"Cipher": <value>}}See Web3 secret storage definition. Defaults to
aes-128-ctr. -
KeyStore.EnodeAccount- CLI
- Environment variable
- Configuration file
--keystore-enodeaccount <value>--KeyStore.EnodeAccount <value>NETHERMIND_KEYSTORECONFIG_ENODEACCOUNT=<value>{"KeyStore": {"EnodeAccount": <value>}}An account to use for networking (enode). If neither this nor the
EnodeKeyFileoption is specified, the key is autogenerated innode.key.plainfile. -
KeyStore.EnodeKeyFile- CLI
- Environment variable
- Configuration file
--keystore-enodekeyfile <value>--KeyStore.EnodeKeyFile <value>NETHERMIND_KEYSTORECONFIG_ENODEKEYFILE=<value>{"KeyStore": {"EnodeKeyFile": <value>}}The path to the key file to use by for networking (enode). If neither this nor the
EnodeAccountis specified, the key is autogenerated innode.key.plainfile. -
KeyStore.IVSize- CLI
- Environment variable
- Configuration file
--keystore-ivsize <value>--KeyStore.IVSize <value>NETHERMIND_KEYSTORECONFIG_IVSIZE=<value>{"KeyStore": {"IVSize": <value>}}See Web3 secret storage definition. Defaults to
16. -
KeyStore.Kdf- CLI
- Environment variable
- Configuration file
--keystore-kdf <value>--KeyStore.Kdf <value>NETHERMIND_KEYSTORECONFIG_KDF=<value>{"KeyStore": {"Kdf": <value>}}See Web3 secret storage definition. Defaults to
scrypt. -
KeyStore.KdfparamsDklen- CLI
- Environment variable
- Configuration file
--keystore-kdfparamsdklen <value>--KeyStore.KdfparamsDklen <value>NETHERMIND_KEYSTORECONFIG_KDFPARAMSDKLEN=<value>{"KeyStore": {"KdfparamsDklen": <value>}}See Web3 secret storage definition. Defaults to
32. -
KeyStore.KdfparamsN- CLI
- Environment variable
- Configuration file
--keystore-kdfparamsn <value>--KeyStore.KdfparamsN <value>NETHERMIND_KEYSTORECONFIG_KDFPARAMSN=<value>{"KeyStore": {"KdfparamsN": <value>}}See Web3 secret storage definition. Defaults to
262144. -
KeyStore.KdfparamsP- CLI
- Environment variable
- Configuration file
--keystore-kdfparamsp <value>--KeyStore.KdfparamsP <value>NETHERMIND_KEYSTORECONFIG_KDFPARAMSP=<value>{"KeyStore": {"KdfparamsP": <value>}}See Web3 secret storage definition. Defaults to
1. -
KeyStore.KdfparamsR- CLI
- Environment variable
- Configuration file
--keystore-kdfparamsr <value>--KeyStore.KdfparamsR <value>NETHERMIND_KEYSTORECONFIG_KDFPARAMSR=<value>{"KeyStore": {"KdfparamsR": <value>}}See Web3 secret storage definition. Defaults to
8. -
KeyStore.KdfparamsSaltLen- CLI
- Environment variable
- Configuration file
--keystore-kdfparamssaltlen <value>--KeyStore.KdfparamsSaltLen <value>NETHERMIND_KEYSTORECONFIG_KDFPARAMSSALTLEN=<value>{"KeyStore": {"KdfparamsSaltLen": <value>}}See Web3 secret storage definition. Defaults to
32. -
KeyStore.KeyStoreDirectory- CLI
- Environment variable
- Configuration file
--keystore-keystoredirectory <value>--KeyStore.KeyStoreDirectory <value>NETHERMIND_KEYSTORECONFIG_KEYSTOREDIRECTORY=<value>{"KeyStore": {"KeyStoreDirectory": <value>}}The path to the keystore directory. Defaults to
keystore. -
KeyStore.KeyStoreEncoding- CLI
- Environment variable
- Configuration file
--keystore-keystoreencoding <value>--KeyStore.KeyStoreEncoding <value>NETHERMIND_KEYSTORECONFIG_KEYSTOREENCODING=<value>{"KeyStore": {"KeyStoreEncoding": <value>}}See Web3 secret storage definition. Defaults to
UTF-8. -
KeyStore.PasswordFiles- CLI
- Environment variable
- Configuration file
--keystore-passwordfiles <value>--KeyStore.PasswordFiles <value>NETHERMIND_KEYSTORECONFIG_PASSWORDFILES=<value>{"KeyStore": {"PasswordFiles": <value>}}An array of password files paths used to unlock the accounts set with
UnlockAccounts. Defaults to[]. -
KeyStore.Passwords- CLI
- Environment variable
- Configuration file
--keystore-passwords <value>--KeyStore.Passwords <value>NETHERMIND_KEYSTORECONFIG_PASSWORDS=<value>{"KeyStore": {"Passwords": <value>}}An array of passwords used to unlock the accounts set with
UnlockAccounts. Defaults to[]. -
KeyStore.SymmetricEncrypterBlockSize- CLI
- Environment variable
- Configuration file
--keystore-symmetricencrypterblocksize <value>--KeyStore.SymmetricEncrypterBlockSize <value>NETHERMIND_KEYSTORECONFIG_SYMMETRICENCRYPTERBLOCKSIZE=<value>{"KeyStore": {"SymmetricEncrypterBlockSize": <value>}}See Web3 secret storage definition. Defaults to
128. -
KeyStore.SymmetricEncrypterKeySize- CLI
- Environment variable
- Configuration file
--keystore-symmetricencrypterkeysize <value>--KeyStore.SymmetricEncrypterKeySize <value>NETHERMIND_KEYSTORECONFIG_SYMMETRICENCRYPTERKEYSIZE=<value>{"KeyStore": {"SymmetricEncrypterKeySize": <value>}}See Web3 secret storage definition. Defaults to
128. -
KeyStore.TestNodeKey- CLI
- Environment variable
- Configuration file
--keystore-testnodekey <value>--KeyStore.TestNodeKey <value>NETHERMIND_KEYSTORECONFIG_TESTNODEKEY=<value>{"KeyStore": {"TestNodeKey": <value>}}A plaintext private key to use for testing purposes.
-
KeyStore.UnlockAccounts- CLI
- Environment variable
- Configuration file
--keystore-unlockaccounts <value>--KeyStore.UnlockAccounts <value>NETHERMIND_KEYSTORECONFIG_UNLOCKACCOUNTS=<value>{"KeyStore": {"UnlockAccounts": <value>}}An array of accounts to unlock on startup using passwords either in
PasswordFilesandPasswords. Defaults to[].
LogIndex
-
LogIndex.Enabled- CLI
- Environment variable
- Configuration file
--logindex-enabled [true|false]--LogIndex.Enabled [true|false]NETHERMIND_LOGINDEXCONFIG_ENABLED=true|false{"LogIndex": {"Enabled": true|false}}Whether log index should be enabled. Allowed values:
truefalse. Defaults tofalse. -
LogIndex.MaxAggregationParallelism- CLI
- Environment variable
- Configuration file
--logindex-maxaggregationparallelism <value>--LogIndex.MaxAggregationParallelism <value>NETHERMIND_LOGINDEXCONFIG_MAXAGGREGATIONPARALLELISM=<value>{"LogIndex": {"MaxAggregationParallelism": <value>}}Maximum degree of parallelism for aggregating batches, per backfill direction. The forward and backward directions run at the same time until the forward direction reaches the head. Lower it to reduce the CPU load of the log index backfill, at the cost of a longer backfill. Minimum
1. Values aboveMaxAggregationQueueSize(default16) have no effect. Defaults toMax(ProcessorCount / 4, 1). -
LogIndex.MaxCompressionParallelism- CLI
- Environment variable
- Configuration file
--logindex-maxcompressionparallelism <value>--LogIndex.MaxCompressionParallelism <value>NETHERMIND_LOGINDEXCONFIG_MAXCOMPRESSIONPARALLELISM=<value>{"LogIndex": {"MaxCompressionParallelism": <value>}}Maximum degree of parallelism for compressing overgrown key values, shared by both backfill directions. Lower it to reduce the CPU load of the log index backfill, at the cost of a longer backfill. Minimum
1. Defaults toMax(ProcessorCount / 4, 1). -
LogIndex.MaxReceiptsParallelism- CLI
- Environment variable
- Configuration file
--logindex-maxreceiptsparallelism <value>--LogIndex.MaxReceiptsParallelism <value>NETHERMIND_LOGINDEXCONFIG_MAXRECEIPTSPARALLELISM=<value>{"LogIndex": {"MaxReceiptsParallelism": <value>}}Maximum degree of parallelism for fetching receipts, per backfill direction. The forward and backward directions run at the same time until the forward direction reaches the head. Lower it to reduce the CPU load of the log index backfill, at the cost of a longer backfill. Minimum
1. Defaults toMax(ProcessorCount / 4, 1). -
LogIndex.Reset- CLI
- Environment variable
- Configuration file
--logindex-reset [true|false]--LogIndex.Reset [true|false]NETHERMIND_LOGINDEXCONFIG_RESET=true|false{"LogIndex": {"Reset": true|false}}Log index is reset on startup if enabled. Allowed values:
truefalse. Defaults tofalse.
Mcp
-
Mcp.AllowedHosts- CLI
- Environment variable
- Configuration file
--mcp-allowedhosts <value>--Mcp.AllowedHosts <value>NETHERMIND_MCPCONFIG_ALLOWEDHOSTS=<value>{"Mcp": {"AllowedHosts": <value>}}Hostheader values the MCP endpoint accepts, as host or host:port (for examplenode.example.comor[2001:db8::1]:8555, no scheme or path). An entry without a port matches any port. On a loopbackHostthey are accepted besides the loopback names; in remote mode only these (and the bound IP literal) are accepted, and at least one is required. Defaults to[]. -
Mcp.AllowedOrigins- CLI
- Environment variable
- Configuration file
--mcp-allowedorigins <value>--Mcp.AllowedOrigins <value>NETHERMIND_MCPCONFIG_ALLOWEDORIGINS=<value>{"Mcp": {"AllowedOrigins": <value>}}Browser origins (for example,
http://localhost:6274) allowed to call the MCP endpoint. Requests without anOriginheader are allowed; requests with any other origin are rejected with HTTP 403. Defaults to[]. -
Mcp.AuthTokenFile- CLI
- Environment variable
- Configuration file
--mcp-authtokenfile <value>--Mcp.AuthTokenFile <value>NETHERMIND_MCPCONFIG_AUTHTOKENFILE=<value>{"Mcp": {"AuthTokenFile": <value>}}Path to a file whose trimmed content is the bearer token MCP clients must send as
Authorization: Bearer <token>. The token must be at least 32 characters. Mandatory in remote mode. If empty on a loopbackHost, no authentication is required and access is limited to local processes. In remote mode, a client IP (IPv6: its /64) with 10 failed authentications within 60 seconds is answered with HTTP 429 until the window passes. Defaults tonull. -
Mcp.EnableTracing- CLI
- Environment variable
- Configuration file
--mcp-enabletracing [true|false]--Mcp.EnableTracing [true|false]NETHERMIND_MCPCONFIG_ENABLETRACING=true|false{"Mcp": {"EnableTracing": true|false}}Whether
trace_transactionand the call-trace parts ofexplain_transaction(internal transfers, the failing call frame) are enabled. They replay transactions through the debug module in-process and are offered only whenJsonRpc.Enabledis true anddebugortraceis also inJsonRpc.EnabledModules. When disabled,trace_transactionfails withunavailableandexplain_transactionskips the trace with a note. Allowed values:truefalse. Defaults totrue. -
Mcp.Enabled- CLI
- Environment variable
- Configuration file
--mcp-enabled [true|false]--Mcp.Enabled [true|false]NETHERMIND_MCPCONFIG_ENABLED=true|false{"Mcp": {"Enabled": true|false}}Whether to start the MCP server. Allowed values:
truefalse. Defaults tofalse. -
Mcp.Host- CLI
- Environment variable
- Configuration file
--mcp-host <value>--Mcp.Host <value>NETHERMIND_MCPCONFIG_HOST=<value>{"Mcp": {"Host": <value>}}The IP address literal the MCP listener binds to (host names are rejected). A loopback address (
127.0.0.1,::1) serves local clients only. Any other address, including0.0.0.0and::, enables remote mode, which requiresTlsCertificatePath,TlsCertificateKeyPath,AuthTokenFileandAllowedHosts; plain HTTP is never served on a non-loopback address. Defaults to127.0.0.1. -
Mcp.MaxCallDataSize- CLI
- Environment variable
- Configuration file
--mcp-maxcalldatasize <value>--Mcp.MaxCallDataSize <value>NETHERMIND_MCPCONFIG_MAXCALLDATASIZE=<value>{"Mcp": {"MaxCallDataSize": <value>}}The maximum size of the
calltool input data, in bytes. Defaults to131072. -
Mcp.MaxCallGas- CLI
- Environment variable
- Configuration file
--mcp-maxcallgas <value>--Mcp.MaxCallGas <value>NETHERMIND_MCPCONFIG_MAXCALLGAS=<value>{"Mcp": {"MaxCallGas": <value>}}The maximum gas one
call,call_function,estimate_gasorsimulate_transactionexecution may use. Must not exceedJsonRpc.GasCap; the effective limit is the smaller of the two. Defaults to50000000. -
Mcp.MaxConcurrentToolCalls- CLI
- Environment variable
- Configuration file
--mcp-maxconcurrenttoolcalls <value>--Mcp.MaxConcurrentToolCalls <value>NETHERMIND_MCPCONFIG_MAXCONCURRENTTOOLCALLS=<value>{"Mcp": {"MaxConcurrentToolCalls": <value>}}The maximum number of tool calls executing concurrently. Further calls wait up to two seconds for a slot, then fail with a
resource_exhaustederror. Defaults to4. -
Mcp.MaxIndexedLogBlockRange- CLI
- Environment variable
- Configuration file
--mcp-maxindexedlogblockrange <value>--Mcp.MaxIndexedLogBlockRange <value>NETHERMIND_MCPCONFIG_MAXINDEXEDLOGBLOCKRANGE=<value>{"Mcp": {"MaxIndexedLogBlockRange": <value>}}The maximum number of blocks one
get_logspage scans when the filter has an address or topic and the page starts inside the node's log index (LogIndex.Enabled); the page then stops at the last indexed block. Other pages useMaxLogBlockRange, and a value below it has no effect. Defaults to1000000. -
Mcp.MaxLogBlockRange- CLI
- Environment variable
- Configuration file
--mcp-maxlogblockrange <value>--Mcp.MaxLogBlockRange <value>NETHERMIND_MCPCONFIG_MAXLOGBLOCKRANGE=<value>{"Mcp": {"MaxLogBlockRange": <value>}}The maximum number of blocks one
get_logspage scans, inclusive. Queries over larger ranges are not rejected: they return the first page with anextCursorto continue from. Defaults to1000. -
Mcp.MaxLogs- CLI
- Environment variable
- Configuration file
--mcp-maxlogs <value>--Mcp.MaxLogs <value>NETHERMIND_MCPCONFIG_MAXLOGS=<value>{"Mcp": {"MaxLogs": <value>}}The maximum number of logs one
get_logspage returns; it is also the default and the upper bound of the tool'slimitargument. Further matching logs are returned on the next page (nextCursor). Defaults to10000. -
Mcp.MaxRequestBodySize- CLI
- Environment variable
- Configuration file
--mcp-maxrequestbodysize <value>--Mcp.MaxRequestBodySize <value>NETHERMIND_MCPCONFIG_MAXREQUESTBODYSIZE=<value>{"Mcp": {"MaxRequestBodySize": <value>}}The maximum size of an MCP HTTP request body, in bytes. Defaults to
262144. -
Mcp.MaxResultSize- CLI
- Environment variable
- Configuration file
--mcp-maxresultsize <value>--Mcp.MaxResultSize <value>NETHERMIND_MCPCONFIG_MAXRESULTSIZE=<value>{"Mcp": {"MaxResultSize": <value>}}The maximum size of a serialized tool result, in bytes. Larger results fail with a
resource_exhaustederror. Defaults to4194304. -
Mcp.MaxTraceCalls- CLI
- Environment variable
- Configuration file
--mcp-maxtracecalls <value>--Mcp.MaxTraceCalls <value>NETHERMIND_MCPCONFIG_MAXTRACECALLS=<value>{"Mcp": {"MaxTraceCalls": <value>}}The maximum number of call frames returned by
trace_transaction; deeper or wider call trees are truncated and flagged. Defaults to2000. -
Mcp.Port- CLI
- Environment variable
- Configuration file
--mcp-port <value>--Mcp.Port <value>NETHERMIND_MCPCONFIG_PORT=<value>{"Mcp": {"Port": <value>}}The TCP port of the MCP listener. The endpoint is served at
http(s)://<Host>:<Port>/mcp(HTTPS whenTlsCertificatePathis set). Must differ from every JSON-RPC, Engine API, WebSocket and metrics port. Defaults to8555. -
Mcp.TlsCertificateKeyPath- CLI
- Environment variable
- Configuration file
--mcp-tlscertificatekeypath <value>--Mcp.TlsCertificateKeyPath <value>NETHERMIND_MCPCONFIG_TLSCERTIFICATEKEYPATH=<value>{"Mcp": {"TlsCertificateKeyPath": <value>}}Path to the PEM-encoded private key (PKCS#8, PKCS#1 or SEC1, unencrypted) of
TlsCertificatePath. Required wheneverTlsCertificatePathis set. Defaults tonull. -
Mcp.TlsCertificatePath- CLI
- Environment variable
- Configuration file
--mcp-tlscertificatepath <value>--Mcp.TlsCertificatePath <value>NETHERMIND_MCPCONFIG_TLSCERTIFICATEPATH=<value>{"Mcp": {"TlsCertificatePath": <value>}}Path to the PEM-encoded TLS certificate served by the MCP listener; further certificates in the file are sent as the chain. Required in remote mode; on a loopback
Hostit enables HTTPS. Loaded at startup: an unreadable file or a key mismatch aborts startup, and a certificate that is expired or expires within 14 days logs a warning. Defaults tonull. -
Mcp.ToolTimeout- CLI
- Environment variable
- Configuration file
--mcp-tooltimeout <value>--Mcp.ToolTimeout <value>NETHERMIND_MCPCONFIG_TOOLTIMEOUT=<value>{"Mcp": {"ToolTimeout": <value>}}The wall-clock limit for a single tool call, in milliseconds. Must not exceed
JsonRpc.Timeout. Defaults to10000.
Merge
-
Merge.BuilderRelayUrl- CLI
- Environment variable
- Configuration file
--merge-builderrelayurl <value>--Merge.BuilderRelayUrl <value>NETHERMIND_MERGECONFIG_BUILDERRELAYURL=<value>{"Merge": {"BuilderRelayUrl": <value>}}The URL of a builder relay. If specified, blocks are sent to the relay. Defaults to
null. -
Merge.CollectionsPerDecommit- CLI
- Environment variable
- Configuration file
--merge-collectionsperdecommit <value>--Merge.CollectionsPerDecommit <value>NETHERMIND_MERGECONFIG_COLLECTIONSPERDECOMMIT=<value>{"Merge": {"CollectionsPerDecommit": <value>}}The number of eligible newPayload calls between compacting collections that release process memory. Once due, the decommit runs only while the memory load is at or above
DecommitMemoryLoadPercent, or onceCollectionsPerUnconditionalDecommitcalls have been counted; until then it is checked again after every call. Decommit waits for at least three seconds after payload completion (or PostBlockGcDelayMs, if longer); a new payload cancels the wait without clearing the count.Allowed values:
-1: No requests.0: Requests every time.- A positive number: Requests after that many eligible newPayload calls, including calls whose entry was skipped or pending collection was cancelled. Calls made while the no-GC strategy is disabled (such as during sync) do not count.
Defaults to
25. -
Merge.CollectionsPerUnconditionalDecommit- CLI
- Environment variable
- Configuration file
--merge-collectionsperunconditionaldecommit <value>--Merge.CollectionsPerUnconditionalDecommit <value>NETHERMIND_MERGECONFIG_COLLECTIONSPERUNCONDITIONALDECOMMIT=<value>{"Merge": {"CollectionsPerUnconditionalDecommit": <value>}}The number of eligible newPayload calls after which a due decommit (see
CollectionsPerDecommit) runs even belowDecommitMemoryLoadPercent.Allowed values:
-1: Decommits only at or aboveDecommitMemoryLoadPercent.- A positive number: Decommits after that many eligible newPayload calls since the last decommit. A number below
CollectionsPerDecommitdecommits whenever due.
Defaults to
300. -
Merge.CompactMemory- CLI
- Environment variable
- Configuration file
--merge-compactmemory <value>--Merge.CompactMemory <value>NETHERMIND_MERGECONFIG_COMPACTMEMORY=<value>{"Merge": {"CompactMemory": <value>}}The compaction mode for ordinary post-block collections; periodic decommit collections always fully compact. No requests non-blocking collection, which may be skipped during background GC and may increase steady-state memory usage. When set to
Full, compacts the large object heap (LOH) ifSweepMemoryis set toGen2.Allowed values:
No: Disables memory compaction.Yes: Enables memory compaction.Full: Enables memory compaction with the large object heap (LOH) ifSweepMemoryis set toGen2.
Defaults to
No. -
Merge.DecommitMemoryLoadPercent- CLI
- Environment variable
- Configuration file
--merge-decommitmemoryloadpercent <value>--Merge.DecommitMemoryLoadPercent <value>NETHERMIND_MERGECONFIG_DECOMMITMEMORYLOADPERCENT=<value>{"Merge": {"DecommitMemoryLoadPercent": <value>}}The memory load, in percent of physical memory or of the container's memory limit, at or above which a due decommit (see
CollectionsPerDecommit) runs. The load is the one the runtime recorded at its last collection. Below it, the decommit waits forCollectionsPerUnconditionalDecommit. In a container with a memory limit, the load includes the container's active page cache (the runtime subtracts only inactive file pages), so a container with a warm cache, such as recently read database files, can stay at or above the threshold and then decommits whenever due, as before.Allowed values:
0: Decommits whenever due, whatever the memory load.- A number from 1 to 100: Decommits when due and the memory load is at least that percentage.
Defaults to
70. -
Merge.Enabled- CLI
- Environment variable
- Configuration file
--merge-enabled [true|false]--Merge.Enabled [true|false]NETHERMIND_MERGECONFIG_ENABLED=true|false{"Merge": {"Enabled": true|false}}Whether to enable the Merge hard fork. Allowed values:
truefalse. Defaults totrue. -
Merge.FinalTotalDifficulty- CLI
- Environment variable
- Configuration file
--merge-finaltotaldifficulty <value>--Merge.FinalTotalDifficulty <value>NETHERMIND_MERGECONFIG_FINALTOTALDIFFICULTY=<value>{"Merge": {"FinalTotalDifficulty": <value>}}The total difficulty of the last PoW block. Must be greater than or equal to the terminal total difficulty (TTD). Defaults to
null. -
Merge.PrioritizeBlockLatency- CLI
- Environment variable
- Configuration file
--merge-prioritizeblocklatency [true|false]--Merge.PrioritizeBlockLatency [true|false]NETHERMIND_MERGECONFIG_PRIORITIZEBLOCKLATENCY=true|false{"Merge": {"PrioritizeBlockLatency": true|false}}Whether to reduce block latency by disabling garbage collection during Engine API calls. Allowed values:
truefalse. Defaults totrue. -
Merge.SweepMemory- CLI
- Environment variable
- Configuration file
--merge-sweepmemory <value>--Merge.SweepMemory <value>NETHERMIND_MERGECONFIG_SWEEPMEMORY=<value>{"Merge": {"SweepMemory": <value>}}The garbage collection (GC) mode between Engine API calls.
Allowed values:
NoGC: Disables garbage collection.Gen0: Enables garbage collection of generation 0.Gen1: Enables garbage collection of generation 1.Gen2: Enables garbage collection of generation 2.
Defaults to
Gen1. -
Merge.TerminalBlockHash- CLI
- Environment variable
- Configuration file
--merge-terminalblockhash <value>--Merge.TerminalBlockHash <value>NETHERMIND_MERGECONFIG_TERMINALBLOCKHASH=<value>{"Merge": {"TerminalBlockHash": <value>}}The terminal PoW block hash used for the transition. Defaults to
null. -
Merge.TerminalBlockNumber- CLI
- Environment variable
- Configuration file
--merge-terminalblocknumber <value>--Merge.TerminalBlockNumber <value>NETHERMIND_MERGECONFIG_TERMINALBLOCKNUMBER=<value>{"Merge": {"TerminalBlockNumber": <value>}}The terminal PoW block number used for the transition.
-
Merge.TerminalTotalDifficulty- CLI
- Environment variable
- Configuration file
--merge-terminaltotaldifficulty <value>--Merge.TerminalTotalDifficulty <value>NETHERMIND_MERGECONFIG_TERMINALTOTALDIFFICULTY=<value>{"Merge": {"TerminalTotalDifficulty": <value>}}The terminal total difficulty (TTD) used for the transition. Defaults to
null.
Metrics
-
Metrics.CountersEnabled- CLI
- Environment variable
- Configuration file
--metrics-countersenabled [true|false]--Metrics.CountersEnabled [true|false]NETHERMIND_METRICSCONFIG_COUNTERSENABLED=true|false{"Metrics": {"CountersEnabled": true|false}}Whether to publish metrics using .NET diagnostics that can be collected with dotnet-counters. Allowed values:
truefalse. Defaults tofalse. -
Metrics.DbMetricIntervalSeconds- CLI
- Environment variable
- Configuration file
--metrics-dbmetricintervalseconds <value>--Metrics.DbMetricIntervalSeconds <value>NETHERMIND_METRICSCONFIG_DBMETRICINTERVALSECONDS=<value>{"Metrics": {"DbMetricIntervalSeconds": <value>}}The frequency of updating db metrics, in seconds. Defaults to
60. -
Metrics.EnableDbSizeMetrics- CLI
- Environment variable
- Configuration file
--metrics-enabledbsizemetrics [true|false]--Metrics.EnableDbSizeMetrics [true|false]NETHERMIND_METRICSCONFIG_ENABLEDBSIZEMETRICS=true|false{"Metrics": {"EnableDbSizeMetrics": true|false}}Whether to publish database size metrics. Allowed values:
truefalse. Defaults totrue. -
Metrics.EnableDetailedMetric- CLI
- Environment variable
- Configuration file
--metrics-enabledetailedmetric [true|false]--Metrics.EnableDetailedMetric [true|false]NETHERMIND_METRICSCONFIG_ENABLEDETAILEDMETRIC=true|false{"Metrics": {"EnableDetailedMetric": true|false}}Enable detailed metric Allowed values:
truefalse. Defaults tofalse. -
Metrics.Enabled- CLI
- Environment variable
- Configuration file
--metrics-enabled [true|false]--Metrics.Enabled [true|false]NETHERMIND_METRICSCONFIG_ENABLED=true|false{"Metrics": {"Enabled": true|false}}Whether to publish various metrics to Prometheus Pushgateway at a given interval. Allowed values:
truefalse. Defaults tofalse. -
Metrics.ExposeHost- CLI
- Environment variable
- Configuration file
--metrics-exposehost <value>--Metrics.ExposeHost <value>NETHERMIND_METRICSCONFIG_EXPOSEHOST=<value>{"Metrics": {"ExposeHost": <value>}}The IP address to expose Prometheus metrics at. The value of
+means listening on all available hostnames. Setting this tolocalhostprevents remote access. Defaults to+. -
Metrics.ExposePort- CLI
- Environment variable
- Configuration file
--metrics-exposeport <value>--Metrics.ExposePort <value>NETHERMIND_METRICSCONFIG_EXPOSEPORT=<value>{"Metrics": {"ExposePort": <value>}}The port to expose Prometheus metrics at.
-
Metrics.IntervalSeconds- CLI
- Environment variable
- Configuration file
--metrics-intervalseconds <value>--Metrics.IntervalSeconds <value>NETHERMIND_METRICSCONFIG_INTERVALSECONDS=<value>{"Metrics": {"IntervalSeconds": <value>}}The frequency of pushing metrics to Prometheus, in seconds. Defaults to
5. -
Metrics.MonitoringGroup- CLI
- Environment variable
- Configuration file
--metrics-monitoringgroup <value>--Metrics.MonitoringGroup <value>NETHERMIND_METRICSCONFIG_MONITORINGGROUP=<value>{"Metrics": {"MonitoringGroup": <value>}}The Prometheus metrics group name. Defaults to
nethermind. -
Metrics.MonitoringJob- CLI
- Environment variable
- Configuration file
--metrics-monitoringjob <value>--Metrics.MonitoringJob <value>NETHERMIND_METRICSCONFIG_MONITORINGJOB=<value>{"Metrics": {"MonitoringJob": <value>}}The Prometheus metrics job name. Defaults to
nethermind. -
Metrics.NodeName- CLI
- Environment variable
- Configuration file
--metrics-nodename <value>--Metrics.NodeName <value>NETHERMIND_METRICSCONFIG_NODENAME=<value>{"Metrics": {"NodeName": <value>}}The name to display on the Grafana dashboard. Defaults to
Nethermind. -
Metrics.PauseDbMetricDuringBlockProcessing- CLI
- Environment variable
- Configuration file
--metrics-pausedbmetricduringblockprocessing [true|false]--Metrics.PauseDbMetricDuringBlockProcessing [true|false]NETHERMIND_METRICSCONFIG_PAUSEDBMETRICDURINGBLOCKPROCESSING=true|false{"Metrics": {"PauseDbMetricDuringBlockProcessing": true|false}}Defer db metric collection while blocks are being processed to prevent overhead. A deferred update still runs once the data is older than 10 times DbMetricIntervalSeconds. Set EnableDbSizeMetrics to false to disable collection entirely. Allowed values:
truefalse. Defaults totrue. -
Metrics.PushGatewayPassword- CLI
- Environment variable
- Configuration file
--metrics-pushgatewaypassword <value>--Metrics.PushGatewayPassword <value>NETHERMIND_METRICSCONFIG_PUSHGATEWAYPASSWORD=<value>{"Metrics": {"PushGatewayPassword": <value>}}The Pushgateway basic authentication password. Both the username and password must be set to enable authentication.
-
Metrics.PushGatewayUrl- CLI
- Environment variable
- Configuration file
--metrics-pushgatewayurl <value>--Metrics.PushGatewayUrl <value>NETHERMIND_METRICSCONFIG_PUSHGATEWAYURL=<value>{"Metrics": {"PushGatewayUrl": <value>}}The Prometheus Pushgateway instance URL.
-
Metrics.PushGatewayUsername- CLI
- Environment variable
- Configuration file
--metrics-pushgatewayusername <value>--Metrics.PushGatewayUsername <value>NETHERMIND_METRICSCONFIG_PUSHGATEWAYUSERNAME=<value>{"Metrics": {"PushGatewayUsername": <value>}}The Pushgateway basic authentication username. Both the username and password must be set to enable authentication.
Mining
-
Mining.Enabled- CLI
- Environment variable
- Configuration file
--mining-enabled [true|false]--Mining.Enabled [true|false]NETHERMIND_MININGCONFIG_ENABLED=true|false{"Mining": {"Enabled": true|false}}Whether to produce blocks. Allowed values:
truefalse. Defaults tofalse. -
Mining.Signer- CLI
- Environment variable
- Configuration file
--mining-signer <value>--Mining.Signer <value>NETHERMIND_MININGCONFIG_SIGNER=<value>{"Mining": {"Signer": <value>}}The URL of an external signer like Clef. Defaults to
null.
Network
-
Network.Bootnodes- CLI
- Environment variable
- Configuration file
--network-bootnodes <value>--Network.Bootnodes <value>NETHERMIND_NETWORKCONFIG_BOOTNODES=<value>{"Network": {"Bootnodes": <value>}}A comma-separated enode list to be used as boot nodes.
-
Network.DiagTracerEnabled- CLI
- Environment variable
- Configuration file
--network-diagtracerenabled [true|false]--Network.DiagTracerEnabled [true|false]NETHERMIND_NETWORKCONFIG_DIAGTRACERENABLED=true|false{"Network": {"DiagTracerEnabled": true|false}}Whether to enable a verbose diagnostic tracing. Allowed values:
truefalse. Defaults tofalse. -
Network.DiscoveryDns- CLI
- Environment variable
- Configuration file
--network-discoverydns <value>--Network.DiscoveryDns <value>NETHERMIND_NETWORKCONFIG_DISCOVERYDNS=<value>{"Network": {"DiscoveryDns": <value>}}The EIP-1459 node list to discover peers from, as
enrtree://<signer public key>@<domain>. A bare domain is also accepted, but then the list signature is not verified. For the default ofall.<chain name>.ethdisco.net, leave unspecified. Defaults tonull. -
Network.DiscoveryPort- CLI
- Environment variable
- Configuration file
--network-discoveryport <value>--Network.DiscoveryPort <value>NETHERMIND_NETWORKCONFIG_DISCOVERYPORT=<value>{"Network": {"DiscoveryPort": <value>}}The UDP port number for incoming discovery connections. It's recommended to keep it the same as the TCP port (
P2PPort) because other values have not been tested yet. Defaults to30303. -
Network.EnableExternalIpResolution- CLI
- Environment variable
- Configuration file
--network-enableexternalipresolution [true|false]--Network.EnableExternalIpResolution [true|false]NETHERMIND_NETWORKCONFIG_ENABLEEXTERNALIPRESOLUTION=true|false{"Network": {"EnableExternalIpResolution": true|false}}Whether to resolve missing external IPv4 and IPv6 addresses available on active local interfaces through public HTTPS services. Disable this for restricted networks; explicit external IP overrides are still used. Allowed values:
truefalse. Defaults totrue. -
Network.EnableUPnP- CLI
- Environment variable
- Configuration file
--network-enableupnp [true|false]--Network.EnableUPnP [true|false]NETHERMIND_NETWORKCONFIG_ENABLEUPNP=true|false{"Network": {"EnableUPnP": true|false}}Whether to enable automatic port forwarding via UPnP. Allowed values:
truefalse. Defaults tofalse. -
Network.ExternalIp- CLI
- Environment variable
- Configuration file
--network-externalip <value>--Network.ExternalIp <value>NETHERMIND_NETWORKCONFIG_EXTERNALIP=<value>{"Network": {"ExternalIp": <value>}}The primary external IP address used for the legacy enode string, discovery, and peer filtering. Missing IPv4 or IPv6 addresses are resolved independently when
EnableExternalIpResolutionis enabled; use this only to override the preferred primary address. An address family is advertised in the ENR only when every currently bound inbound transport serves it; only bound transports get port entries. Public external addresses (configured or resolved) refuse discovered private targets; configure them as static or trusted peers if required. Defaults tonull. -
Network.ExternalIpV4- CLI
- Environment variable
- Configuration file
--network-externalipv4 <value>--Network.ExternalIpV4 <value>NETHERMIND_NETWORKCONFIG_EXTERNALIPV4=<value>{"Network": {"ExternalIpV4": <value>}}The external IPv4 address to advertise. When unset and
EnableExternalIpResolutionis enabled, it is resolved automatically. Its ENR entry is published only when every currently bound inbound transport serves IPv4; only bound transports get port entries. Defaults tonull. -
Network.ExternalIpV6- CLI
- Environment variable
- Configuration file
--network-externalipv6 <value>--Network.ExternalIpV6 <value>NETHERMIND_NETWORKCONFIG_EXTERNALIPV6=<value>{"Network": {"ExternalIpV6": <value>}}The external IPv6 address to advertise in the ENR. When unset and
EnableExternalIpResolutionis enabled, it is resolved automatically. Its entry is published only when every currently bound inbound transport serves IPv6; only bound transports get port entries. Defaults tonull. -
Network.FilterDiscoveryNodesByRecentIp- CLI
- Environment variable
- Configuration file
--network-filterdiscoverynodesbyrecentip [true|false]--Network.FilterDiscoveryNodesByRecentIp [true|false]NETHERMIND_NETWORKCONFIG_FILTERDISCOVERYNODESBYRECENTIP=true|false{"Network": {"FilterDiscoveryNodesByRecentIp": true|false}}Reject discovery nodes whose IP key was seen recently (time-windowed), using the peer IP filter. Allowed values:
truefalse. Defaults totrue. -
Network.FilterDiscoveryNodesBySameSubnet- CLI
- Environment variable
- Configuration file
--network-filterdiscoverynodesbysamesubnet [true|false]--Network.FilterDiscoveryNodesBySameSubnet [true|false]NETHERMIND_NETWORKCONFIG_FILTERDISCOVERYNODESBYSAMESUBNET=true|false{"Network": {"FilterDiscoveryNodesBySameSubnet": true|false}}When filtering discovery nodes by recent IP, bucket discovery node IPs by subnet (e.g., IPv4 /24, IPv6 /64) so multiple discovery node IPs in the same subnet share a single entry. If false, use exact IP addresses only. Allowed values:
truefalse. Defaults totrue. -
Network.FilterPeersByRecentIp- CLI
- Environment variable
- Configuration file
--network-filterpeersbyrecentip [true|false]--Network.FilterPeersByRecentIp [true|false]NETHERMIND_NETWORKCONFIG_FILTERPEERSBYRECENTIP=true|false{"Network": {"FilterPeersByRecentIp": true|false}}Reject peers whose IP key was seen recently (time-windowed), using the peer IP filter. Allowed values:
truefalse. Defaults totrue. -
Network.FilterPeersBySameSubnet- CLI
- Environment variable
- Configuration file
--network-filterpeersbysamesubnet [true|false]--Network.FilterPeersBySameSubnet [true|false]NETHERMIND_NETWORKCONFIG_FILTERPEERSBYSAMESUBNET=true|false{"Network": {"FilterPeersBySameSubnet": true|false}}When filtering by recent IP, bucket peers by subnet (e.g., IPv4 /24, IPv6 /64) so multiple IPs in the same subnet share a single entry. If false, use exact IP addresses only. Allowed values:
truefalse. Defaults totrue. -
Network.LocalIp- CLI
- Environment variable
- Configuration file
--network-localip <value>--Network.LocalIp <value>NETHERMIND_NETWORKCONFIG_LOCALIP=<value>{"Network": {"LocalIp": <value>}}The local IP for inbound listeners. When unset, listeners try a dual-stack wildcard on supported platforms and fall back to IPv4 if it cannot bind; macOS uses IPv4 by default. Set to
0.0.0.0for IPv4-only,::for a dual-stack wildcard, or a specific address to restrict listeners to that address and family. A private listener does not permit discovered private targets when the configured or resolved external address is public; configure them as static or trusted peers if required. Defaults tonull. -
Network.MaxActivePeers- CLI
- Environment variable
- Configuration file
--network-maxactivepeers <value>--Network.MaxActivePeers <value>NETHERMIND_NETWORKCONFIG_MAXACTIVEPEERS=<value>{"Network": {"MaxActivePeers": <value>}}The max allowed number of connected peers. One third is reserved for outbound connections. After a dialable candidate has been selected and five minutes pass without dialable candidates, the reserve falls to at most two slots. Each accepted outbound Hello restores the reserve by disconnecting at most one newest excess ordinary inbound peer. Static and trusted peers are exempt. Defaults to
50. -
Network.MaxNettyArenaCount- CLI
- Environment variable
- Configuration file
--network-maxnettyarenacount <value>--Network.MaxNettyArenaCount <value>NETHERMIND_NETWORKCONFIG_MAXNETTYARENACOUNT=<value>{"Network": {"MaxNettyArenaCount": <value>}}The maximum DotNetty arena count. Each arena holds chunks of 4 KiB <<
NettyArenaOrder. Defaults to8. -
Network.MaxPendingInboundConnections- CLI
- Environment variable
- Configuration file
--network-maxpendinginboundconnections <value>--Network.MaxPendingInboundConnections <value>NETHERMIND_NETWORKCONFIG_MAXPENDINGINBOUNDCONNECTIONS=<value>{"Network": {"MaxPendingInboundConnections": <value>}}The maximum number of ordinary inbound connections awaiting an authenticated Hello. Privileged IPs have eight additional slots. Zero disables all inbound connections. Defaults to
50. -
Network.MaxPendingInboundConnectionsPerSource- CLI
- Environment variable
- Configuration file
--network-maxpendinginboundconnectionspersource <value>--Network.MaxPendingInboundConnectionsPerSource <value>NETHERMIND_NETWORKCONFIG_MAXPENDINGINBOUNDCONNECTIONSPERSOURCE=<value>{"Network": {"MaxPendingInboundConnectionsPerSource": <value>}}Maximum pending ordinary inbound connections per IPv4 address or IPv6 /64. Zero disables ordinary inbound connections. Defaults to
4. -
Network.NettyArenaOrder- CLI
- Environment variable
- Configuration file
--network-nettyarenaorder <value>--Network.NettyArenaOrder <value>NETHERMIND_NETWORKCONFIG_NETTYARENAORDER=<value>{"Network": {"NettyArenaOrder": <value>}}The size of the DotNetty arena order. The chunk size is 4 KiB << order (8 MiB at 11). Negative values use the default. Defaults to
11. -
Network.OnlyStaticPeers- CLI
- Environment variable
- Configuration file
--network-onlystaticpeers [true|false]--Network.OnlyStaticPeers [true|false]NETHERMIND_NETWORKCONFIG_ONLYSTATICPEERS=true|false{"Network": {"OnlyStaticPeers": true|false}}Whether to use static peers only. Allowed values:
truefalse. Defaults tofalse. -
Network.P2PPort- CLI
- Environment variable
- Configuration file
--network-p2pport <value>--Network.P2PPort <value>NETHERMIND_NETWORKCONFIG_P2PPORT=<value>{"Network": {"P2PPort": <value>}}The TCP port for incoming P2P connections. Defaults to
30303. -
Network.PriorityPeersMaxCount- CLI
- Environment variable
- Configuration file
--network-prioritypeersmaxcount <value>--Network.PriorityPeersMaxCount <value>NETHERMIND_NETWORKCONFIG_PRIORITYPEERSMAXCOUNT=<value>{"Network": {"PriorityPeersMaxCount": <value>}}The max number of priority peers. Can be overridden by a plugin. Defaults to
0. -
Network.PublicClientIdFormat- CLI
- Environment variable
- Configuration file
--network-publicclientidformat <value>--Network.PublicClientIdFormat <value>NETHERMIND_NETWORKCONFIG_PUBLICCLIENTIDFORMAT=<value>{"Network": {"PublicClientIdFormat": <value>}}A template string for the public client id provided to external clients. Allowed placeholders:
{name}{version}{versionPostfix}{os}{runtime}. Defaults to{name}/{version}{versionPostfix}/{os}/{runtime}. -
Network.StaticPeers- CLI
- Environment variable
- Configuration file
--network-staticpeers <value>--Network.StaticPeers <value>NETHERMIND_NETWORKCONFIG_STATICPEERS=<value>{"Network": {"StaticPeers": <value>}}A list of peers to keep connection for. Static peers are affected by
MaxActivePeers. Defaults tonull.
OpcodeTracing
-
OpcodeTracing.Enabled- CLI
- Environment variable
- Configuration file
--opcodetracing-enabled [true|false]--OpcodeTracing.Enabled [true|false]NETHERMIND_OPCODETRACINGCONFIG_ENABLED=true|false{"OpcodeTracing": {"Enabled": true|false}}Whether to enable opcode tracing. Allowed values:
truefalse. Defaults tofalse. -
OpcodeTracing.EndBlock- CLI
- Environment variable
- Configuration file
--opcodetracing-endblock <value>--OpcodeTracing.EndBlock <value>NETHERMIND_OPCODETRACINGCONFIG_ENDBLOCK=<value>{"OpcodeTracing": {"EndBlock": <value>}}End block number for tracing (inclusive). Used with StartBlock to define explicit range. Defaults to
null. -
OpcodeTracing.MaxDegreeOfParallelism- CLI
- Environment variable
- Configuration file
--opcodetracing-maxdegreeofparallelism <value>--OpcodeTracing.MaxDegreeOfParallelism <value>NETHERMIND_OPCODETRACINGCONFIG_MAXDEGREEOFPARALLELISM=<value>{"OpcodeTracing": {"MaxDegreeOfParallelism": <value>}}Maximum number of tracing workers. 0 switches to the number of logical processors. For Retrospective and RetrospectiveExecution modes. Defaults to
0. -
OpcodeTracing.Mode- CLI
- Environment variable
- Configuration file
--opcodetracing-mode <value>--OpcodeTracing.Mode <value>NETHERMIND_OPCODETRACINGCONFIG_MODE=<value>{"OpcodeTracing": {"Mode": <value>}}Tracing mode: RealTime (trace during processing), Retrospective (static bytecode analysis from database), or RetrospectiveExecution (full EVM replay from database). Defaults to
"RealTime". -
OpcodeTracing.OutputDirectory- CLI
- Environment variable
- Configuration file
--opcodetracing-outputdirectory <value>--OpcodeTracing.OutputDirectory <value>NETHERMIND_OPCODETRACINGCONFIG_OUTPUTDIRECTORY=<value>{"OpcodeTracing": {"OutputDirectory": <value>}}Directory of opcode trace JSON files to be written. Defaults to
traces/opcodes. -
OpcodeTracing.RecentBlocks- CLI
- Environment variable
- Configuration file
--opcodetracing-recentblocks <value>--OpcodeTracing.RecentBlocks <value>NETHERMIND_OPCODETRACINGCONFIG_RECENTBLOCKS=<value>{"OpcodeTracing": {"RecentBlocks": <value>}}Number of recent blocks to trace from chain tip. Alternative to StartBlock/EndBlock. Defaults to
null. -
OpcodeTracing.StartBlock- CLI
- Environment variable
- Configuration file
--opcodetracing-startblock <value>--OpcodeTracing.StartBlock <value>NETHERMIND_OPCODETRACINGCONFIG_STARTBLOCK=<value>{"OpcodeTracing": {"StartBlock": <value>}}Start block number for tracing (inclusive). Used with EndBlock to define explicit range. Defaults to
null.
Optimism
-
Optimism.SequencerUrl- CLI
- Environment variable
- Configuration file
--optimism-sequencerurl <value>--Optimism.SequencerUrl <value>NETHERMIND_OPTIMISMCONFIG_SEQUENCERURL=<value>{"Optimism": {"SequencerUrl": <value>}}The Optimism sequencer URL. Defaults to
null.
PortfolioViewer
-
PortfolioViewer.Enabled- CLI
- Environment variable
- Configuration file
--portfolioviewer-enabled [true|false]--PortfolioViewer.Enabled [true|false]NETHERMIND_PORTFOLIOVIEWERCONFIG_ENABLED=true|false{"PortfolioViewer": {"Enabled": true|false}}Whether to serve the portfolio viewer UI (balances + NFTs) at the
/portfoliopath of the JSON-RPC HTTP endpoint. Allowed values:truefalse. Defaults tofalse. -
PortfolioViewer.SiblingProbePorts- CLI
- Environment variable
- Configuration file
--portfolioviewer-siblingprobeports <value>--PortfolioViewer.SiblingProbePorts <value>NETHERMIND_PORTFOLIOVIEWERCONFIG_SIBLINGPROBEPORTS=<value>{"PortfolioViewer": {"SiblingProbePorts": <value>}}Comma-separated localhost ports probed to discover sibling Nethermind nodes on other chains for the multi-chain portfolio viewer. Defaults to
8545,8546,8547,8548,8549,8550.
Pruning
-
Pruning.AvailableSpaceCheckEnabled- CLI
- Environment variable
- Configuration file
--pruning-availablespacecheckenabled [true|false]--Pruning.AvailableSpaceCheckEnabled [true|false]NETHERMIND_PRUNINGCONFIG_AVAILABLESPACECHECKENABLED=true|false{"Pruning": {"AvailableSpaceCheckEnabled": true|false}}Whether to enables available disk space check. Allowed values:
truefalse. Defaults totrue. -
Pruning.CacheMb- CLI
- Environment variable
- Configuration file
--pruning-cachemb <value>--Pruning.CacheMb <value>NETHERMIND_PRUNINGCONFIG_CACHEMB=<value>{"Pruning": {"CacheMb": <value>}}The in-memory cache size, in MB. Bigger size tend to improve performance. Defaults to
1792. -
Pruning.DirtyCacheMb- CLI
- Environment variable
- Configuration file
--pruning-dirtycachemb <value>--Pruning.DirtyCacheMb <value>NETHERMIND_PRUNINGCONFIG_DIRTYCACHEMB=<value>{"Pruning": {"DirtyCacheMb": <value>}}The in-memory cache size for dirty nodes, in MB. Increasing this reduces pruning interval but cause increased pruning time. Defaults to
1536. -
Pruning.DirtyNodeShardBit- CLI
- Environment variable
- Configuration file
--pruning-dirtynodeshardbit <value>--Pruning.DirtyNodeShardBit <value>NETHERMIND_PRUNINGCONFIG_DIRTYNODESHARDBIT=<value>{"Pruning": {"DirtyNodeShardBit": <value>}}Number of dirty node shards as a base-2 exponent; the shard count is 2^DirtyNodeShardBit. Must be between 1 and 30. Defaults to
8. -
Pruning.FullPruningCompletionBehavior- CLI
- Environment variable
- Configuration file
--pruning-fullpruningcompletionbehavior <value>--Pruning.FullPruningCompletionBehavior <value>NETHERMIND_PRUNINGCONFIG_FULLPRUNINGCOMPLETIONBEHAVIOR=<value>{"Pruning": {"FullPruningCompletionBehavior": <value>}}The action to take on pruning completion.
Allowed values:
None: No action.ShutdownOnSuccess: Shuts Nethermind down when pruning succeeds but leaves it running when fails.AlwaysShutdown: Shuts Nethermind down when pruning completes, regardless of its status.
Defaults to
None. -
Pruning.FullPruningDisableLowPriorityWrites- CLI
- Environment variable
- Configuration file
--pruning-fullpruningdisablelowprioritywrites [true|false]--Pruning.FullPruningDisableLowPriorityWrites [true|false]NETHERMIND_PRUNINGCONFIG_FULLPRUNINGDISABLELOWPRIORITYWRITES=true|false{"Pruning": {"FullPruningDisableLowPriorityWrites": true|false}}Whether to disable low-priority for pruning writes. Full pruning uses low-priority write operations to prevent blocking block processing. If block processing is not high-priority, set this option to
truefor faster pruning. Allowed values:truefalse. Defaults tofalse. -
Pruning.FullPruningMaxDegreeOfParallelism- CLI
- Environment variable
- Configuration file
--pruning-fullpruningmaxdegreeofparallelism <value>--Pruning.FullPruningMaxDegreeOfParallelism <value>NETHERMIND_PRUNINGCONFIG_FULLPRUNINGMAXDEGREEOFPARALLELISM=<value>{"Pruning": {"FullPruningMaxDegreeOfParallelism": <value>}}The max number of parallel tasks that can be used by full pruning.
Allowed values:
-1: Uses the number of logical processors.0: Uses 25% of logical processors.1: Runs on a single thread.
The recommended value depends on the type of the node:
- If the node needs to be responsive (serves for RPC or validator), then the recommended value is
0or-1. - If the node doesn't have many other responsibilities but needs to be able to follow the chain reliably without any delays and produce live logs, the
0or1is recommended. - If the node doesn't have to be responsive, has very fast I/O (like NVMe) and the shortest pruning time is to be achieved, then
-1is recommended. Defaults to0.
-
Pruning.FullPruningMemoryBudgetMb- CLI
- Environment variable
- Configuration file
--pruning-fullpruningmemorybudgetmb <value>--Pruning.FullPruningMemoryBudgetMb <value>NETHERMIND_PRUNINGCONFIG_FULLPRUNINGMEMORYBUDGETMB=<value>{"Pruning": {"FullPruningMemoryBudgetMb": <value>}}The memory budget, in MB, used for the trie visit. Increasing this value significantly reduces the IOPS requirement at the expense of memory usage.
0to disable. Defaults to4000. -
Pruning.FullPruningMinimumDelayHours- CLI
- Environment variable
- Configuration file
--pruning-fullpruningminimumdelayhours <value>--Pruning.FullPruningMinimumDelayHours <value>NETHERMIND_PRUNINGCONFIG_FULLPRUNINGMINIMUMDELAYHOURS=<value>{"Pruning": {"FullPruningMinimumDelayHours": <value>}}The minimum delay, in hours, between full pruning operations not to exhaust disk writes. Defaults to
240. -
Pruning.FullPruningThresholdMb- CLI
- Environment variable
- Configuration file
--pruning-fullpruningthresholdmb <value>--Pruning.FullPruningThresholdMb <value>NETHERMIND_PRUNINGCONFIG_FULLPRUNINGTHRESHOLDMB=<value>{"Pruning": {"FullPruningThresholdMb": <value>}}The threshold, in MB, to trigger full pruning. Depends on
ModeandFullPruningTrigger. Defaults to256000. -
Pruning.FullPruningTrigger- CLI
- Environment variable
- Configuration file
--pruning-fullpruningtrigger <value>--Pruning.FullPruningTrigger <value>NETHERMIND_PRUNINGCONFIG_FULLPRUNINGTRIGGER=<value>{"Pruning": {"FullPruningTrigger": <value>}}The full pruning trigger.
Allowed values:
Manual: Does not trigger. Pruning can be triggered manually.StateDbSize: Triggers when the state DB size is above the specified threshold.VolumeFreeSpace: Triggers when the free disk space where the state DB is stored is below the specified threshold.
Defaults to
Manual. -
Pruning.MaxUnpersistedBlockCount- CLI
- Environment variable
- Configuration file
--pruning-maxunpersistedblockcount <value>--Pruning.MaxUnpersistedBlockCount <value>NETHERMIND_PRUNINGCONFIG_MAXUNPERSISTEDBLOCKCOUNT=<value>{"Pruning": {"MaxUnpersistedBlockCount": <value>}}Maximum number of blocks worth of unpersisted state in memory. Default is 300, which is about one hour of mainnet blocks. Defaults to
300. -
Pruning.MinUnpersistedBlockCount- CLI
- Environment variable
- Configuration file
--pruning-minunpersistedblockcount <value>--Pruning.MinUnpersistedBlockCount <value>NETHERMIND_PRUNINGCONFIG_MINUNPERSISTEDBLOCKCOUNT=<value>{"Pruning": {"MinUnpersistedBlockCount": <value>}}Minimum number of block worth of unpersisted state in memory. Prevent memory pruning too often due to insufficient dirty cache memory. Defaults to
8. -
Pruning.Mode- CLI
- Environment variable
- Configuration file
--pruning-mode <value>--Pruning.Mode <value>NETHERMIND_PRUNINGCONFIG_MODE=<value>{"Pruning": {"Mode": <value>}}The pruning mode.
Allowed values:
None: No pruning (archive).Memory: In-memory pruning.Full: Full pruning.Hybrid: Combined in-memory and full pruning.
Defaults to
Hybrid. -
Pruning.PersistenceInterval- CLI
- Environment variable
- Configuration file
--pruning-persistenceinterval <value>--Pruning.PersistenceInterval <value>NETHERMIND_PRUNINGCONFIG_PERSISTENCEINTERVAL=<value>{"Pruning": {"PersistenceInterval": <value>}}The block persistence frequency. Only applied with archive node. Defaults to
1. -
Pruning.PrunePersistedNodeMinimumTarget- CLI
- Environment variable
- Configuration file
--pruning-prunepersistednodeminimumtarget <value>--Pruning.PrunePersistedNodeMinimumTarget <value>NETHERMIND_PRUNINGCONFIG_PRUNEPERSISTEDNODEMINIMUMTARGET=<value>{"Pruning": {"PrunePersistedNodeMinimumTarget": <value>}}Minimum persisted cache prune target Defaults to
52428800. -
Pruning.PrunePersistedNodePortion- CLI
- Environment variable
- Configuration file
--pruning-prunepersistednodeportion <value>--Pruning.PrunePersistedNodePortion <value>NETHERMIND_PRUNINGCONFIG_PRUNEPERSISTEDNODEPORTION=<value>{"Pruning": {"PrunePersistedNodePortion": <value>}}Portion of persisted node to be prune at a time Defaults to
0.05. -
Pruning.PruningBoundary- CLI
- Environment variable
- Configuration file
--pruning-pruningboundary <value>--Pruning.PruningBoundary <value>NETHERMIND_PRUNINGCONFIG_PRUNINGBOUNDARY=<value>{"Pruning": {"PruningBoundary": <value>}}The number of past states before the state gets pruned. Used to determine how old of a state to keep from the head. Defaults to
64. -
Pruning.TrackPastKeys- CLI
- Environment variable
- Configuration file
--pruning-trackpastkeys [true|false]--Pruning.TrackPastKeys [true|false]NETHERMIND_PRUNINGCONFIG_TRACKPASTKEYS=true|false{"Pruning": {"TrackPastKeys": true|false}}Enable tracking of past key to reduce database and pruning cache growth Allowed values:
truefalse. Defaults totrue.
Receipt
-
Receipt.CompactReceiptStore- CLI
- Environment variable
- Configuration file
--receipt-compactreceiptstore [true|false]--Receipt.CompactReceiptStore [true|false]NETHERMIND_RECEIPTCONFIG_COMPACTRECEIPTSTORE=true|false{"Receipt": {"CompactReceiptStore": true|false}}Whether to compact receipts database size at the expense of RPC performance. Allowed values:
truefalse. Defaults totrue. -
Receipt.CompactTxIndex- CLI
- Environment variable
- Configuration file
--receipt-compacttxindex [true|false]--Receipt.CompactTxIndex [true|false]NETHERMIND_RECEIPTCONFIG_COMPACTTXINDEX=true|false{"Receipt": {"CompactTxIndex": true|false}}Whether to compact receipts transaction index database size at the expense of RPC performance. Allowed values:
truefalse. Defaults totrue. -
Receipt.DeferredPersistence- CLI
- Environment variable
- Configuration file
--receipt-deferredpersistence [true|false]--Receipt.DeferredPersistence [true|false]NETHERMIND_RECEIPTCONFIG_DEFERREDPERSISTENCE=true|false{"Receipt": {"DeferredPersistence": true|false}}Whether receipt, canonical transaction-index, block-body, and block-access-list writes are persisted by a background writer instead of synchronously on the block-processing and engine API paths. Reads are served from an in-memory overlay until flushed, and a state-persistence barrier makes a block's data durable before its state, so an unclean shutdown never leaves persisted state without it. Allowed values:
truefalse. Defaults totrue. -
Receipt.DeriveFromState- CLI
- Environment variable
- Configuration file
--receipt-derivefromstate [true|false]--Receipt.DeriveFromState [true|false]NETHERMIND_RECEIPTCONFIG_DERIVEFROMSTATE=true|false{"Receipt": {"DeriveFromState": true|false}}Whether receipt bodies are derived from state instead of persisted: their write is skipped, and a query re-executes the block over its parent state, serving the result only when it reproduces the block header's receipts root. Bodies already on disk are still served; pre-Byzantium bodies and the transaction index are always written. A skipped body is retained in memory until history capture durably covers its block, and is persisted if capture permanently stops (see the error log then), so a capture breakdown does not lose receipts. Intended for archive nodes: requires state history for the queried block, and peers are told no receipts are available. A query that misses the cache costs a full block execution, so a public endpoint should be rate limited; concurrency is bounded by JsonRpc.EthModuleConcurrentInstances. Allowed values:
truefalse. Defaults tofalse. -
Receipt.MaxBlockDepth- CLI
- Environment variable
- Configuration file
--receipt-maxblockdepth <value>--Receipt.MaxBlockDepth <value>NETHERMIND_RECEIPTCONFIG_MAXBLOCKDEPTH=<value>{"Receipt": {"MaxBlockDepth": <value>}}The maximum number of blocks a single
eth_getLogsoreth_getFilterLogsrequest may read receipts of one by one. Blocks the log index can answer for do not count towards it, so on an indexed node the limit only bounds what falls back to a sequential read. Requests exceeding it are rejected with an "invalid params" (-32602) error. Set to 0 to disable the limit. Defaults to10000. -
Receipt.ReceiptsMigration- CLI
- Environment variable
- Configuration file
--receipt-receiptsmigration [true|false]--Receipt.ReceiptsMigration [true|false]NETHERMIND_RECEIPTCONFIG_RECEIPTSMIGRATION=true|false{"Receipt": {"ReceiptsMigration": true|false}}Whether to migrate the receipts database to the new schema. Allowed values:
truefalse. Defaults tofalse. -
Receipt.StoreReceipts- CLI
- Environment variable
- Configuration file
--receipt-storereceipts [true|false]--Receipt.StoreReceipts [true|false]NETHERMIND_RECEIPTCONFIG_STORERECEIPTS=true|false{"Receipt": {"StoreReceipts": true|false}}Whether to store receipts after a new block is processed. This setting is independent from downloading receipts in fast sync mode. Allowed values:
truefalse. Defaults totrue. -
Receipt.StoreTxHashes- CLI
- Environment variable
- Configuration file
--receipt-storetxhashes [true|false]--Receipt.StoreTxHashes [true|false]NETHERMIND_RECEIPTCONFIG_STORETXHASHES=true|false{"Receipt": {"StoreTxHashes": true|false}}Whether to store the transaction hashes with compact receipts, so that
eth_getLogsdoes not read block bodies. Older receipts get them in the background; the pass yields to block processing and continues after a restart. When disabled, receipts are written in the format that earlier versions read. Allowed values:truefalse. Defaults totrue. -
Receipt.TxLookupLimit- CLI
- Environment variable
- Configuration file
--receipt-txlookuplimit <value>--Receipt.TxLookupLimit <value>NETHERMIND_RECEIPTCONFIG_TXLOOKUPLIMIT=<value>{"Receipt": {"TxLookupLimit": <value>}}The number of recent blocks to maintain transaction index for.
0to never remove indices,18446744073709551615to never index. Defaults to2350000.
SendPolicy
-
SendPolicy.Enabled- CLI
- Environment variable
- Configuration file
--sendpolicy-enabled [true|false]--SendPolicy.Enabled [true|false]NETHERMIND_SENDPOLICYCONFIG_ENABLED=true|false{"SendPolicy": {"Enabled": true|false}}Whether to check transactions submitted through this node's JSON-RPC against the rule file. Allowed values:
truefalse. Defaults tofalse. -
SendPolicy.JournalPath- CLI
- Environment variable
- Configuration file
--sendpolicy-journalpath <value>--SendPolicy.JournalPath <value>NETHERMIND_SENDPOLICYCONFIG_JOURNALPATH=<value>{"SendPolicy": {"JournalPath": <value>}}The path to the journal of transactions submitted by guarded senders. Defaults to the rule file path with
.journalappended. Defaults tonull. -
SendPolicy.RulesPath- CLI
- Environment variable
- Configuration file
--sendpolicy-rulespath <value>--SendPolicy.RulesPath <value>NETHERMIND_SENDPOLICYCONFIG_RULESPATH=<value>{"SendPolicy": {"RulesPath": <value>}}The path to the rule file. The file is re-read when it changes. Update it by atomically replacing it with a fully written and closed temporary file in the same directory; in-place writes can expose incomplete rules. Defaults to
null. -
SendPolicy.WarnOnly- CLI
- Environment variable
- Configuration file
--sendpolicy-warnonly [true|false]--SendPolicy.WarnOnly [true|false]NETHERMIND_SENDPOLICYCONFIG_WARNONLY=true|false{"SendPolicy": {"WarnOnly": true|false}}Whether to log a transaction that breaks a rule and submit it anyway. Allowed values:
truefalse. Defaults tofalse.
Seq
-
Seq.ApiKey- CLI
- Environment variable
- Configuration file
--seq-apikey <value>--Seq.ApiKey <value>NETHERMIND_SEQCONFIG_APIKEY=<value>{"Seq": {"ApiKey": <value>}}The Seq API key.
-
Seq.MinLevel- CLI
- Environment variable
- Configuration file
--seq-minlevel <value>--Seq.MinLevel <value>NETHERMIND_SEQCONFIG_MINLEVEL=<value>{"Seq": {"MinLevel": <value>}}The min log level to sent to Seq. Defaults to
Off. -
Seq.ServerUrl- CLI
- Environment variable
- Configuration file
--seq-serverurl <value>--Seq.ServerUrl <value>NETHERMIND_SEQCONFIG_SERVERURL=<value>{"Seq": {"ServerUrl": <value>}}The Seq instance URL. Defaults to
http://localhost:5341.
Shutter
-
Shutter.BootnodeP2PAddresses- CLI
- Environment variable
- Configuration file
--shutter-bootnodep2paddresses <value>--Shutter.BootnodeP2PAddresses <value>NETHERMIND_SHUTTERCONFIG_BOOTNODEP2PADDRESSES=<value>{"Shutter": {"BootnodeP2PAddresses": <value>}}The p2p addresses of the Shutter Keyper network bootnodes. Defaults to
[]. -
Shutter.Enabled- CLI
- Environment variable
- Configuration file
--shutter-enabled [true|false]--Shutter.Enabled [true|false]NETHERMIND_SHUTTERCONFIG_ENABLED=true|false{"Shutter": {"Enabled": true|false}}Whether to enable Shutter. Allowed values:
truefalse. Defaults tofalse. -
Shutter.InstanceID- CLI
- Environment variable
- Configuration file
--shutter-instanceid <value>--Shutter.InstanceID <value>NETHERMIND_SHUTTERCONFIG_INSTANCEID=<value>{"Shutter": {"InstanceID": <value>}}Instance ID of Shutter keyper set. Defaults to
0. -
Shutter.KeyBroadcastContractAddress- CLI
- Environment variable
- Configuration file
--shutter-keybroadcastcontractaddress <value>--Shutter.KeyBroadcastContractAddress <value>NETHERMIND_SHUTTERCONFIG_KEYBROADCASTCONTRACTADDRESS=<value>{"Shutter": {"KeyBroadcastContractAddress": <value>}}The address of the Shutter key broadcast contract. Defaults to
null. -
Shutter.KeyperSetManagerContractAddress- CLI
- Environment variable
- Configuration file
--shutter-keypersetmanagercontractaddress <value>--Shutter.KeyperSetManagerContractAddress <value>NETHERMIND_SHUTTERCONFIG_KEYPERSETMANAGERCONTRACTADDRESS=<value>{"Shutter": {"KeyperSetManagerContractAddress": <value>}}The address of the Shutter keyper set manager contract. Defaults to
null. -
Shutter.P2PPort- CLI
- Environment variable
- Configuration file
--shutter-p2pport <value>--Shutter.P2PPort <value>NETHERMIND_SHUTTERCONFIG_P2PPORT=<value>{"Shutter": {"P2PPort": <value>}}The port to connect to Shutter P2P network with. Defaults to
23102. -
Shutter.SequencerContractAddress- CLI
- Environment variable
- Configuration file
--shutter-sequencercontractaddress <value>--Shutter.SequencerContractAddress <value>NETHERMIND_SHUTTERCONFIG_SEQUENCERCONTRACTADDRESS=<value>{"Shutter": {"SequencerContractAddress": <value>}}The address of the Shutter sequencer contract. Defaults to
null. -
Shutter.ShutterKeyFile- CLI
- Environment variable
- Configuration file
--shutter-shutterkeyfile <value>--Shutter.ShutterKeyFile <value>NETHERMIND_SHUTTERCONFIG_SHUTTERKEYFILE=<value>{"Shutter": {"ShutterKeyFile": <value>}}The filename to use for the Shutter P2P key. If this not specified, the key is autogenerated in
shutter.key.plainfile. Defaults toshutter.key.plain. -
Shutter.ValidatorInfoFile- CLI
- Environment variable
- Configuration file
--shutter-validatorinfofile <value>--Shutter.ValidatorInfoFile <value>NETHERMIND_SHUTTERCONFIG_VALIDATORINFOFILE=<value>{"Shutter": {"ValidatorInfoFile": <value>}}The filepath of the validator info json file. Defaults to
null. -
Shutter.ValidatorRegistryContractAddress- CLI
- Environment variable
- Configuration file
--shutter-validatorregistrycontractaddress <value>--Shutter.ValidatorRegistryContractAddress <value>NETHERMIND_SHUTTERCONFIG_VALIDATORREGISTRYCONTRACTADDRESS=<value>{"Shutter": {"ValidatorRegistryContractAddress": <value>}}The address of the Shutter validator registry contract. Defaults to
null.
Snapshot
-
Snapshot.Checksum- CLI
- Environment variable
- Configuration file
--snapshot-checksum <value>--Snapshot.Checksum <value>NETHERMIND_SNAPSHOTCONFIG_CHECKSUM=<value>{"Snapshot": {"Checksum": <value>}}The SHA-256 checksum of the snapshot file. Defaults to
null. -
Snapshot.DownloadUrl- CLI
- Environment variable
- Configuration file
--snapshot-downloadurl <value>--Snapshot.DownloadUrl <value>NETHERMIND_SNAPSHOTCONFIG_DOWNLOADURL=<value>{"Snapshot": {"DownloadUrl": <value>}}The URL of the snapshot file. Defaults to
null. -
Snapshot.Enabled- CLI
- Environment variable
- Configuration file
--snapshot-enabled [true|false]--Snapshot.Enabled [true|false]NETHERMIND_SNAPSHOTCONFIG_ENABLED=true|false{"Snapshot": {"Enabled": true|false}}Whether to enable the Snapshot plugin. Allowed values:
truefalse. Defaults tofalse. -
Snapshot.SnapshotDirectory- CLI
- Environment variable
- Configuration file
--snapshot-snapshotdirectory <value>--Snapshot.SnapshotDirectory <value>NETHERMIND_SNAPSHOTCONFIG_SNAPSHOTDIRECTORY=<value>{"Snapshot": {"SnapshotDirectory": <value>}}The path to the directory to store the snapshot file. Defaults to
snapshot. -
Snapshot.SnapshotFileName- CLI
- Environment variable
- Configuration file
--snapshot-snapshotfilename <value>--Snapshot.SnapshotFileName <value>NETHERMIND_SNAPSHOTCONFIG_SNAPSHOTFILENAME=<value>{"Snapshot": {"SnapshotFileName": <value>}}The name of the snapshot file. Defaults to
snapshot.zip. -
Snapshot.Streaming- CLI
- Environment variable
- Configuration file
--snapshot-streaming [true|false]--Snapshot.Streaming [true|false]NETHERMIND_SNAPSHOTCONFIG_STREAMING=true|false{"Snapshot": {"Streaming": true|false}}Whether to stream the snapshot directly into the database directory without storing the archive file, reducing peak disk usage to the extracted size. Interrupted connections are resumed automatically within a run, but a node restart discards all progress and starts the download over, since no archive is kept on disk. Supported for tar-based archives only. Allowed values:
truefalse. Defaults tofalse. -
Snapshot.StreamingConnections- CLI
- Environment variable
- Configuration file
--snapshot-streamingconnections <value>--Snapshot.StreamingConnections <value>NETHERMIND_SNAPSHOTCONFIG_STREAMINGCONNECTIONS=<value>{"Snapshot": {"StreamingConnections": <value>}}The number of parallel connections the streaming snapshot download uses when the server supports range requests. Peak buffer memory is (connections + 1) x 64 MiB. Allowed range: 1-16. Defaults to
4. -
Snapshot.StripComponents- CLI
- Environment variable
- Configuration file
--snapshot-stripcomponents <value>--Snapshot.StripComponents <value>NETHERMIND_SNAPSHOTCONFIG_STRIPCOMPONENTS=<value>{"Snapshot": {"StripComponents": <value>}}Number of leading path components to strip when extracting a tar archive (passed as --strip-components to tar). Must be non-negative. Set this to match the depth of the snapshot path embedded in the archive. Defaults to
1.
StateDiffsWriter
-
StateDiffsWriter.Enabled- CLI
- Environment variable
- Configuration file
--statediffswriter-enabled [true|false]--StateDiffsWriter.Enabled [true|false]NETHERMIND_STATEDIFFSWRITERCONFIG_ENABLED=true|false{"StateDiffsWriter": {"Enabled": true|false}}Enable the per-block state-diff writer. Allowed values:
truefalse. Defaults tofalse. -
StateDiffsWriter.KeepLastNBlocks- CLI
- Environment variable
- Configuration file
--statediffswriter-keeplastnblocks <value>--StateDiffsWriter.KeepLastNBlocks <value>NETHERMIND_STATEDIFFSWRITERCONFIG_KEEPLASTNBLOCKS=<value>{"StateDiffsWriter": {"KeepLastNBlocks": <value>}}Number of most-recent blocks to retain in the BlockDiffs column family. Older entries are pruned by the background pruner. A consumer's catch-up should never need a window larger than this; lower for tighter disk budgets, raise if catch-up windows can exceed the default. Must be >= 0 (0 keeps nothing); a negative value disables pruning entirely. Defaults to
1000000. -
StateDiffsWriter.PruneIntervalSeconds- CLI
- Environment variable
- Configuration file
--statediffswriter-pruneintervalseconds <value>--StateDiffsWriter.PruneIntervalSeconds <value>NETHERMIND_STATEDIFFSWRITERCONFIG_PRUNEINTERVALSECONDS=<value>{"StateDiffsWriter": {"PruneIntervalSeconds": <value>}}Interval in seconds between background pruner sweeps. The pruner removes BlockDiffs rows whose block number is older than (currentHead - KeepLastNBlocks). 0 or negative disables pruning. Defaults to
600.
Surge
-
Surge.AverageGasUsagePercentage- CLI
- Environment variable
- Configuration file
--surge-averagegasusagepercentage <value>--Surge.AverageGasUsagePercentage <value>NETHERMIND_SURGECONFIG_AVERAGEGASUSAGEPERCENTAGE=<value>{"Surge": {"AverageGasUsagePercentage": <value>}}Percentage of the average gas usage to be used for gas price calculation. Defaults to
80. -
Surge.BlocksPerBatch- CLI
- Environment variable
- Configuration file
--surge-blocksperbatch <value>--Surge.BlocksPerBatch <value>NETHERMIND_SURGECONFIG_BLOCKSPERBATCH=<value>{"Surge": {"BlocksPerBatch": <value>}}Number of L2 blocks per batch. Defaults to
1800. -
Surge.BoostBaseFeePercentage- CLI
- Environment variable
- Configuration file
--surge-boostbasefeepercentage <value>--Surge.BoostBaseFeePercentage <value>NETHERMIND_SURGECONFIG_BOOSTBASEFEEPERCENTAGE=<value>{"Surge": {"BoostBaseFeePercentage": <value>}}Percentage of the base fee that is used for boosting. Defaults to
5. -
Surge.EstimatedOffchainProvingCost- CLI
- Environment variable
- Configuration file
--surge-estimatedoffchainprovingcost <value>--Surge.EstimatedOffchainProvingCost <value>NETHERMIND_SURGECONFIG_ESTIMATEDOFFCHAINPROVINGCOST=<value>{"Surge": {"EstimatedOffchainProvingCost": <value>}}Estimated offchain proving cost per batch in wei (~$5.5 @ $3000/ETH). Defaults to
1833333333333333. -
Surge.FeeHistoryBlockCount- CLI
- Environment variable
- Configuration file
--surge-feehistoryblockcount <value>--Surge.FeeHistoryBlockCount <value>NETHERMIND_SURGECONFIG_FEEHISTORYBLOCKCOUNT=<value>{"Surge": {"FeeHistoryBlockCount": <value>}}Number of blocks to consider for computing the L1 average base fee. Defaults to
200. -
Surge.FixedProposalGas- CLI
- Environment variable
- Configuration file
--surge-fixedproposalgas <value>--Surge.FixedProposalGas <value>NETHERMIND_SURGECONFIG_FIXEDPROPOSALGAS=<value>{"Surge": {"FixedProposalGas": <value>}}L1 gas for batch proposal. Defaults to
75000. -
Surge.FixedProposalGasWithFullInboxBuffer- CLI
- Environment variable
- Configuration file
--surge-fixedproposalgaswithfullinboxbuffer <value>--Surge.FixedProposalGasWithFullInboxBuffer <value>NETHERMIND_SURGECONFIG_FIXEDPROPOSALGASWITHFULLINBOXBUFFER=<value>{"Surge": {"FixedProposalGasWithFullInboxBuffer": <value>}}L1 gas for batch proposal with full inbox buffer. Defaults to
50000. -
Surge.FixedProvingGas- CLI
- Environment variable
- Configuration file
--surge-fixedprovinggas <value>--Surge.FixedProvingGas <value>NETHERMIND_SURGECONFIG_FIXEDPROVINGGAS=<value>{"Surge": {"FixedProvingGas": <value>}}L1 gas for proof verification. Defaults to
30000. -
Surge.GasPriceRefreshTimeoutSeconds- CLI
- Environment variable
- Configuration file
--surge-gaspricerefreshtimeoutseconds <value>--Surge.GasPriceRefreshTimeoutSeconds <value>NETHERMIND_SURGECONFIG_GASPRICEREFRESHTIMEOUTSECONDS=<value>{"Surge": {"GasPriceRefreshTimeoutSeconds": <value>}}Maximum time in seconds to use cached gas price estimates before forcing a refresh. Defaults to
12. -
Surge.L1EthApiEndpoint- CLI
- Environment variable
- Configuration file
--surge-l1ethapiendpoint <value>--Surge.L1EthApiEndpoint <value>NETHERMIND_SURGECONFIG_L1ETHAPIENDPOINT=<value>{"Surge": {"L1EthApiEndpoint": <value>}}The URL of the L1 execution node JSON-RPC API. Defaults to
null. -
Surge.L2BlockGasTarget- CLI
- Environment variable
- Configuration file
--surge-l2blockgastarget <value>--Surge.L2BlockGasTarget <value>NETHERMIND_SURGECONFIG_L2BLOCKGASTARGET=<value>{"Surge": {"L2BlockGasTarget": <value>}}Target gas per L2 block. Defaults to
40000. -
Surge.L2GasUsageWindowSize- CLI
- Environment variable
- Configuration file
--surge-l2gasusagewindowsize <value>--Surge.L2GasUsageWindowSize <value>NETHERMIND_SURGECONFIG_L2GASUSAGEWINDOWSIZE=<value>{"Surge": {"L2GasUsageWindowSize": <value>}}Number of recent L2 blocks to consider for computing the moving average of gas usage. Defaults to
20. -
Surge.MaxGasLimitRatio- CLI
- Environment variable
- Configuration file
--surge-maxgaslimitratio <value>--Surge.MaxGasLimitRatio <value>NETHERMIND_SURGECONFIG_MAXGASLIMITRATIO=<value>{"Surge": {"MaxGasLimitRatio": <value>}}Filter transactions exceeding the max allowed ratio of gas limit to the actual gas used (e.g. 1, 2 etc.). Set to 0 to disable. Defaults to
0. -
Surge.SharingPercentage- CLI
- Environment variable
- Configuration file
--surge-sharingpercentage <value>--Surge.SharingPercentage <value>NETHERMIND_SURGECONFIG_SHARINGPERCENTAGE=<value>{"Surge": {"SharingPercentage": <value>}}Percentage of the base fee that is shared with the L2 batch submitter. Defaults to
75. -
Surge.TaikoInboxAddress- CLI
- Environment variable
- Configuration file
--surge-taikoinboxaddress <value>--Surge.TaikoInboxAddress <value>NETHERMIND_SURGECONFIG_TAIKOINBOXADDRESS=<value>{"Surge": {"TaikoInboxAddress": <value>}}The address of the TaikoInbox contract. Defaults to
null. -
Surge.TargetBlobCount- CLI
- Environment variable
- Configuration file
--surge-targetblobcount <value>--Surge.TargetBlobCount <value>NETHERMIND_SURGECONFIG_TARGETBLOBCOUNT=<value>{"Surge": {"TargetBlobCount": <value>}}Target blob count per batch. Defaults to
3. -
Surge.TdxEnabled- CLI
- Environment variable
- Configuration file
--surge-tdxenabled [true|false]--Surge.TdxEnabled [true|false]NETHERMIND_SURGECONFIG_TDXENABLED=true|false{"Surge": {"TdxEnabled": true|false}}Enable TDX attestation support. Allowed values:
truefalse. Defaults tofalse.
SurgeTdx
-
SurgeTdx.ConfigPath- CLI
- Environment variable
- Configuration file
--surgetdx-configpath <value>--SurgeTdx.ConfigPath <value>NETHERMIND_SURGETDXCONFIG_CONFIGPATH=<value>{"SurgeTdx": {"ConfigPath": <value>}}Path to store TDX bootstrap data and keys. Defaults to
~/.config/nethermind/tdx. -
SurgeTdx.SocketPath- CLI
- Environment variable
- Configuration file
--surgetdx-socketpath <value>--SurgeTdx.SocketPath <value>NETHERMIND_SURGETDXCONFIG_SOCKETPATH=<value>{"SurgeTdx": {"SocketPath": <value>}}Path to the tdxs Unix socket. Defaults to
/var/tdxs.sock.
Sync
-
Sync.AncientBlockAccessListsBarrier- CLI
- Environment variable
- Configuration file
--sync-ancientblockaccesslistsbarrier <value>--Sync.AncientBlockAccessListsBarrier <value>NETHERMIND_SYNCCONFIG_ANCIENTBLOCKACCESSLISTSBARRIER=<value>{"Sync": {"AncientBlockAccessListsBarrier": <value>}}The earliest block access list downloaded with fast sync when
DownloadBlockAccessListsInFastSyncis set totrue. The actual value is determined as follows:max{ 1, min{ PivotNumber, AncientBlockAccessListsBarrier } }Defaults to
0. -
Sync.AncientBodiesBarrier- CLI
- Environment variable
- Configuration file
--sync-ancientbodiesbarrier <value>--Sync.AncientBodiesBarrier <value>NETHERMIND_SYNCCONFIG_ANCIENTBODIESBARRIER=<value>{"Sync": {"AncientBodiesBarrier": <value>}}The earliest body downloaded with fast sync when
DownloadBodiesInFastSyncis set totrue. The actual value is determined as follows:max{ 1, min{ PivotNumber, AncientBodiesBarrier } }Defaults to
0. -
Sync.AncientReceiptsBarrier- CLI
- Environment variable
- Configuration file
--sync-ancientreceiptsbarrier <value>--Sync.AncientReceiptsBarrier <value>NETHERMIND_SYNCCONFIG_ANCIENTRECEIPTSBARRIER=<value>{"Sync": {"AncientReceiptsBarrier": <value>}}The earliest receipt downloaded with fast sync when
DownloadReceiptsInFastSyncis set totrue. The actual value is determined as follows:max{ 1, min{ PivotNumber, max{ AncientBodiesBarrier, AncientReceiptsBarrier } } }Defaults to
0. -
Sync.DownloadBlockAccessListsInFastSync- CLI
- Environment variable
- Configuration file
--sync-downloadblockaccesslistsinfastsync [true|false]--Sync.DownloadBlockAccessListsInFastSync [true|false]NETHERMIND_SYNCCONFIG_DOWNLOADBLOCKACCESSLISTSINFASTSYNC=true|false{"Sync": {"DownloadBlockAccessListsInFastSync": true|false}}Whether to download block access lists in the Fast sync mode. Allowed values:
truefalse. Defaults totrue. -
Sync.DownloadBodiesInFastSync- CLI
- Environment variable
- Configuration file
--sync-downloadbodiesinfastsync [true|false]--Sync.DownloadBodiesInFastSync [true|false]NETHERMIND_SYNCCONFIG_DOWNLOADBODIESINFASTSYNC=true|false{"Sync": {"DownloadBodiesInFastSync": true|false}}Whether to download the block bodies in the Fast sync mode. Allowed values:
truefalse. Defaults totrue. -
Sync.DownloadHeadersInFastSync- CLI
- Environment variable
- Configuration file
--sync-downloadheadersinfastsync [true|false]--Sync.DownloadHeadersInFastSync [true|false]NETHERMIND_SYNCCONFIG_DOWNLOADHEADERSINFASTSYNC=true|false{"Sync": {"DownloadHeadersInFastSync": true|false}}Whether to download the old block headers in the Fast sync mode. If
false, Nethermind downloads only recent blocks headers. Allowed values:truefalse. Defaults totrue. -
Sync.DownloadReceiptsInFastSync- CLI
- Environment variable
- Configuration file
--sync-downloadreceiptsinfastsync [true|false]--Sync.DownloadReceiptsInFastSync [true|false]NETHERMIND_SYNCCONFIG_DOWNLOADRECEIPTSINFASTSYNC=true|false{"Sync": {"DownloadReceiptsInFastSync": true|false}}Whether to download receipts in the Fast sync mode. This slows down the process by a few hours but allows to interact with dApps that perform extensive historical logs searches. Allowed values:
truefalse. Defaults totrue. -
Sync.ExitOnSynced- CLI
- Environment variable
- Configuration file
--sync-exitonsynced [true|false]--Sync.ExitOnSynced [true|false]NETHERMIND_SYNCCONFIG_EXITONSYNCED=true|false{"Sync": {"ExitOnSynced": true|false}}Whether to shut down Nethermind once sync is finished. Allowed values:
truefalse. Defaults tofalse. -
Sync.ExitOnSyncedWaitTimeSec- CLI
- Environment variable
- Configuration file
--sync-exitonsyncedwaittimesec <value>--Sync.ExitOnSyncedWaitTimeSec <value>NETHERMIND_SYNCCONFIG_EXITONSYNCEDWAITTIMESEC=<value>{"Sync": {"ExitOnSyncedWaitTimeSec": <value>}}The time, in seconds, to wait before shutting down Nethermind once sync is finished. Defaults to
60. -
Sync.FastSync- CLI
- Environment variable
- Configuration file
--sync-fastsync [true|false]--Sync.FastSync [true|false]NETHERMIND_SYNCCONFIG_FASTSYNC=true|false{"Sync": {"FastSync": true|false}}Whether to use the Fast sync mode (the eth/63 synchronization algorithm). Allowed values:
truefalse. Defaults tofalse. -
Sync.FixReceipts- CLI
- Environment variable
- Configuration file
--sync-fixreceipts [true|false]--Sync.FixReceipts [true|false]NETHERMIND_SYNCCONFIG_FIXRECEIPTS=true|false{"Sync": {"FixReceipts": true|false}}Whether to enable receipts validation that checks for receipts that might be missing because of a bug. If needed, receipts are downloaded from the network. The range to verify is
FixReceiptsStartingBlock..FixReceiptsLastBlock. Allowed values:truefalse. Defaults tofalse. -
Sync.FixReceiptsLastBlock- CLI
- Environment variable
- Configuration file
--sync-fixreceiptslastblock <value>--Sync.FixReceiptsLastBlock <value>NETHERMIND_SYNCCONFIG_FIXRECEIPTSLASTBLOCK=<value>{"Sync": {"FixReceiptsLastBlock": <value>}}The last block (inclusive) to verify/fix receipts for. When not set, defaults to the chain head minus 2, to which it's always clamped. Defaults to
null. -
Sync.FixReceiptsStartingBlock- CLI
- Environment variable
- Configuration file
--sync-fixreceiptsstartingblock <value>--Sync.FixReceiptsStartingBlock <value>NETHERMIND_SYNCCONFIG_FIXRECEIPTSSTARTINGBLOCK=<value>{"Sync": {"FixReceiptsStartingBlock": <value>}}The first block (inclusive) to verify/fix receipts for. When not set, defaults to the ancient receipts barrier, which depends on the pivot number; in that case the pivot number must be the same one used originally as it's the cut-off point. Defaults to
null. -
Sync.FixTotalDifficulty- CLI
- Environment variable
- Configuration file
--sync-fixtotaldifficulty [true|false]--Sync.FixTotalDifficulty [true|false]NETHERMIND_SYNCCONFIG_FIXTOTALDIFFICULTY=true|false{"Sync": {"FixTotalDifficulty": true|false}}Whether to recalculate the total difficulty from
FixTotalDifficultyStartingBlocktoFixTotalDifficultyLastBlock. Allowed values:truefalse. Defaults tofalse. -
Sync.FixTotalDifficultyLastBlock- CLI
- Environment variable
- Configuration file
--sync-fixtotaldifficultylastblock <value>--Sync.FixTotalDifficultyLastBlock <value>NETHERMIND_SYNCCONFIG_FIXTOTALDIFFICULTYLASTBLOCK=<value>{"Sync": {"FixTotalDifficultyLastBlock": <value>}}The last block to recalculate the total difficulty for. If not specified, the best known block is used. Defaults to
null. -
Sync.FixTotalDifficultyStartingBlock- CLI
- Environment variable
- Configuration file
--sync-fixtotaldifficultystartingblock <value>--Sync.FixTotalDifficultyStartingBlock <value>NETHERMIND_SYNCCONFIG_FIXTOTALDIFFICULTYSTARTINGBLOCK=<value>{"Sync": {"FixTotalDifficultyStartingBlock": <value>}}The first block to recalculate the total difficulty for. Defaults to
1. -
Sync.MaxAttemptsToUpdatePivot- CLI
- Environment variable
- Configuration file
--sync-maxattemptstoupdatepivot <value>--Sync.MaxAttemptsToUpdatePivot <value>NETHERMIND_SYNCCONFIG_MAXATTEMPTSTOUPDATEPIVOT=<value>{"Sync": {"MaxAttemptsToUpdatePivot": <value>}}The max number of attempts to update the pivot block based on the FCU message from the consensus client. Set to
-1to retry forever (recommended for nodes that may start before the consensus client is available). Defaults to-1. -
Sync.MaxProcessingThreads- CLI
- Environment variable
- Configuration file
--sync-maxprocessingthreads <value>--Sync.MaxProcessingThreads <value>NETHERMIND_SYNCCONFIG_MAXPROCESSINGTHREADS=<value>{"Sync": {"MaxProcessingThreads": <value>}}The max number of threads used for syncing.
0to use the number of logical processors. Snap and state sync allow up to twice this many in-flight requests while limiting concurrent response processing to this value. Defaults to0. -
Sync.NetworkingEnabled- CLI
- Environment variable
- Configuration file
--sync-networkingenabled [true|false]--Sync.NetworkingEnabled [true|false]NETHERMIND_SYNCCONFIG_NETWORKINGENABLED=true|false{"Sync": {"NetworkingEnabled": true|false}}Whether to connect to peers and sync. Allowed values:
truefalse. Defaults totrue. -
Sync.PivotHash- CLI
- Environment variable
- Configuration file
--sync-pivothash <value>--Sync.PivotHash <value>NETHERMIND_SYNCCONFIG_PIVOTHASH=<value>{"Sync": {"PivotHash": <value>}}The hash of the pivot block for the Fast sync mode. Defaults to
null. -
Sync.PivotNumber- CLI
- Environment variable
- Configuration file
--sync-pivotnumber <value>--Sync.PivotNumber <value>NETHERMIND_SYNCCONFIG_PIVOTNUMBER=<value>{"Sync": {"PivotNumber": <value>}}The number of the pivot block for the Fast sync mode. Defaults to
0. -
Sync.PivotTotalDifficulty- CLI
- Environment variable
- Configuration file
--sync-pivottotaldifficulty <value>--Sync.PivotTotalDifficulty <value>NETHERMIND_SYNCCONFIG_PIVOTTOTALDIFFICULTY=<value>{"Sync": {"PivotTotalDifficulty": <value>}}The total difficulty of the pivot block for the Fast sync mode. Defaults to
null. -
Sync.ReconstructFinalizedStateFromBlockAccessLists- CLI
- Environment variable
- Configuration file
--sync-reconstructfinalizedstatefromblockaccesslists [true|false]--Sync.ReconstructFinalizedStateFromBlockAccessLists [true|false]NETHERMIND_SYNCCONFIG_RECONSTRUCTFINALIZEDSTATEFROMBLOCKACCESSLISTS=true|false{"Sync": {"ReconstructFinalizedStateFromBlockAccessLists": true|false}}Whether to catch up consensus-finalized blocks by applying their EIP-7928 block access lists instead of executing them. State and receipts roots are verified; unfinalized blocks, and blocks whose data is unavailable or mismatched, execute normally. Allowed values:
truefalse. Defaults tofalse. -
Sync.SnapServingMaxDepth- CLI
- Environment variable
- Configuration file
--sync-snapservingmaxdepth <value>--Sync.SnapServingMaxDepth <value>NETHERMIND_SYNCCONFIG_SNAPSERVINGMAXDEPTH=<value>{"Sync": {"SnapServingMaxDepth": <value>}}The maximum depth (in blocks) for serving snap sync requests. Higher values allow serving requests for older blocks, useful for networks with fast block times like Arbitrum. Defaults to
128. -
Sync.SnapSync- CLI
- Environment variable
- Configuration file
--sync-snapsync [true|false]--Sync.SnapSync [true|false]NETHERMIND_SYNCCONFIG_SNAPSYNC=true|false{"Sync": {"SnapSync": true|false}}Whether to use the Snap sync mode. Allowed values:
truefalse. Defaults tofalse. -
Sync.SnapSyncAccountRangePartitionCount- CLI
- Environment variable
- Configuration file
--sync-snapsyncaccountrangepartitioncount <value>--Sync.SnapSyncAccountRangePartitionCount <value>NETHERMIND_SYNCCONFIG_SNAPSYNCACCOUNTRANGEPARTITIONCOUNT=<value>{"Sync": {"SnapSyncAccountRangePartitionCount": <value>}}The number of account range partitions to create. Increases the Snap sync request concurrency. Allowed values are between 1 and 256. Defaults to
8. -
Sync.StrictMode- CLI
- Environment variable
- Configuration file
--sync-strictmode [true|false]--Sync.StrictMode [true|false]NETHERMIND_SYNCCONFIG_STRICTMODE=true|false{"Sync": {"StrictMode": true|false}}Whether to disable some optimizations and do a more extensive sync. Useful when sync state is corrupted. Allowed values:
truefalse. Defaults tofalse. -
Sync.SynchronizationEnabled- CLI
- Environment variable
- Configuration file
--sync-synchronizationenabled [true|false]--Sync.SynchronizationEnabled [true|false]NETHERMIND_SYNCCONFIG_SYNCHRONIZATIONENABLED=true|false{"Sync": {"SynchronizationEnabled": true|false}}Whether to download and process new blocks. Allowed values:
truefalse. Defaults totrue. -
Sync.UseGethLimitsInFastBlocks- CLI
- Environment variable
- Configuration file
--sync-usegethlimitsinfastblocks [true|false]--Sync.UseGethLimitsInFastBlocks [true|false]NETHERMIND_SYNCCONFIG_USEGETHLIMITSINFASTBLOCKS=true|false{"Sync": {"UseGethLimitsInFastBlocks": true|false}}Whether to make smaller requests, in Fast Blocks mode, to avoid Geth from disconnecting. On the Geth-heavy networks (e.g., Mainnet), it's a desired behavior while on Nethermind- or OpenEthereum-heavy networks (Aura), it slows down the sync by a factor of ~4. Allowed values:
truefalse. Defaults totrue.
TraceStore
-
TraceStore.AdditionalRocksDbOptions- CLI
- Environment variable
- Configuration file
--tracestore-additionalrocksdboptions <value>--TraceStore.AdditionalRocksDbOptions <value>NETHERMIND_TRACESTORECONFIG_ADDITIONALROCKSDBOPTIONS=<value>{"TraceStore": {"AdditionalRocksDbOptions": <value>}}Semicolon-terminated RocksDB options for stored traces, appended after the global additional RocksDB options.
-
TraceStore.AddressIndexEnabled- CLI
- Environment variable
- Configuration file
--tracestore-addressindexenabled [true|false]--TraceStore.AddressIndexEnabled [true|false]NETHERMIND_TRACESTORECONFIG_ADDRESSINDEXENABLED=true|false{"TraceStore": {"AddressIndexEnabled": true|false}}Whether to build a separate trace-address index for OTS history. Requires BlocksToKeep=0 and TraceTypes including Trace. Uncovered history is scanned. Allowed values:
truefalse. Defaults tofalse. -
TraceStore.AddressIndexFromBlock- CLI
- Environment variable
- Configuration file
--tracestore-addressindexfromblock <value>--TraceStore.AddressIndexFromBlock <value>NETHERMIND_TRACESTORECONFIG_ADDRESSINDEXFROMBLOCK=<value>{"TraceStore": {"AddressIndexFromBlock": <value>}}The first block to index. Earlier history is scanned, not assumed empty. Defaults to
1. -
TraceStore.AddressIndexLag- CLI
- Environment variable
- Configuration file
--tracestore-addressindexlag <value>--TraceStore.AddressIndexLag <value>NETHERMIND_TRACESTORECONFIG_ADDRESSINDEXLAG=<value>{"TraceStore": {"AddressIndexLag": <value>}}The number of blocks behind the head at which trace-address indexing stops. This is not a finality guarantee. Defaults to
64. -
TraceStore.AddressIndexReset- CLI
- Environment variable
- Configuration file
--tracestore-addressindexreset [true|false]--TraceStore.AddressIndexReset [true|false]NETHERMIND_TRACESTORECONFIG_ADDRESSINDEXRESET=true|false{"TraceStore": {"AddressIndexReset": true|false}}Whether to reset only the trace-address index on startup. Use once after checkpoint invalidation, then disable it. Allowed values:
truefalse. Defaults tofalse. -
TraceStore.BlocksToKeep- CLI
- Environment variable
- Configuration file
--tracestore-blockstokeep <value>--TraceStore.BlocksToKeep <value>NETHERMIND_TRACESTORECONFIG_BLOCKSTOKEEP=<value>{"TraceStore": {"BlocksToKeep": <value>}}The number of blocks to store, counting from the head. If
0, all traces of the processed blocks are stored. Defaults to10000. -
TraceStore.DeserializationParallelization- CLI
- Environment variable
- Configuration file
--tracestore-deserializationparallelization <value>--TraceStore.DeserializationParallelization <value>NETHERMIND_TRACESTORECONFIG_DESERIALIZATIONPARALLELIZATION=<value>{"TraceStore": {"DeserializationParallelization": <value>}}The max parallelization when deserialization requests the
trace_filtermethod.0to use the number of logical processors. If you experience a resource shortage, set to a low number. Defaults to0. -
TraceStore.Enabled- CLI
- Environment variable
- Configuration file
--tracestore-enabled [true|false]--TraceStore.Enabled [true|false]NETHERMIND_TRACESTORECONFIG_ENABLED=true|false{"TraceStore": {"Enabled": true|false}}Whether to enable the TraceStore plugin. If enabled, traces come from the database whenever possible. Allowed values:
truefalse. Defaults tofalse. -
TraceStore.OtsModuleConcurrentInstances- CLI
- Environment variable
- Configuration file
--tracestore-otsmoduleconcurrentinstances <value>--TraceStore.OtsModuleConcurrentInstances <value>NETHERMIND_TRACESTORECONFIG_OTSMODULECONCURRENTINSTANCES=<value>{"TraceStore": {"OtsModuleConcurrentInstances": <value>}}The number of concurrent instances of the OTS RPC module. Values below 1 use 1. Raising this limit increases concurrent historical scans and their CPU, I/O and memory load. Defaults to
2. -
TraceStore.RocksDbOptions- CLI
- Environment variable
- Configuration file
--tracestore-rocksdboptions <value>--TraceStore.RocksDbOptions <value>NETHERMIND_TRACESTORECONFIG_ROCKSDBOPTIONS=<value>{"TraceStore": {"RocksDbOptions": <value>}}Semicolon-terminated RocksDB options for stored traces, appended to the global RocksDB defaults.
-
TraceStore.TraceTypes- CLI
- Environment variable
- Configuration file
--tracestore-tracetypes <value>--TraceStore.TraceTypes <value>NETHERMIND_TRACESTORECONFIG_TRACETYPES=<value>{"TraceStore": {"TraceTypes": <value>}}The types of traces to store. Requests for unrecorded types fall back to live tracing and require available historical state.
trace_blockandtrace_filterrequire bothTraceandRewardsto use the store. Transaction replays requestingRewardsalways trace live because stored transaction traces omit block rewards.Allowed values:
None: None.VmTrace: Provides a full trace of the EVM state throughout the execution of transactions at each op-code, including subcalls.StateDiff: Provides Ethereum state difference detailing all altered portions of the state made due to the execution of transactions.Trace: Provides transaction trace, including subcalls.Rewards: Includes block rewards in the trace when tracing full blocks.All: Combines theRewardsStateDiffTraceVmTraceoptions.
Defaults to
Trace, Rewards.
TrustedInput
-
TrustedInput.CacheSize- CLI
- Environment variable
- Configuration file
--trustedinput-cachesize <value>--TrustedInput.CacheSize <value>NETHERMIND_TRUSTEDINPUTCONFIG_CACHESIZE=<value>{"TrustedInput": {"CacheSize": <value>}}The number of most recent captured inputs kept in memory. Defaults to
64. -
TrustedInput.Enabled- CLI
- Environment variable
- Configuration file
--trustedinput-enabled [true|false]--TrustedInput.Enabled [true|false]NETHERMIND_TRUSTEDINPUTCONFIG_ENABLED=true|false{"TrustedInput": {"Enabled": true|false}}Whether to capture trusted zkVM guest inputs while processing blocks, and serve them over
trustedinput_getInput. A capture runs in the background after the import: it recovers each sender's and ECRECOVER key once more for the hints and encodes the input, and the lastCacheSizeinputs stay in memory, each the size of the block's witness, transactions and codes. Capture skips blocks while busy; RPC regenerates missing inputs. Allowed values:truefalse. Defaults tofalse. -
TrustedInput.OutputDirectory- CLI
- Environment variable
- Configuration file
--trustedinput-outputdirectory <value>--TrustedInput.OutputDirectory <value>NETHERMIND_TRUSTEDINPUTCONFIG_OUTPUTDIRECTORY=<value>{"TrustedInput": {"OutputDirectory": <value>}}The directory each captured input is also written to, as
<number>-<hash>.nti. No files are written when unset. Defaults tonull.
TxPool
-
TxPool.AcceptTxWhenNotSynced- CLI
- Environment variable
- Configuration file
--txpool-accepttxwhennotsynced [true|false]--TxPool.AcceptTxWhenNotSynced [true|false]NETHERMIND_TXPOOLCONFIG_ACCEPTTXWHENNOTSYNCED=true|false{"TxPool": {"AcceptTxWhenNotSynced": true|false}}Accept transactions when not synced. Allowed values:
truefalse. Defaults tofalse. -
TxPool.BlobCacheSize- CLI
- Environment variable
- Configuration file
--txpool-blobcachesize <value>--TxPool.BlobCacheSize <value>NETHERMIND_TXPOOLCONFIG_BLOBCACHESIZE=<value>{"TxPool": {"BlobCacheSize": <value>}}The max number of full blob transactions cached in memory. The default value uses max 200MB for 6 blobs where one blob is 33MB (256 * 128KB) Defaults to
256. -
TxPool.BlobsSupport- CLI
- Environment variable
- Configuration file
--txpool-blobssupport <value>--TxPool.BlobsSupport <value>NETHERMIND_TXPOOLCONFIG_BLOBSSUPPORT=<value>{"TxPool": {"BlobsSupport": <value>}}The blobs support mode.
Allowed values:
Disabled: Disables support for blob transactions.InMemory: Stores the blob transactions in memory only.Storage: Stores the blob transactions in the permanent storage.StorageWithReorgs: Stores the blob transactions in the permanent storage with support for restoring reorganized transactions to the blob pool.
Defaults to
StorageWithReorgs. -
TxPool.CurrentBlobBaseFeeRequired- CLI
- Environment variable
- Configuration file
--txpool-currentblobbasefeerequired [true|false]--TxPool.CurrentBlobBaseFeeRequired [true|false]NETHERMIND_TXPOOLCONFIG_CURRENTBLOBBASEFEEREQUIRED=true|false{"TxPool": {"CurrentBlobBaseFeeRequired": true|false}}Whether to require the max fee per blob gas to be greater than or equal to the current blob base fee when adding a blob transaction to the pool. Allowed values:
truefalse. Defaults totrue. -
TxPool.FrameTxEvictionRetryBudget- CLI
- Environment variable
- Configuration file
--txpool-frametxevictionretrybudget <value>--TxPool.FrameTxEvictionRetryBudget <value>NETHERMIND_TXPOOLCONFIG_FRAMETXEVICTIONRETRYBUDGET=<value>{"TxPool": {"FrameTxEvictionRetryBudget": <value>}}EIP-8141: the number of distinct chain heads a frame transaction may fail to approve any payment across, during block production, before the pool evicts it. Some failures turn on head state that only a new head can clear (an out-of-range recent-root reference, a SENDER frame reached before its approval), so the budget is counted per head: repeated production passes against the same head spend a single unit. A value above
1keeps a transiently-failing transaction for that many heads at the cost of re-simulating its validation prefix once per head;1(or below) evicts on the first failed attempt, the pre-budget behaviour. The budget is counted per pool residency, not per transaction: an evicted transaction may be resubmitted, and a resubmitted one is granted a fresh budget, because the failures it buys heads for turn on chain state that the time out of the pool may have cleared. Raising it therefore multiplies by that factor the production-time simulation a peer can provoke by re-gossiping a transaction that keeps failing. Defaults to1. -
TxPool.FrameTxMaxCodeDependencies- CLI
- Environment variable
- Configuration file
--txpool-frametxmaxcodedependencies <value>--TxPool.FrameTxMaxCodeDependencies <value>NETHERMIND_TXPOOLCONFIG_FRAMETXMAXCODEDEPENDENCIES=<value>{"TxPool": {"FrameTxMaxCodeDependencies": <value>}}EIP-8298: the max distinct accounts one frame transaction's validation prefix may rely on, counting accounts whose code can change through
DELEGATECALLorCALLCODEand accounts EIP-8151ecRecoverreturned. A prefix relying on more is rejected.0to reject all such transactions. Defaults to8. -
TxPool.FrameTxMaxPendingPerDelegatingCode- CLI
- Environment variable
- Configuration file
--txpool-frametxmaxpendingperdelegatingcode <value>--TxPool.FrameTxMaxPendingPerDelegatingCode <value>NETHERMIND_TXPOOLCONFIG_FRAMETXMAXPENDINGPERDELEGATINGCODE=<value>{"TxPool": {"FrameTxMaxPendingPerDelegatingCode": <value>}}EIP-8298: the max pending frame transactions whose validation prefix relies on the same account, when that account's code can change through
DELEGATECALLorCALLCODE, or when EIP-8151ecRecoverreturned that account. An account relied on only in the pay frame of a code-carrying paymaster other than the sender takes one slot per paymaster instead, in a separate set of this many slots, as that paymaster's own pending limit bounds its transactions.0to reject all such transactions. Defaults to16. -
TxPool.FrameTxMaxVerifyGas- CLI
- Environment variable
- Configuration file
--txpool-frametxmaxverifygas <value>--TxPool.FrameTxMaxVerifyGas <value>NETHERMIND_TXPOOLCONFIG_FRAMETXMAXVERIFYGAS=<value>{"TxPool": {"FrameTxMaxVerifyGas": <value>}}The node's execution-gas budget for a frame transaction's validation prefix plus signature verification. Positive values below the shared EIP-8141
MAX_VERIFY_GASfloor are raised to that floor. Higher values allow local headroom on any network.0lifts the static prefix admission limit while signature verification and prefix simulation retain the default 300,000-gas node budget. This setting does not affect block validity. Defaults to300000. -
TxPool.FrameTxMaxVerifyStateGas- CLI
- Environment variable
- Configuration file
--txpool-frametxmaxverifystategas <value>--TxPool.FrameTxMaxVerifyStateGas <value>NETHERMIND_TXPOOLCONFIG_FRAMETXMAXVERIFYSTATEGAS=<value>{"TxPool": {"FrameTxMaxVerifyStateGas": <value>}}EIP-8141
MAX_VERIFY_STATE_GAS: the max state gas a frame transaction's validation prefix may budget across itslimits.statefor it to be accepted into the public mempool. EIP-8250 charges a first use of each keyed nonce key 97,920 state gas, so at the default value a first-use set of more than five keys does not propagate.0to lift the limit. Raise it only on a test network. Defaults to500000. -
TxPool.FrameTxPeerSimulationFairShare- CLI
- Environment variable
- Configuration file
--txpool-frametxpeersimulationfairshare [true|false]--TxPool.FrameTxPeerSimulationFairShare [true|false]NETHERMIND_TXPOOLCONFIG_FRAMETXPEERSIMULATIONFAIRSHARE=true|false{"TxPool": {"FrameTxPeerSimulationFairShare": true|false}}EIP-8141: whether each peer gets a fair share of
FrameTxSimulationBudgetPerHeadMsfor frame transactions that fail validation. Once a peer has spent its share, its next frame transactions in that head are dropped unvalidated and count as rejections towards its flood limits. Ignored whenFrameTxSimulationBudgetPerHeadMsis0. Allowed values:truefalse. Defaults tofalse. -
TxPool.FrameTxRevalidationDeferralBudget- CLI
- Environment variable
- Configuration file
--txpool-frametxrevalidationdeferralbudget <value>--TxPool.FrameTxRevalidationDeferralBudget <value>NETHERMIND_TXPOOLCONFIG_FRAMETXREVALIDATIONDEFERRALBUDGET=<value>{"TxPool": {"FrameTxRevalidationDeferralBudget": <value>}}EIP-8141: the number of consecutive chain heads a pending frame transaction the pool deferred rather than judged may be carried across before it stops re-queuing it. Any head that revalidates it without deferring it again resets the count.
0stops re-queuing entirely. Defaults to2. -
TxPool.FrameTxSimulationBudgetPerHeadMs- CLI
- Environment variable
- Configuration file
--txpool-frametxsimulationbudgetperheadms <value>--TxPool.FrameTxSimulationBudgetPerHeadMs <value>NETHERMIND_TXPOOLCONFIG_FRAMETXSIMULATIONBUDGETPERHEADMS=<value>{"TxPool": {"FrameTxSimulationBudgetPerHeadMs": <value>}}The total time, in milliseconds, spent simulating EIP-8141 validation prefixes per chain head. Once spent, opaque frame transactions are rejected until the next head.
0to lift the limit. Defaults to1000. -
TxPool.FrameTxSimulationTimeoutMs- CLI
- Environment variable
- Configuration file
--txpool-frametxsimulationtimeoutms <value>--TxPool.FrameTxSimulationTimeoutMs <value>NETHERMIND_TXPOOLCONFIG_FRAMETXSIMULATIONTIMEOUTMS=<value>{"TxPool": {"FrameTxSimulationTimeoutMs": <value>}}The max time, in milliseconds, one EIP-8141 validation-prefix simulation may run before the transaction is rejected. A local submission may also wait this long for a busy simulator, so its ceiling is twice this value.
0to lift the limit. Defaults to250. -
TxPool.FrameTxWidthCap- CLI
- Environment variable
- Configuration file
--txpool-frametxwidthcap <value>--TxPool.FrameTxWidthCap <value>NETHERMIND_TXPOOLCONFIG_FRAMETXWIDTHCAP=<value>{"TxPool": {"FrameTxWidthCap": <value>}}EIP-8141 MATCHA
width_cap: the max width, in gas, a sender or a paymaster may hold. Newly finalized gas earns width only up to this cap; lowering it never shrinks width already earned.0lifts the cap. Used only whenFrameTxWidthEnabledis set. Defaults to0. -
TxPool.FrameTxWidthEnabled- CLI
- Environment variable
- Configuration file
--txpool-frametxwidthenabled [true|false]--TxPool.FrameTxWidthEnabled [true|false]NETHERMIND_TXPOOLCONFIG_FRAMETXWIDTHENABLED=true|false{"TxPool": {"FrameTxWidthEnabled": true|false}}Whether each pending EIP-8250 keyed-nonce frame transaction a sender admits beyond the single EIP-8141 baseline transaction must spend sender width, earned from the gas the sender's finalized keyed-nonce frame transactions paid. Also rejects a keyed-nonce frame transaction whose nonce keys overlap a pending one of the same sender. The same rule applies to a code-carrying paymaster in place of the EIP-8141 cap on its pending sponsored frame transactions: each one beyond the single baseline transaction must spend paymaster width, earned from the gas of the finalized frame transactions the paymaster paid for. Experimental. Allowed values:
truefalse. Defaults tofalse. -
TxPool.FrameTxWidthSafetyFactorPermille- CLI
- Environment variable
- Configuration file
--txpool-frametxwidthsafetyfactorpermille <value>--TxPool.FrameTxWidthSafetyFactorPermille <value>NETHERMIND_TXPOOLCONFIG_FRAMETXWIDTHSAFETYFACTORPERMILLE=<value>{"TxPool": {"FrameTxWidthSafetyFactorPermille": <value>}}EIP-8141 MATCHA
safety_factor, in permille of a keyed-nonce frame transaction'sadmission_gas, that fixes the width its admission and each revalidation spends:charge = ceil(safety_factor * admission_gas).admission_gasis declared work: the transaction's intrinsic gas, which prices its data, signatures, nonce key access and recent-root references, plus the validation prefix's execution gas limits, not the gas the prefix actually burns.1000charges exactly that declared gas; a higher value adds headroom for client work EVM gas does not measure. Values below1000are raised to1000. Spent width is never returned. Used only whenFrameTxWidthEnabledis set. Defaults to1000. -
TxPool.GasLimit- CLI
- Environment variable
- Configuration file
--txpool-gaslimit <value>--TxPool.GasLimit <value>NETHERMIND_TXPOOLCONFIG_GASLIMIT=<value>{"TxPool": {"GasLimit": <value>}}The max transaction gas allowed. Defaults to
null. -
TxPool.HashCacheSize- CLI
- Environment variable
- Configuration file
--txpool-hashcachesize <value>--TxPool.HashCacheSize <value>NETHERMIND_TXPOOLCONFIG_HASHCACHESIZE=<value>{"TxPool": {"HashCacheSize": <value>}}The max number of cached hashes of already known transactions. Keep it well above
Size+PersistentBlobStorageSize: a pooled transaction whose hash is evicted is fetched from peers again, and resubmitting it is rejected as an underpriced replacement.0disables the long-term cache, so hashes are only remembered until the next head. Defaults to131072. -
TxPool.InMemoryBlobPoolSize- CLI
- Environment variable
- Configuration file
--txpool-inmemoryblobpoolsize <value>--TxPool.InMemoryBlobPoolSize <value>NETHERMIND_TXPOOLCONFIG_INMEMORYBLOBPOOLSIZE=<value>{"TxPool": {"InMemoryBlobPoolSize": <value>}}The max number of full blob transactions stored in memory. Used only if persistent storage is disabled. Defaults to
512. -
TxPool.MaxBlobTxSize- CLI
- Environment variable
- Configuration file
--txpool-maxblobtxsize <value>--TxPool.MaxBlobTxSize <value>NETHERMIND_TXPOOLCONFIG_MAXBLOBTXSIZE=<value>{"TxPool": {"MaxBlobTxSize": <value>}}The max blob transaction size allowed, excluding blobs, in bytes. Defaults to
1048576. -
TxPool.MaxPendingBlobTxsPerSender- CLI
- Environment variable
- Configuration file
--txpool-maxpendingblobtxspersender <value>--TxPool.MaxPendingBlobTxsPerSender <value>NETHERMIND_TXPOOLCONFIG_MAXPENDINGBLOBTXSPERSENDER=<value>{"TxPool": {"MaxPendingBlobTxsPerSender": <value>}}The max number of pending blob transactions per single sender.
0to lift the limit. Defaults to16. -
TxPool.MaxPendingTxsPerSender- CLI
- Environment variable
- Configuration file
--txpool-maxpendingtxspersender <value>--TxPool.MaxPendingTxsPerSender <value>NETHERMIND_TXPOOLCONFIG_MAXPENDINGTXSPERSENDER=<value>{"TxPool": {"MaxPendingTxsPerSender": <value>}}The max number of pending transactions per single sender.
0to lift the limit. Defaults to0. -
TxPool.MaxTxSize- CLI
- Environment variable
- Configuration file
--txpool-maxtxsize <value>--TxPool.MaxTxSize <value>NETHERMIND_TXPOOLCONFIG_MAXTXSIZE=<value>{"TxPool": {"MaxTxSize": <value>}}The max transaction size allowed, in bytes. Defaults to
131072. -
TxPool.MinBaseFeeThreshold- CLI
- Environment variable
- Configuration file
--txpool-minbasefeethreshold <value>--TxPool.MinBaseFeeThreshold <value>NETHERMIND_TXPOOLCONFIG_MINBASEFEETHRESHOLD=<value>{"TxPool": {"MinBaseFeeThreshold": <value>}}The minimal percentage of the current base fee that must be surpassed by the max fee (
max_fee_per_gas) for the transaction to be broadcasted. Defaults to70. -
TxPool.MinBlobTxPriorityFee- CLI
- Environment variable
- Configuration file
--txpool-minblobtxpriorityfee <value>--TxPool.MinBlobTxPriorityFee <value>NETHERMIND_TXPOOLCONFIG_MINBLOBTXPRIORITYFEE=<value>{"TxPool": {"MinBlobTxPriorityFee": <value>}}The minimum priority fee in wei for blob transactions to be accepted into the transaction pool. Defaults to
0. -
TxPool.PeerNotificationThreshold- CLI
- Environment variable
- Configuration file
--txpool-peernotificationthreshold <value>--TxPool.PeerNotificationThreshold <value>NETHERMIND_TXPOOLCONFIG_PEERNOTIFICATIONTHRESHOLD=<value>{"TxPool": {"PeerNotificationThreshold": <value>}}The average percentage of transaction hashes from persistent broadcast sent to a peer together with hashes of the last added transactions. Defaults to
5. -
TxPool.PersistentBlobStorageSize- CLI
- Environment variable
- Configuration file
--txpool-persistentblobstoragesize <value>--TxPool.PersistentBlobStorageSize <value>NETHERMIND_TXPOOLCONFIG_PERSISTENTBLOBSTORAGESIZE=<value>{"TxPool": {"PersistentBlobStorageSize": <value>}}The max number of full blob transactions stored in the database (increasing the number of transactions in the blob pool also results in higher memory usage). The default value uses max 13GB for 6 blobs where one blob is 2GB (16386 * 128KB). Defaults to
16384. -
TxPool.PersistentBroadcastEnabled- CLI
- Environment variable
- Configuration file
--txpool-persistentbroadcastenabled [true|false]--TxPool.PersistentBroadcastEnabled [true|false]NETHERMIND_TXPOOLCONFIG_PERSISTENTBROADCASTENABLED=true|false{"TxPool": {"PersistentBroadcastEnabled": true|false}}Add local transactions to persistent broadcast. Allowed values:
truefalse. Defaults totrue. -
TxPool.ReportMinutes- CLI
- Environment variable
- Configuration file
--txpool-reportminutes <value>--TxPool.ReportMinutes <value>NETHERMIND_TXPOOLCONFIG_REPORTMINUTES=<value>{"TxPool": {"ReportMinutes": <value>}}The current transaction pool state reporting interval, in minutes. Defaults to
null. -
TxPool.Size- CLI
- Environment variable
- Configuration file
--txpool-size <value>--TxPool.Size <value>NETHERMIND_TXPOOLCONFIG_SIZE=<value>{"TxPool": {"Size": <value>}}The max number of transactions held in the mempool (the more transactions in the mempool, the more memory used). Defaults to
2048. -
TxPool.SparseBlobProviderProbabilityPercent- CLI
- Environment variable
- Configuration file
--txpool-sparseblobproviderprobabilitypercent <value>--TxPool.SparseBlobProviderProbabilityPercent <value>NETHERMIND_TXPOOLCONFIG_SPARSEBLOBPROVIDERPROBABILITYPERCENT=<value>{"TxPool": {"SparseBlobProviderProbabilityPercent": <value>}}The EIP-8070 full-provider selection probability for normal sparse blob-pool nodes, in percent. Values are clamped to the protocol-compliant range
15..100. Nodes with at least 64 custody columns act as supernodes and request every announced cell. Defaults to15.
Wallet
-
Wallet.DevAccounts- CLI
- Environment variable
- Configuration file
--wallet-devaccounts <value>--Wallet.DevAccounts <value>NETHERMIND_WALLETCONFIG_DEVACCOUNTS=<value>{"Wallet": {"DevAccounts": <value>}}The number of autogenerated developer accounts to work with. Developer accounts have private keys from
00...01to00...n. Defaults to10.
Environment variables
All configuration options have their environment variable counterparts, so Nethermind can be configured with environment variables the same way as with command line options. The environment variables follow this naming convention:
NETHERMIND_{NAMESPACE}CONFIG_{OPTION}
For instance, the environment variable equivalent of the JsonRpc.JwtSecretFile option is NETHERMIND_JSONRPCCONFIG_JWTSECRETFILE. For the full list of the available environment variables, see Options by namespaces.
Configuration file
The configuration files use JSON format. The bundled configuration files are located in the configs directory and named after the network they are used for. For instance, see the Mainnet configuration file mainnet.json.