This is the first release candidate for RPC 0.9. This spec is aimed at supporting new features of v0.14.0 of Starknet. The main changes are:
- Addition of new transaction statuses (
CANDIDATE
andPRE_CONFIRMED
) with softer finality thanACCEPTED_ON_L2
. - Removal of tx status
REJECTED
. - Renaming of block tag "pending" to "pre_confirmed" (as well as renaming the associated pending objects to “pre_confirmed”), as well as renaming all pending-related objects to pre_confirmed. The purpose of this renaming is clarity. Users will be able to poll for the "pre_confirmed" block in the same way as they poll for "pending" block: the main difference is that a pre_confirmed block contains txs with status
PRE_CONFIRMED
(softer finality thanACCEPTED_ON_L2
), while a pending block contains txs with statusACCEPTED_ON_L2
.