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

Prime SDK changes for the new backend services #103

Conversation

kaushalrajbacancy
Copy link
Contributor

@kaushalrajbacancy kaushalrajbacancy commented Feb 28, 2024

Description

  • The DataUtils module has been updated to fetch data from REST APIs provided by the new backend
  • Added these endpoints into PrimeDataUtils: getAccountBalances, getTransaction, getNftList, getAdvanceRoutesLiFi, getStepTransaction, getTokenLists, getTokenListTokens and fetchExchangeRates
  • Added new parameter named chainId in getTokenLists and getTokenListTokens endpoints

Types of changes

What types of changes does your code introduce?

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Other (please describe):

Further comments (optional)

  • Updated the DataUtils module to include a data API key parameter instead of project key and GraphQL endpoint parameters (If the data API key is not provided, it will automatically use the default API key, which has a strict rate limit)

Copy link

linear bot commented Feb 28, 2024

CHANGELOG.md Outdated Show resolved Hide resolved
examples/05-get-account-balances.ts Outdated Show resolved Hide resolved
examples/06-transaction.ts Outdated Show resolved Hide resolved
Copy link
Member

@ch4r10t33r ch4r10t33r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pls make the minor change and then merge.

examples/06-transaction.ts Outdated Show resolved Hide resolved
@etherspot etherspot deleted a comment from gitguardian bot Mar 1, 2024
@kaushalrajbacancy kaushalrajbacancy merged commit 54a63a7 into master Mar 4, 2024
4 of 6 checks passed
@kaushalrajbacancy kaushalrajbacancy deleted the feature/pro-2200-prime-sdk-changes-for-the-new-backend-services branch March 4, 2024 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants