eth_protocolVersion

Returns the current ethereum protocol version.

Parametersarrow-up-right

None

Return Typearrow-up-right

HexString - The current ethereum protocol version.

Examplearrow-up-right

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

Last updated

Was this helpful?