starknet_specVersion - Returns the version...
Returns the version of the Starknet JSON-RPC specification being used
Returns the version of the Starknet JSON-RPC specification being used
Request Parameters
This method accepts no parameters.
Response Body
Semver of Starknet's JSON-RPC spec being used JSON-RPC specification version (string)
Examples
curl -X POST https://api-starknet-mainnet.n.dwellir.com/YOUR_API_KEY \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "starknet_specVersion",
"params": [],
"id": 1
}'