Since metadata v14 and scale-info
were introduced, the runtime fully specifies all runtime interfaces and types. On the RPC side however the rpc_methods
only returns the list of methods exposed, without any type details for them. This basically means that a mapping from these names to actual definitions are maintained in various SDKs.
There is also a version flag in this RPC response so it must mean it is somehow upgradable.
So my question is: are there plans and/or ongoing work to make these fully described with parameters and return types ala metadata-v14-for-rpcs.