substrate-api-client
substrate-api-client copied to clipboard
Investigate: new JSON-RPC
Parity is working on a new JSON-RPC API. We should look into this and figure out if/how we want to support it.
- Old API: https://polkadot.js.org/docs/substrate/rpc/#author
- New API: https://paritytech.github.io/json-rpc-interface-spec/introduction.html
Questions:
- Are there concrete plans to deprecate the old API?
- Is there a replacement to all calls we need?
Some links/references:
- https://forum.polkadot.network/t/new-json-rpc-api-mega-q-a/3048
- https://github.com/paritytech/json-rpc-interface-spec/pull/147
- https://forum.polkadot.network/t/polkadot-api-2023-q4-update/5318
We already support some of the newer API Functions. The question for this task to answer:
- [ ] Which old JSON RPC functions can we deprecate?
- [ ] Which new API function should we implement?
- [ ] Are there any plans published from parity / an issue which we can track the progress?