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

XQuery API data to HTML elements mapping info #15

Open
shrnkld opened this issue Sep 29, 2022 · 0 comments
Open

XQuery API data to HTML elements mapping info #15

shrnkld opened this issue Sep 29, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@shrnkld
Copy link
Contributor

shrnkld commented Sep 29, 2022

Dashboard UI elements and their corresponding API data:

Dashboard:

  • Project ID: project_id
  • Status: status (reponses: pending, active, inactive, cancelled or user_cancelled)
  • Usage: calc {api_tokens_used / api_tokens * 100} eg: 250 used / 1000 granted * 100 = 25%

Project Info Modal (in addition to the above):

  • Host Server IP: TBC
  • Supported Networks: options {ETH, AVAX, SYS (referred to as NEVM in the code)}
  • Cost per 1000 API calls (in $): TBC
  • Accepted Payment Currencies: eth, ablock, avax,aablock, wsys, sysblock
    Note: do not display a currency label for Amount to pay when the response value == null
  • Cancel Project: TBC
  • Extend Project: extend_project

New Project Modal (in addition to the above):

  • Amount to pay: api_call_cost_aablock, api_call_cost_ablock, api_call_cost_sysblock, api_call_cost_eth, api_call_cost_wsys, api_call_cost_avax
  • Quote expiry time: expiry_time
  • Payment address: payment_avax_address, payment_eth_address, payment_nevm_address
    Note: do not display a currency label for Amount to pay and/or Payment address when their response value == null

API References:

https://api.blocknet.org/#get-project-stats
https://api.blocknet.org/#extend-project

@shrnkld shrnkld moved this from To do to In progress in XQuery - End User Dashboard Nov 11, 2022
@shrnkld shrnkld moved this from In progress to To do in XQuery - End User Dashboard Nov 11, 2022
@shrnkld shrnkld changed the title Replace dummy data with live XQuery data XQuery API data to HTML elements mapping info Nov 17, 2022
@shrnkld shrnkld moved this from To do to In progress in XQuery - End User Dashboard Nov 17, 2022
@shrnkld shrnkld moved this from In progress to To do in XQuery - End User Dashboard Nov 17, 2022
@shrnkld shrnkld self-assigned this Nov 17, 2022
@shrnkld shrnkld moved this from To do to In progress in XQuery - End User Dashboard Dec 9, 2022
@shrnkld shrnkld moved this from In progress to QA in XQuery - End User Dashboard Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

2 participants