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

spec to describe 'bonus' methods #24

Open
meowsbits opened this issue May 26, 2019 · 0 comments
Open

spec to describe 'bonus' methods #24

meowsbits opened this issue May 26, 2019 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@meowsbits
Copy link
Member

meowsbits commented May 26, 2019

Is your feature request related to a problem? Please describe.
The existing spec describes a subset of actually-available methods for go-ethereum.

Describe the solution you'd like

  • rpc.discover_all describes all methods that are actually available for a given client instance.
  • rpc.describe
  • ...

Up for grabs: thoughts on a best name for this? Maybe an optional param for rpc.discover?

Describe alternatives you've considered
Client-specific methods like geth.discover. Downside is that they're not (necessarily) spec'd.

Additional context

// @multi-geth v1.9.0 console
> Object.keys(rpc.discover().methods).length
45
> Object.keys(eth).length
48
@meowsbits meowsbits added enhancement New feature or request question Further information is requested labels May 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant