- Home
- Skills
- Web3 & Crypto
- fee estimation routing
fee estimation routing
Report fee rates and route fee breakdowns without sending a payment.
$9
fee estimation routing
Example session with this skill installed
Estimate the routing fees for this invoice: lntb100u1p3... and show me the hop breakdown.
- Read your context and instructions
- Compiled the fee estimation routing
I have decoded the payment request and queried the LND node for the most efficient route to the destination pubkey. No funds have been moved.
Fee Estimation Report
| Metric | Value |
|---|---|
| Destination Pubkey | 03ab84...f291 |
| Amount | 10,000 sats |
| Total Routing Fee | 12 msat |
| Estimated Route Fee | 12 msat |
| Status | Route Found |
Route Hop Breakdown
| Hop # | Node Alias / Pubkey | Fee (msat) |
|---|---|---|
| 1 | 0279c1...38d2 (Peer A) | 0 |
| 2 | 031a22...9e10 (Intermediary) | 8 |
| 3 | 03ab84...f291 (Destination) | 4 |
Next steps
- Review the
fee_msatper hop to identify expensive nodes in the path. - If these fees are acceptable, proceed with
sendpaymentusing theagent-bitcoinSDK. - Use
estimatefeeif you decide to settle this via an on-chain transaction instead.
Connects securely to your tools. The creator never sees your data.
About this skill
Estimating Bitcoin and Lightning Network transaction costs often requires trial and error or dangerous dry runs. This skill provides a safe way to query fee rates and route costs directly from an LND node without risking funds.
What it does
- On-chain estimation provides specific
fee_satandsat_per_vbytemetrics for any address and amount. - Lightning route analysis retrieves path-finding data including
total_feesandtotal_fees_msatfor specific destinations. - Hop-level breakdown lists individual
fee_msatcharges for every node in a proposed payment path. - Request decoding extracts destination pubkeys and amounts from BOLT11 invoices to automate route queries.
- Network safety strictly limits operations to read-only fee queries, preventing accidental broadcasts or channel state changes.
How it works
- Node Check verifies connectivity and confirms the LND wallet is unlocked via
get_info. - Invoice Decoding parses the payment request to identify the destination pubkey and satoshi amount.
- Fee Querying executes
estimatefee,queryroutes, orestimateroutefeevia theagent-bitcoinenvironment. - Data Reporting formats the raw JSON response into a readable breakdown of sats, msats, and vByte rates.
Frameworks & tools
This skill requires an unlocked LND node and the agent-bitcoin SDK. It executes commands via docker exec against the agent-payment-decision-lnd container using lncli.
Why this beats prompting it yourself
Generic prompts often hallucinate fee logic or fail to handle the specific CLI syntax required for LND containers. This skill enforces a read-only workflow, ensuring you never accidentally trigger a payment while simply trying to calculate its cost.
Use cases
- Calculate on-chain transaction priority costs before sweep operations.
- Audit Lightning path efficiency by comparing multi-hop routing fees.
- Verify invoice feasibility by checking if a valid route exists for the requested amount.
Known limitations
Requires an unlocked LND node. Default behavior is locked to regtest unless mainnet is explicitly enabled via environment variables.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 10 days ago
- Software
Python 3.10+agent-bitcoin packageunlocked LND nodeRead-only
Permissions
What's inside
Frequently Asked Questions
New in Web3 & Crypto
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Web3 & Crypto.