KSM
POST
GET
Last updated on January 1, 1970
2 min read
Method state_getRuntimeVersion undefined ()
connect with JSON-RPC protocol
state_getRuntimeVersion
Get the runtime version.
Parameters
at
- BlockHash
0x7e8691febbd7deeebcc48e4cdff335ce7c73c825b45661400fd9fea2fadee9b9
Request
curl --location --request POST 'https://ksm.getblock.io/mainnet/'
--header 'x-api-key: YOUR-API-KEY'
--header 'Content-Type: application/json'
--data-raw '{"jsonrpc": "2.0",
"method": "state_getRuntimeVersion",
"params": [null],
"id": "getblock.io"}'
Response
{
"id": "getblock.io",
"jsonrpc": "2.0",
"result": {
"apis": [
[
"0xdf6acb689907609b",
4
],
[
"0x37e397fc7c91f5e4",
2
],
[
"0x40fe3ad401f8959a",
6
]
],
"authoringVersion": 0,
"implName": "parity-polkadot",
"implVersion": 0,
"specName": "polkadot",
"specVersion": 9420,
"stateVersion": 0,
"transactionVersion": 23
}
}
Start Building with GetBlock RPCs for Free
Previous
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }
Next
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }