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

Support for getting a token price for a given currency #144

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

bobo-k2
Copy link
Contributor

@bobo-k2 bobo-k2 commented Mar 7, 2024

For a time being Token API was able to provide token price in USD only. I added support to provide currency symbol to the endpoint. If currency is not provided the price will be returned in USD. Test endpoint

http://127.0.0.1:5001/astar-token-api/us-central1/app/api/v1/token/price/eth?currency=jpy

Copy link

github-actions bot commented Mar 7, 2024

Visit the preview URL for this PR (updated for commit 668895b):

https://astar-token-api--pr144-feat-multiple-curren-fdtz9odo.web.app

(expires Thu, 14 Mar 2024 09:09:50 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: f99fa4f4f8f3bb450e6e842f7e1c7783d6d896a3

@bobo-k2 bobo-k2 merged commit 54e21fe into prod Mar 7, 2024
7 checks passed
@bobo-k2 bobo-k2 deleted the feat/multiple-currencies-price branch March 7, 2024 12:01
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.

3 participants