Appearance
engine_getClientVersionV1
served
Exchanges client name and version with the consensus client.
Returns a list with one entry for Cinder. The consensus client may send its own version in the first parameter. The code does not read it.
For consensus clients only
The consensus client calls this method on the authenticated Engine API port, with the JWT secret. Applications and wallets do not call it.
INFO
This page is generated from the specification. The text comes from the OpenRPC description of the method.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
clientVersion | ClientVersion | no | The version of the consensus client. Cinder does not read it. |
Returns
ClientVersion[]: result
Live example
No live example: this method needs the JWT secret on the authenticated port.
Specification
More: engine_getClientVersionV1.
Schema (OpenRPC)
Parameter clientVersion: ClientVersion
json
{
"title": "Client version",
"type": "object",
"properties": {
"code": {
"type": "string"
},
"name": {
"type": "string"
},
"version": {
"type": "string"
},
"commit": {
"title": "hex encoded bytes",
"type": "string",
"pattern": "^0x[0-9a-f]*$"
}
}
}Result: ClientVersion[]
json
{
"type": "array",
"items": {
"title": "Client version",
"type": "object",
"properties": {
"code": {
"type": "string"
},
"name": {
"type": "string"
},
"version": {
"type": "string"
},
"commit": {
"title": "hex encoded bytes",
"type": "string",
"pattern": "^0x[0-9a-f]*$"
}
}
}
}