- Home
- Skills
- APIs & Backend
- invoice list status
invoice list status
Report payment hash, amount, memo, expiry, and amount paid for the last invoices.
$9
invoice list status
Example session with this skill installed
Check the status of my last 5 Lightning invoices and show me which ones are still pending.
- Read your context and instructions
- Compiled the invoice list status
I have retrieved the status of the most recent invoices from your LND node. The node is currently unlocked and operating on the regtest network.
Lightning Invoice Status Report
| Creation Date | Payment Hash (r_hash) | Memo | Value (Sat) | Settled | Amt Paid | Status |
|---|---|---|---|---|---|---|
| 2024-05-20 14:10 | 8f3a...e12b | API Credits Purchase | 50000 | false | 0 | PENDING |
| 2024-05-20 13:45 | 4d91...a9f0 | Domain Renewal | 125000 | true | 125000 | SETTLED |
| 2024-05-20 12:30 | 2c88...c4d2 | Coffee Tip | 2100 | true | 2100 | SETTLED |
| 2024-05-19 23:15 | a1b2...f9e8 | Subscription Fee | 10000 | false | 0 | EXPIRED |
| 2024-05-19 22:00 | 7d6e...b3a1 | Test Payment | 500 | false | 0 | PENDING |
Summary: 2 invoices are currently pending, 2 are settled, and 1 has reached its expiry without payment.
Next steps
- To view only the pending invoices in detail, ask to "list pending invoices".
- If you need to verify a specific transaction, provide the full payment hash.
- Note: If you intended to run this on mainnet, ensure
AGENT_BITCOIN_ALLOW_MAINNETis set to 1.
Connects securely to your tools. The creator never sees your data.
About this skill
Managing a Lightning Network node involves constant monitoring of payment flows and invoice status. This skill provides a direct interface to read invoice data from an unlocked LND node without exposing sensitive credentials or preimages.
What it does
- Status Reporting check whether specific invoices are settled, pending, or expired.
- Recent Activity fetch the last 10 invoices generated by the node in reverse chronological order.
- Settlement Verification audit the exact
amt_paid_satfor settled transactions versus their original requested value. - Metadata Retrieval extract memo fields, creation dates, and payment hashes for internal record keeping.
- Filter Pending isolate unsettled invoices to identify unpaid requests quickly.
How it works
- The agent checks node connectivity and wallet status using
get_infovia theagent_bitcoinclient. - If the wallet is unlocked, the agent executes
lncli listinvoicescommands within the local LND container. - It parses the JSON output to extract payment hashes, amounts, and settlement states.
- Data is formatted into a clean report, omitting sensitive BOLT11 strings or secrets.
Frameworks & tools
This skill requires the agent-bitcoin SDK and a running LND node accessible via docker exec. It is configured for regtest by default but supports mainnet via environment variables.
Why this beats prompting it yourself
Writing manual wrapper scripts for lncli within containerized environments is prone to formatting errors and security leaks. This skill enforces privacy by automatically stripping preimages and secrets while ensuring the agent never attempts to modify invoice state.
Use cases
- Audit recent incoming payments to verify successful settlement.
- List all pending invoices to reconcile against an external order system.
- Check the expiry and creation dates of specific payment hashes.
Known limitations
Requires an unlocked LND node and local Docker access. The skill is strictly read-only and cannot create new invoices or settle existing ones.
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 node
Permissions
What's inside
Frequently Asked Questions
New in APIs & Backend
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.