Parameters
chainId
string
default:"1328"
required
Unique identifier for a blockchain network.
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"web3_clientVersion"
required
JSON-RPC method name.
This method does not require any parameters.
Returns
String - The current client version Example: “OpenEthereum//v3.0.1-stable-8ca8089-20200601/x86_64-unknown-linux-gnu/rustc1.43.1”.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=1328 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "web3_clientVersion",
"params": []
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": "OpenEthereum//v3.0.1-stable-8ca8089-20200601/x86_64-unknown-linux-gnu/rustc1.43.1"
}