Docs

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

Request

This method accepts no parameters.

Response Body

Response
resultOBJECT

Semver of Starknet's JSON-RPC spec being used JSON-RPC specification version (string)

Examples

Bash
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
  }'

On this page