When I open a new Lightning channel from lncli I get the blockchain tx hash back. But afterwards how can I find this hash later on, if the channel is still pending state?

lncli pendingchannels does not show any tx data and lncli listchaintxns does not show unconfirmed bitcoin tx.


1 Answer 1


The output of lncli pendingchannels gives you as much as you need:

"pending_open_channels": [
        "channel": {
            "remote_node_pub": <pubkey>,
            "channel_point": <txid:output_index>,
            "capacity": ,
            "local_balance": ,
        "confirmation_height": ,
        "commit_fee": ,
        "commit_weight": ,

The channel_point will give you the txid, that you can later lookup at a bitcoin testnet explorer, or directly with btcctl --testnet gettransaction txid

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.