⚡ We welcome businesses to test our enterprise-grade service

optimism
Optimism

Method: POST web3_clientVersion

dropdown

方法 RPC web3_clientVersion 例如 Optimism

POST web3_clientVersion

返回当前客户版本。

Parameters

-

Request

curl --location --request POST 'https://optimism.getblock.io/mainnet/' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "web3_clientVersion",
"params": [],
"id": "getblock.io"}'


Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": "Geth/v1.9.10-stable/linux-amd64/go1.15.15"
}