Starknet's JSON-RPC v0.8.0. This version is aimed to be supported by nodes after the Starknet upgrade to v0.13.4, although dapps can keep communicating with nodes over v0.7.0 (and above) of the specs. This version introduces various improvements, such as a websockets API, improved errors, and several methods that were requested by the community.
Note that v0.13.4 is the version in which the notion of l2_gas will be introduced. This version no longer speaks in terms of low-level resources such as Cairo steps or builtins.
What's Changed
- Add wallet_rpc spec for wallet<>dapp communication by @amanusk in #203
- Add .editorconfig and format files by @amanusk in #212
- Add flat event field kind by @prxgr4mm3r in #215
- Refactor execution resources to
(l1_gas, l2_gas, l1_data_gas)
terms & delete raw resources #216 #236 #228 - Improve the INSUFFICIENT_MAX_FEE error on the write-api #217
- Add failure reason in
getTransactionStatus
#218 - Add structure to execution errors #219
- Add
getMessageStatus
endpoint to track l1->l2 messages #223 - Introduce a new websocket api specs with various subscriptions (headers/events/pending txs/tx status) by @amanusk in #211
- Add
getStorageProof
endpoint #227 #232 #265 - Add the
starknet_getCompiledCasm
endpoint for fetching compiled classes #221 #247 - Ws socket errors by @amanusk in #238 #250
- Fix validation script after adding structured errors by @amanusk in #235
- Fix subscription reorg by @franciszekjob in #242
- Fix
keys
ref instarknet_subscribeEvents
by @franciszekjob in #243 - Refine compilation error in the write api by @ArielElp in #251
- Remove block_id from transaction status by @amanusk in #268
- Add is_reverted to internal calls within the trace by @ArielElp in #266
- Add ENTRYPOINT_NOT_FOUND error to starknet_call by @ArielElp in #267
- Remove old transaction support from the write api by @ArielElp in #269
- Remove option for pending from all subsriptions by @amanusk in #272
- Update inner-call resources description by @ArielElp in #273
- Revert entry point offset change by @ArielElp in #275
New Contributors
- @prxgr4mm3r made their first contribution in #215
- @savvar9991 made their first contribution in #264
- @tkstanczak made their first contribution in #124
Full Changelog: v0.7.1...v0.8.0