state_getRuntimeVersion
Description
Returns the current runtime version information including specVersion
and transactionVersion
. Monitor this to invalidate cached metadata/types after upgrades.
Code Example
curl -s https://api-acala.n.dwellir.com/YOUR_API_KEY \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"state_getRuntimeVersion","params":[]}'
Response Example (Oct 9, 2025)
{
"specName": "acala",
"implName": "acala",
"authoringVersion": 1,
"specVersion": 2300,
"implVersion": 0,
"transactionVersion": 3
}