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

add USD price to v3 totals endpoints #143

Closed
wants to merge 1 commit into from
Closed

add USD price to v3 totals endpoints #143

wants to merge 1 commit into from

Conversation

gluneau
Copy link
Contributor

@gluneau gluneau commented Mar 5, 2024

add USD price to v3 totals endpoints

Do not merge

http://127.0.0.1:5001/astar-token-api/us-central1/app/api/v3/shiden/dapps-staking/lockers-and-stakers-total/90%20days

[
  {
    "date": "1709596800000",
    "tvl": "16579101402054643548270519",
    "lockersCount": 3287,
    "tvs": "3443318744000000000000000",
    "stakersCount": 602,
    "usdPrice": 0.341619736343557
  },
  {
    "date": "1709510400000",
    "tvl": "16571721898160896610424001",
    "lockersCount": 3295,
    "tvs": "3428128562000000000000000",
    "stakersCount": 602,
    "usdPrice": 0.357697518843364
  },
  {
    "date": "1709424000000",
    "tvl": "16556173620649056908234398",
    "lockersCount": 3299,
    "tvs": "3271564677000000000000000",
    "stakersCount": 595,
    "usdPrice": 0.355618548450803
  },
]

Copy link

github-actions bot commented Mar 5, 2024

Visit the preview URL for this PR (updated for commit 407498e):

https://astar-token-api--pr143-fix-tvlv2v3-nbp41yjs.web.app

(expires Tue, 12 Mar 2024 23:06:24 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: f99fa4f4f8f3bb450e6e842f7e1c7783d6d896a3

@bobo-k2
Copy link
Contributor

bobo-k2 commented May 23, 2024

Closed as similar functionality is implemented in #153

@bobo-k2 bobo-k2 closed this May 23, 2024
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 this pull request may close these issues.

2 participants