eth_protocolVersion

Returns the current ethereum protocol version.

Parameters

None

Return Type

HexString - The current ethereum protocol version.

Example

await provider.request({
  method: "eth_protocolVersion",
  params: [],
});
// "0x3f"

Last updated

Was this helpful?