state_getRuntimeVersion – Mythos JSON-RPC Method
Returns the current runtime specification version, implementation version, transaction version, and supported API sets. Use this data to detect runtime upgrades and align client type registries.
Parameters
This method takes no parameters.
Returns
A structured object containing fields such as specName
, specVersion
, implVersion
, transactionVersion
, and the list of supported APIs.
Request Example
{
"jsonrpc": "2.0",
"method": "state_getRuntimeVersion",
"params": [],
"id": 1
}
Usage Tips
- Refresh type bundles when
specVersion
increments. - Track
transactionVersion
to ensure signed payload formats remain compatible. - Archive nodes may report different
implName
values depending on the build—log them for auditability.