GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
LIGHTNING-BKPR-INSPECT(7) LIGHTNING-BKPR-INSPECT(7)

lightning-bkpr-inspect -- Command to show onchain footprint of a channel

bkpr-inspect account

The bkpr-inspect RPC command lists all known on-chain transactions and associated events for the provided account. Useful for inspecting unilateral closes for a given channel account. Only valid for channel accounts.

account (string): Channel account to inspect.

On success, an object containing txs is returned. It is an array of objects, where each object contains:

  • txid (txid): Transaction id.

  • fees_paid_msat (msat): Amount paid in sats for this tx.

  • outputs (array of objects):
  • account (string): Account this output affected.

  • outnum (u32): Index of output.

  • output_value_msat (msat): Value of the output.

  • currency (string): Human-readable bech32 part for this coin type.

  • credit_msat (msat, optional): Amount credited to account.

  • debit_msat (msat, optional): Amount debited from account.

  • originating_account (string, optional): Account this output originated from.

  • output_tag (string, optional): Description of output creation event.

  • spend_tag (string, optional): Description of output spend event.

  • spending_txid (txid, optional): Transaction this output was spent in.

  • payment_id (hex, optional): Lightning payment identifier. For an htlc, this will be the preimage.

blockheight (u32, optional): Blockheight of transaction.

Lisa Neigut <niftynei@gmail.com> is mainly responsible.

lightning-listbalances(7), lightning-listfunds(7), lightning-listpeers(7)

Main web site: https://github.com/ElementsProject/lightning

Example 1:

Request:

$ lightning-cli bkpr-inspect -k "account"="channelid0230200230200230200230200230200230200230200230200230200"

{

"id": "example:bkpr-inspect#1",
"method": "bkpr-inspect",
"params": {
"account": "channelid0230200230200230200230200230200230200230200230200230200"
} }

Response:

{

"txs": [
{
"txid": "channeltxid230200230200230200230200230200230200230200230200230200",
"blockheight": 123,
"fees_paid_msat": 5020000,
"outputs": [
{
"account": "channelid0230200230200230200230200230200230200230200230200230200",
"outnum": 1,
"output_tag": "channel_open",
"output_value_msat": 1000000000,
"credit_msat": 1000000000,
"currency": "bcrt"
}
]
}
] }
Core Lightning v25.02.2

Search for    or go to Top of page |  Section 7 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.