web3_getClientVersion
Retrieve the Ethereum client version string for any network to identify node software and version.
Instructions
Returns the current Ethereum client version string. Useful for identifying the node software and version being used.
Args:
network (string, optional): Ethereum network to query, defaults to 'mainnet'
Returns:
String containing the client name and version (e.g., 'Geth/v1.10.26-stable/linux-amd64/go1.18.5')
Examples:
"Get mainnet client version": {}
"Get Sepolia client version": { "network": "sepolia" }
Errors:
InternalError: When Infura API is unavailable
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | The Ethereum network to query, e.g., 'mainnet' or 'sepolia'. | mainnet |
| response_format | No | Output format: 'json' for structured data, 'markdown' for human-readable. | json |