nethereum/nethereum/fee-estimation
- community
Checking that the SKILL.md file is still in the repository.
Estimate EIP-1559 gas fees with Nethereum. Use when the user asks about gas fees, fee estimation, maxFeePerGas, maxPriorityFeePerGas, base fee, or choosing a fee strategy for transactions.
Install
npx vskill@latest install nethereum/nethereum/fee-estimationSKILL.md
EIP-1559 Fee Estimation with Nethereum
NuGet: Nethereum.RPC
Source: Fee1559SuggestionDocExampleTests
Required Usings
Fee Components
EIP-1559 splits gas fees into baseFee (protocol-set, burned) and priorityFee (tip to validator). Users set maxPriorityFeePerGas (tip ceiling) and maxFeePerGas (total ceiling). Actual cost = min(baseFee + priorityFee, maxFeePerGas).
Fee1559 Model
Holds all fee components in a single object.
Strategy 1: Simple (Default)
Fixed priority fee of 2 Gwei. MaxFee = 2 * baseFee + priorityFee. Fast, no RPC calls beyond latest block.
Strategy 2: Median Priority Fee History
Uses eth_feeHistory to compute median priority fee from recent blocks. Applies a baseFee multiplier that decreases as baseFee rises.
Base Fee Multiplier Tiers
Estimate Priority Fee from Fee History
Suggest Max Fee Using Multiplier
Strategy 3: Time Preference
Returns an array of Fee1559 suggestions factoring in urgency. Uses 100 blocks of fee history. Best for UIs offering slow/medium/fast options.
Default Behavior in Web3
Web3's TransactionManagerBase defaults:
- Strategy:
TimePreferenceFeeSuggestionStrategy(NOT Simple) - Transaction type: EIP-1559 (
UseLegacyAsDefault = false) - Auto-calculate:
CalculateOrSetDefaultGasPriceFeesIfNotSet = true
Override the strategy:
Force legacy transactions:
Strategy Comparison
| Strategy | RPC Calls | Best For | Accuracy | |
|---|---|---|---|---|
| Simple | 1 (latest block) | Quick transactions, stable networks | Low | |
| Median | 1 (eth_feeHistory) | General-purpose, backend services | Medium | |
| TimePreference | 1 (eth_feeHistory, 100 blocks) | UI with slow/medium/fast options | High |
Using with Web3 (Live)
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/nethereum-skills/skills/fee-estimation/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nethereum/nethereum/fee-estimation)