Expose accrued loan interest via listaccounthistory
- Dominant language
- C++
- Stars
- 397
- Forks
- 129
- PR merge metrics
- No merged PRs in 30d
Description
#### What would you like to be added:
Expose accrued loan interest via listaccounthistory similar to liquidity mining rewards:
1. Accrued loan interest for each block and for each ticker symbol
2. New boolean parameter for listaccounthistory to show/hide interest entries (similar to no_rewards for liquidity mining rewards)
#### Why is this needed:
This is required for accounting and tax compliance and is blocking defichain friendly businesses from creating proper tax report for state authorities.
Contributor guide
Research direction
Start at the listaccounthistory entry point and trace how liquidity mining rewards and the no_rewards parameter are exposed. Determine where loan-interest records can be represented per block and ticker, then verify that the new boolean controls whether those entries appear and that the output supports accounting and tax reporting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- api, blockchain
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100