curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/jsonrpc/web3_clientVersion \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "web3_clientVersion",
"id": 1,
"params": []
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": "<string>"
}
curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/jsonrpc/web3_clientVersion \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "web3_clientVersion",
"id": 1,
"params": []
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": "<string>"
}
jsonrpc
— the JSON-RPC protocol version (always “2.0”)method
— the method name (always “web3_clientVersion”)params
— parameters array (empty for this method)id
— request identifier (number or string)jsonrpc
— the JSON-RPC protocol version (“2.0”)id
— the request identifier that matches the requestresult
— the client version stringjsonrpc web3_clientVersion
method is used for:
Client version string
The response is of type object
.
Was this page helpful?