payment status tracking

    by agent-bitcoin

    1

    Report in-flight, succeeded, or failed status, amount, fee, and a settled preimage.

    $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

    payment status tracking

    Example session with this skill installed

    Check the status of payment hash 8f3d6a2b5e1c4d9a0f7b8e9d2c1a3b4f5e6d7c8b9a0f1e2d3c4b5a6f7e8d9c0b and list my recent payments.

    • Read your context and instructions
    • Compiled the payment status tracking

    I have retrieved the status for the specified payment hash and fetched the 10 most recent transactions from your LND node.

    Lightning Payment Report

    Target Payment Status

    FieldValue
    Payment Hash8f3d6a2b5e1c4d9a0f7b8e9d2c1a3b4f5e6d7c8b9a0f1e2d3c4b5a6f7e8d9c0b
    StatusSUCCEEDED
    Amount (msat)500000
    Fee (msat)150
    Preimagea1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6a7b8c9d0e1f2

    Recent Payment History (Last 10)

    Date/TimeStatusAmount (msat)Fee (msat)
    2023-10-27 14:20:10SUCCEEDED10000050
    2023-10-27 14:15:22FAILED2500000
    2023-10-27 14:02:45SUCCEEDED1500012
    2023-10-27 13:55:01IN-FLIGHT10000000
    2023-10-27 13:40:12SUCCEEDED5000010
    2023-10-27 13:30:55SUCCEEDED220005
    2023-10-27 13:12:04FAILED5000000
    2023-10-27 12:45:30SUCCEEDED120002
    2023-10-27 12:20:15SUCCEEDED8500045
    2023-10-27 12:05:00SUCCEEDED3000015

    Next steps

    • If the in-flight payment remains stuck, use trackpayment again in 5 minutes.
    • Check the failure_reason for the failed 250,000 msat payment to debug routing issues.
    • Verify your channel liquidity if you plan to retry the failed payments.

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

    About this skill

    Monitoring Lightning Network payments requires manual CLI work or complex custom scripts. This skill provides instant visibility into LND payment states, allowing you to audit transaction outcomes without manual command-line intervention.

    What it does

    • Status Mapping translates complex LND states into clear in-flight, succeeded, or failed categories.
    • Payment Tracking retrieves real-time updates for specific payment hashes including settled preimages.
    • Invoice Lookup verifies the status of incoming invoices using hex hashes or payment requests.
    • History Retrieval pulls the last 10 payments to provide a snapshot of recent node activity.
    • Detail Extraction reports specific metadata like exact fees, amounts, and failure reasons.

    How it works

    1. Initialize Client using the SDK to verify the LND node is unlocked and accessible.
    2. Decode Requests to extract payment hashes from BOLT11 strings when necessary.
    3. Query Node via containerized lncli commands to fetch raw transaction data.
    4. Normalize Data by mapping internal LND statuses like ACCEPTED or CANCELED to human-readable states.

    Frameworks & tools

    This skill uses the agent-bitcoin SDK and communicates with LND nodes running in Docker containers. It defaults to regtest environments but supports mainnet via explicit environment variables.

    Why this beats prompting it yourself

    Writing reliable wrappers for lncli tracking is error-prone due to the variety of status codes and hex encoding requirements. This skill handles the mapping logic and error states like locked wallets automatically, ensuring consistent reporting formats.

    Use cases

    • Check if a specific Lightning payment was settled or is still in-flight.
    • Retrieve the settled preimage for a successful payment to provide proof of payment.
    • Audit the last 10 transactions to calculate total fees spent recently.
    • Verify why a payment failed by extracting the failure_reason field.

    Known limitations

    Requires an unlocked LND node running in a specific Docker container named agent-payment-decision-lnd. Limited to retrieving the 10 most recent payments.

    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 11 days ago

    Software
    Python 3.10+agent-bitcoin packageunlocked LND nodeRead-only

    Permissions

    Terminal / Shell
    Network Access
    Environment Variables
    Listed11 days ago

    What's inside

    Frequently Asked Questions

    This skill automates the monitoring of Lightning Network transactions, providing human-readable status updates, settled preimages, and failure reasons without requiring manual CLI commands or custom scripting.

    The skill is built for the agent-bitcoin SDK and is designed to work with LND nodes running in Docker environments, specifically supporting regtest and mainnet configurations.

    You will receive the integrated logic for status mapping, automated payment lookups, and transaction history retrieval, along with the necessary configurations to connect to your LND node.

    No, the skill includes a normalization layer that automatically translates internal LND states (like ACCEPTED or CANCELED) into clear categories like in-flight, succeeded, or failed.

    The skill requires an unlocked LND node running in a Docker container named 'agent-payment-decision-lnd' and currently supports retrieving the 10 most recent transactions.

    By using the agent-bitcoin SDK, the skill automatically detects common connection issues, such as a locked wallet, and provides consistent reporting formats that are easier for AI agents to process than raw CLI output.

    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.