Last updated 17 days ago
at - BlockHash
at
0x7e8691febbd7deeebcc48e4cdff335ce7c73c825b45661400fd9fea2fadee9b9
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' \ --header 'Content-Type: application/json' \ --data-raw '{"jsonrpc": "2.0", "method": "state_getRuntimeVersion", "params": [null], "id": "getblock.io"}'
{ "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 } }
Example code for the state_getRuntimeVersion json-rpc method. Сomplete guide on how to use state_getRuntimeVersion json-rpc in GetBlock.io Web3 documentation.