2022-07-19 17:04:39 +09:30
|
|
|
lightning-bkpr-inspect -- Command to show onchain footprint of a channel
|
|
|
|
===================================================================
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
|
|
|
|
|
|
|
**bkpr-inspect** *account*
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
RETURN VALUE
|
|
|
|
------------
|
|
|
|
|
|
|
|
[comment]: # (GENERATE-FROM-SCHEMA-START)
|
|
|
|
On success, an object containing **txs** is returned. It is an array of objects, where each object contains:
|
2022-09-06 07:15:04 +09:30
|
|
|
|
2022-07-19 17:04:39 +09:30
|
|
|
- **txid** (txid): transaction id
|
2022-09-06 07:15:06 +09:30
|
|
|
- **fees\_paid\_msat** (msat): Amount paid in sats for this tx
|
2022-07-19 17:04:39 +09:30
|
|
|
- **outputs** (array of objects):
|
|
|
|
- **account** (string): Account this output affected
|
|
|
|
- **outnum** (u32): Index of output
|
2022-09-06 07:15:06 +09:30
|
|
|
- **output\_value\_msat** (msat): Value of the output
|
2022-07-19 17:04:39 +09:30
|
|
|
- **currency** (string): human-readable bech32 part for this coin type
|
2022-09-06 07:15:06 +09:30
|
|
|
- **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.
|
2022-07-19 17:04:39 +09:30
|
|
|
- **blockheight** (u32, optional): Blockheight of transaction
|
|
|
|
|
|
|
|
[comment]: # (GENERATE-FROM-SCHEMA-END)
|
|
|
|
|
|
|
|
AUTHOR
|
|
|
|
------
|
|
|
|
|
|
|
|
niftynei <niftynei@gmail.com> is mainly responsible.
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
|
|
|
|
|
|
|
lightning-listbalances(7), lightning-listfunds(7), lightning-listpeers(7).
|
|
|
|
|
|
|
|
RESOURCES
|
|
|
|
---------
|
|
|
|
|
|
|
|
Main web site: <https://github.com/ElementsProject/lightning>
|
|
|
|
|
2023-01-30 16:54:16 +10:30
|
|
|
[comment]: # ( SHA256STAMP:431ddf80b4cc4ad778a0b7e720dc282671a34f62de9ceedb0f411277bdda91be)
|