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

net_version is missing #540

Open
shanejonas opened this issue Apr 30, 2024 · 0 comments
Open

net_version is missing #540

shanejonas opened this issue Apr 30, 2024 · 0 comments

Comments

@shanejonas
Copy link
Contributor

shanejonas commented Apr 30, 2024

This method is missing from execution-apis

here is a start for what it should look like:

net_version method object
{
  "name": "net_version",
  "params": [],
  "result": {
    "description": "Returns the current network ID.",
    "name": "net_version",
    "schema": {
      "type": "string"
    }
  },
  "description": "Returns the current network ID.",
  "examples": [
    {
      "name": "net_version",
      "description": "Example of a net_version request",
      "params": [],
      "result": {
        "name": "net_version",
        "description": "The current network ID",
        "value": "0x1"
      }
    }
  ]
}
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