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

Expose remaining RPC methods #148

Closed
2 of 3 tasks
ChaoticTempest opened this issue Jun 8, 2022 · 6 comments · Fixed by #308
Closed
2 of 3 tasks

Expose remaining RPC methods #148

ChaoticTempest opened this issue Jun 8, 2022 · 6 comments · Fixed by #308
Assignees

Comments

@ChaoticTempest
Copy link
Member

ChaoticTempest commented Jun 8, 2022

There's currently a couple RPC methods not being exposed from Worker such as:

We should be exposing these where they make sense, and this issue also depends on #129 to be resolved first for the most consistent API

@bharath-123
Copy link

looking forward for gas price api!! i can't test methods which transfer NEAR to user with good assertions because we can't account for gas!

@jaswinder6991
Copy link

Are there any updates on this issue? @ChaoticTempest

@ChaoticTempest
Copy link
Member Author

Both gas_price and chunk have been implemented and are available. Network status has not been implemented

@jaswinder6991
Copy link

Do you have the PR's handy for gas_price and chunk that I can refer to. I will also look for them myself.

@ChaoticTempest
Copy link
Member Author

gas price you can find here: #218
chunk you can find here: #234

@ChaoticTempest
Copy link
Member Author

Also, note for anyone trying to implement status. We can't expose the status type coming from near-primitives as that would leak internal details which are still unstable and are likely to change

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 a pull request may close this issue.

3 participants