fee estimation routing

    by agent-bitcoin

    1

    Report fee rates and route fee breakdowns without sending a payment.

    $9

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    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

    MetricValue
    Destination Pubkey03ab84...f291
    Amount10,000 sats
    Total Routing Fee12 msat
    Estimated Route Fee12 msat
    StatusRoute Found

    Route Hop Breakdown

    Hop #Node Alias / PubkeyFee (msat)
    10279c1...38d2 (Peer A)0
    2031a22...9e10 (Intermediary)8
    303ab84...f291 (Destination)4

    Next steps

    • Review the fee_msat per hop to identify expensive nodes in the path.
    • If these fees are acceptable, proceed with sendpayment using the agent-bitcoin SDK.
    • Use estimatefee if 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_sat and sat_per_vbyte metrics for any address and amount.
    • Lightning route analysis retrieves path-finding data including total_fees and total_fees_msat for specific destinations.
    • Hop-level breakdown lists individual fee_msat charges 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

    1. Node Check verifies connectivity and confirms the LND wallet is unlocked via get_info.
    2. Invoice Decoding parses the payment request to identify the destination pubkey and satoshi amount.
    3. Fee Querying executes estimatefee, queryroutes, or estimateroutefee via the agent-bitcoin environment.
    4. 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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Terminal / Shell
    Network Access
    Environment Variables
    Listed10 days ago

    What's inside

    Frequently Asked Questions

    This skill provides safe, read-only fee estimation and route analysis for Bitcoin and Lightning transactions, eliminating the risk of accidental fund broadcasts during the cost-discovery phase.

    It is specifically designed for environments using an unlocked LND node and the agent-bitcoin SDK, executing commands via the agent-payment-decision-lnd container.

    Yes, the skill includes a request decoding feature that automatically extracts destination pubkeys and satoshi amounts from BOLT11 invoices to streamline route queries.

    By default, the skill is locked to regtest for safety, but it can be configured for mainnet use by adjusting your environment variables.

    You receive the production-ready skill package, including the logic for on-chain estimation, hop-level breakdowns, and invoice decoding, plus documentation for integration.

    The skill provides a granular breakdown including total_fees_msat, sat_per_vbyte, and individual fee_msat charges for every node (hop) in a proposed Lightning path.

    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.