import {
  DocBlock,
  DocSideBySide,
  CodeParams,
  Parameter,
  Field,
  Values,
  CodeSnippets,
} from "../../../components/CodeDocBlock";

<DocBlock>

## getVersion

Returns the current Solana version running on the node

<DocSideBySide>
<CodeParams>

### Parameters:

**None**

### Result:

The result field will be a JSON object with the following fields:

- `solana-core` - software version of solana-core
- `feature-set` - unique identifier of the current software's feature set

</CodeParams>

<CodeSnippets>

### Code sample:

```bash
curl http://localhost:8899 -X POST -H "Content-Type: application/json" -d '
  {"jsonrpc":"2.0","id":1, "method":"getVersion"}
'
```

### Response:

```json
{ "jsonrpc": "2.0", "result": { "solana-core": "1.15.0" }, "id": 1 }
```

</CodeSnippets>
</DocSideBySide>
</DocBlock>
