pending channel status

    by agent-bitcoin

    1

    Report pending opens and closes with capacity, balances, and initiator.

    $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

    pending channel status

    Example session with this skill installed

    Check my LND node for any pending channels and tell me when my force-closed funds will be available.

    • Read your context and instructions
    • Compiled the pending channel status

    I have queried the LND node. There is currently 1 pending open channel and 1 pending force-close channel.

    Pending Channel Status Report

    TypeCapacity (sats)Local BalRemote BalInitiatorStatus/Details
    Pending Open1,000,0001,000,0000LOCALExpiry: 144 blocks
    Force Closing500,000250,000250,000REMOTEMaturity: 841,205 (12 blocks left)

    Summary

    • Pending Opens: 1
    • Pending Closes (All Types): 1

    Next steps

    1. Wait for approximately 2 hours for the force-close maturity height to be reached.
    2. Monitor the funding transaction on-chain for the pending open channel.
    3. Ensure the node stays online to broadcast the final sweeping transactions.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Managing Lightning Network operations often involves waiting for blockchain confirmations without clear visibility into why a channel isn't active yet. This skill queries an unlocked LND node to provide a detailed status report on all channels in transition.

    What it does

    • Identify pending opens by listing channels currently in the funding process including their specific block expiry.
    • Track closing states by distinguishing between standard pending closes, waiting closes, and force closes.
    • Audit channel capacity by extracting local and remote balances alongside total capacity for each pending entry.
    • Maturity tracking by reporting the specific block height and remaining blocks until funds mature in force-close scenarios.
    • Initiator attribution by identifying which peer started the channel open or close process.

    How it works

    1. Node check verifies the LND node is reachable and the wallet is in an unlocked state.
    2. Data retrieval executes a direct query for pending channel data across four distinct categories.
    3. State mapping categorizes every entry into pending open, pending close, waiting close, or force close.
    4. Summary generation calculates total counts and formats the technical details into a readable report.

    Frameworks & tools

    The skill utilizes the agent-bitcoin SDK and lncli to interact with an LND node. It is configured for regtest by default but supports mainnet via environment variables.

    Why this beats prompting it yourself

    Standard LLM prompts often fail to distinguish between the different types of pending Lightning states or forget to check for wallet-lock errors. This skill uses specific logic to map nested SDK objects to their respective channel lifecycle stages correctly.

    Use cases

    • Audit why recently funded channels are not yet available for routing.
    • Track the progress of force-closed channels and when their funds will return.
    • Monitor the network for expiring channel funding attempts.
    • Verify channel initiators for fee management and rebalancing planning.

    Known limitations

    Requires a pre-configured and unlocked LND node. Does not support changing channel states or signing into external platforms.

    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 specifically deciphers the four distinct pending states (open, close, waiting close, and force close) and extracts critical data like block maturity heights and initiator status that standard node queries often bury in complex JSON outputs.

    The skill is built using the agent-bitcoin SDK and is compatible with any AI agent framework that supports custom tool integration, provided the agent has secure network access to your LND node.

    You will need an active LND node (unlocked) with the REST or gRPC interface accessible, along with the necessary macaroon permissions to read channel and wallet information.

    Yes, while it defaults to regtest for development safety, you can easily toggle it to mainnet or testnet environments by adjusting the provided environment variables during setup.

    Yes, the skill includes logic to monitor force-close scenarios, specifically reporting the exact block height when your funds will be released and become spendable again.

    The purchase includes the production-ready skill logic, configuration templates for environment variables, and documentation for integrating the tool into your existing AI agent's workflow.

    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.