diff --git a/src/eth/client.json b/src/eth/client.json index 2a0c2e2..2bbd84b 100644 --- a/src/eth/client.json +++ b/src/eth/client.json @@ -1,7 +1,7 @@ [ { "name": "eth_protocolVersion", - "summary": "Returns the current ethereum protocol version.", + "summary": "Returns the current Ethereum protocol version.", "params": [], "result": { "name": "Protocol version", @@ -11,6 +11,17 @@ } } }, + { + "name": "eth_chainId", + "summary": "Returns the chain ID of the current network.", + "params": [], + "result": { + "name": "Chain ID", + "schema": { + "$ref": "#/components/schemas/uint" + } + } + }, { "name": "eth_syncing", "summary": "Returns an object with data about the sync status or false.",