lightninglabs / lightninglabs/taproot-assets
[feature]: provide an RPC to just count total assets
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 525
- Forks
- 150
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 31
Description
As a compliment to https://github.com/lightninglabs/taproot-assets/issues/875 , I'd like to see the ability to get a count of total `asset_id`, `group_key`, asset UTXO, etc. without having to download details about them all. For example, it would be nice if we could check if we have 50 asset UTXO or 5,000 asset UTXO before we decide to paginate or not.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing RPCs related to asset IDs, group keys, and asset UTXOs, along with the referenced issue 875. Define the counts that should be returned without downloading item details, then verify that callers can use them to decide whether pagination is needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100