web3_clientVersion - Polygon
Learn how to use web3_clientVersion JSON-RPC method to retrieve the Polygon client version. Complete guide with examples for identifying node software and version info.
Use Cases
Node Verification: Confirm you're connected to the correct Polygon node implementation (Bor)
Compatibility Checks: Verify the node version supports specific features or RPC methods
Debugging: Identify potential version-specific issues or behaviors
Monitoring: Track node software versions across your infrastructure
Parameters
None
Request
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' \
--header 'Content-Type: application/json' \
--data-raw '{
"jsonrpc": "2.0",
"method": "web3_clientVersion",
"params": [],
"id": "getblock.io"
}'Response
Last updated
Was this helpful?