quicknode-common-errors

Featured

Diagnose and fix QuickNode RPC errors: nonce issues, gas failures, rate limits. Use when encountering blockchain RPC errors, failed transactions, or connection issues. Trigger with phrases like "quicknode error", "RPC error", "nonce too low", "gas estimation failed".

AI & Automation 2,359 stars 334 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# QuickNode Common Errors ## Overview Quick reference for the top blockchain RPC errors when using QuickNode endpoints with ethers.js or viem. ## Prerequisites - QuickNode endpoint configured - ethers.js or viem installed ## Instructions ### Error 1: Nonce Too Low ``` Error: nonce has already been used (error={"code":-32000,"message":"nonce too low"}) ``` **Fix:** ```typescript // Get the correct nonce before sending const nonce = await provider.getTransactionCount(wallet.address, 'pending'); const tx = await wallet.sendTransaction({ ...txData, nonce }); ``` ### Error 2: Insufficient Funds ``` Error: insufficient funds for intrinsic transaction cost ``` **Fix:** ```typescript const balance = await provider.getBalance(wallet.address); const gasEstimate = await provider.estimateGas(txData); const feeData = await provider.getFeeData(); const totalCost = gasEstimate * feeData.gasPrice! + txData.value; if (balance < totalCost) { console.error(`Need ${ethers.formatEther(totalCost)} ETH, have ${ethers.formatEther(balance)}`); } ``` ### Error 3: Gas Estimation Failed (Call Revert) ``` Error: execution reverted (reason="ERC20: transfer amount exceeds balance") ``` **Fix:** The contract function would revert. Check contract requirements: ```typescript try { const gas = await contract.transfer.estimateGas(to, amount); } catch (err) { console.error('Revert reason:', err.reason); // Check: sufficient token balance, approvals, contract state } ``` ### Error 4: Rate Limited (...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
8 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category