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 collatorSelection Calls To Type Definitions #216

Open
ProfMoo opened this issue Sep 30, 2021 · 0 comments
Open

Add collatorSelection Calls To Type Definitions #216

ProfMoo opened this issue Sep 30, 2021 · 0 comments

Comments

@ProfMoo
Copy link

ProfMoo commented Sep 30, 2021

As a user of the collatorSelection RPC endpoints, I want to be able to utilize TypeScript's type system while developing against these endpoint.

For example, here is my code:

const currentCandidates = await api.query.collatorSelection.candidates();

I believe that the additional types would need to be added into this file: https://github.com/AcalaNetwork/acala.js/blob/905a7b9691be462e4710b4a8ec08ca698d06f5bb/packages/types/src/interfaces/augment-api-tx.ts

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

No branches or pull requests

1 participant