substrate-api-client icon indicating copy to clipboard operation
substrate-api-client copied to clipboard

Investigate: new JSON-RPC

Open Niederb opened this issue 1 year ago • 1 comments

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

Niederb avatar Apr 23 '24 08:04 Niederb

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?

haerdib avatar Nov 20 '24 09:11 haerdib