starknet_specVersion RPC Method
Parameters
This method does not accept any parameters
Returns
result
string
The semantic versioning specification (Semver) of Starknet's JSON-RPC spec being used
Request
1curl --location 'https://docs-demo.strk-mainnet.quiknode.pro/' \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '{5"id": 1,6"jsonrpc": "2.0",7"method": "starknet_specVersion",8"params": []9}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free