> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# web3_clientVersion | Optimism

> Optimism API method web3_clientVersion retrieves the version string of the Optimism client the node is running. Optimism via Chainstack.

Optimism API method `web3_clientVersion` retrieves the version string of the Optimism client the node is running. This method is useful for identifying the client and its version, which can be important for compatibility and debugging purposes.

## Parameters

This method does not require any parameters.

## Response

* `result` — the version string of the Optimism client, which typically includes the client name, version, network, platform, and other build information.

## Use case

The `web3_clientVersion` method is essential for:

* Developers and system administrators needing to verify the client version for compatibility with dApps or network protocols.
* Services that monitor and report on the distribution of client versions across the network.
* Tools that automate interactions with Optimism nodes and require version checks to ensure proper operation.


## OpenAPI

````yaml openapi/optimism_node_api/web3_clientVersion.json POST /efb0a5eccd2caa5135eb54eba6f7f300
openapi: 3.0.0
info:
  title: web3_clientVersion example
  version: 1.0.0
  description: >-
    This is an API example for web3_clientVersion, a method to get the version
    of the Ethereum client.
servers:
  - url: https://optimism-mainnet.core.chainstack.com
security: []
paths:
  /efb0a5eccd2caa5135eb54eba6f7f300:
    post:
      tags:
        - Ethereum Client Information
      summary: web3_clientVersion
      operationId: clientVersion
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - method
                - id
              properties:
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: web3_clientVersion
                id:
                  type: integer
                  default: 1
      responses:
        '200':
          description: The version of the Ethereum client
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: string
                    description: The client version string.

````