Skip to main content

Get Node Version

Example Request

{
"jsonrpc": "2.0",
"method": "cartesi_getNodeVersion",
"params": {},
"id": 1
}

The cartesi_getNodeVersion method fetches the semantic version of the Cartesi rollups node.

Parameters

No parameters required.

Response

{
"jsonrpc": "2.0",
"result": {
"data": "2.0.0"
},
"id": 1
}

Response Fields

NameTypeDescription
datastringThe semantic version of the Cartesi rollups node

Error Codes

CodeMessageDescription
-32603Internal errorAn internal error occurred
We use cookies to ensure that we give you the best experience on our website. By using the website, you agree to the use of cookies.