Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Implement endpoints for token module #7414

Closed
nagdahimanshu opened this issue Aug 17, 2022 · 2 comments
Closed

Implement endpoints for token module #7414

nagdahimanshu opened this issue Aug 17, 2022 · 2 comments

Comments

@nagdahimanshu
Copy link

nagdahimanshu commented Aug 17, 2022

Description

Implement endpoints for token module
There is need to implement similar endpoint like getTotalSupply to retrieve stakedLSK, inflationRate and totalSupplyLSK
This information can be included in blockchain application stats endpoint response by lisk-service.

Endpoints:

  • getStakedLSK
  • getInflationRate
  • totalSupplyLSK

Acceptance Criteria

  • Suggested endpoint is added to token module
  • Add unit test for all the endpoints
@shuse2
Copy link
Collaborator

shuse2 commented Oct 18, 2022

getInflationRate, we can include the endpoint with #7622 which will be exposed under reward module

getStakedLSK, I think this will go under DPoS, but since this will require to iterate through all the votes, I don't think we can expose this value from endpoint

totalSupply is already exposed by token module getTotalSupply, if LSK specifically from sidechain, i don't think sidechain can know the total supply of LSK.

@shuse2
Copy link
Collaborator

shuse2 commented Dec 20, 2023

Closing this issue since this is no longer valid

@shuse2 shuse2 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants