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
specVersionincrements. - Track
transactionVersionto ensure signed payload formats remain compatible. - Archive nodes may report different
implNamevalues depending on the build—log them for auditability.