Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Token Supply REST API endpoint #131

Open
4 tasks
pmjanus opened this issue Aug 7, 2024 · 0 comments
Open
4 tasks

Token Supply REST API endpoint #131

pmjanus opened this issue Aug 7, 2024 · 0 comments

Comments

@pmjanus
Copy link
Contributor

pmjanus commented Aug 7, 2024

Overview

Implement a couple ofpublicly accessible REST API endpoint that returns Total Supply and Circulating Supply data in JSON format and without requiring authentication or API keys.
The expected endpoints and returns should look like this:
/v1/supply/total/json
/v1/supply/circulating/json

{
"result": "445655307.7672"
}

And will they return:

Links

https://github.com/telosnetwork/api-telos-net/blob/develop/src/v1-routes/tokens.js

Acceptance Criteria

  • The API endpoint is publicly accessible without authentication
  • The response format is JSON

Tasks

  • Design and implement the REST API endpoint
  • Ensure the endpoint returns data in the JSON response
  • Configure the endpoint to be publicly accessible without authentication
  • Test the endpoint with various clients and scenarios
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant