- Home
- Skills
- Web3 & Crypto
- pending channel status
pending channel status
Report pending opens and closes with capacity, balances, and initiator.
$9
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
| Type | Capacity (sats) | Local Bal | Remote Bal | Initiator | Status/Details |
|---|---|---|---|---|---|
| Pending Open | 1,000,000 | 1,000,000 | 0 | LOCAL | Expiry: 144 blocks |
| Force Closing | 500,000 | 250,000 | 250,000 | REMOTE | Maturity: 841,205 (12 blocks left) |
Summary
- Pending Opens: 1
- Pending Closes (All Types): 1
Next steps
- Wait for approximately 2 hours for the force-close maturity height to be reached.
- Monitor the funding transaction on-chain for the pending open channel.
- 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
- Node check verifies the LND node is reachable and the wallet is in an unlocked state.
- Data retrieval executes a direct query for pending channel data across four distinct categories.
- State mapping categorizes every entry into pending open, pending close, waiting close, or force close.
- 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
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.