ElementsProject / ElementsProject/lightning

[feature-request]: Enhance listtransactions rpc

Open
#7,397 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
3.1k
Forks
1k
Avg merge
4d 10h
Merged PRs (30d)
13

Description

I was working on a transactions view in zeus for onchain and noticed that to get info on actual deposits and withdrawals, its really hard in CLN. I am having to work with 3 different RPCs to get accurate info on what the tx is for.
Have to do `listaccountevents` which is an expensive call because it returns a lot of stuff and also check against `listtransactions`.

A nice improvement to `listtransactions` rpc would be to add a `tag` and `type` to indicate what transaction it is so that we can easily get the actual info of the tx that's going out or coming in.
It would also also extremely help if the outputs are tagged saying if its change coming back to our wallet or going to an external address.

This is just my thoughts on the rpc, open to other ideas if there are better ways of doing this.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.