⚡ We welcome businesses to test our enterprise-grade service

Method: POST web3_clientVersion

dropdown

方法 RPC web3_clientVersion 例如 Tron (TRX)

POST web3_clientVersion

返回当前客户版本。

Parameters

-

Request

curl --location --request POST 'https://trx.getblock.io/mainnet/fullnode/jsonrpc' \
--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": "TRON/v4.4.4/Linux/Java1.8/GreatVoyage-v4.4.2-94-g38dfe231c"
}