Skip to content

net_version is missing #540

@shanejonas

Description

@shanejonas

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"
      }
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions