Solana v2.0: Deprecated RPC Methods
NOTICE: The Solana v2.0 network upgrade has already been deployed to Mainnet. As part of this upgrade, several legacy JSON-RPC methods have been permanently removed. If your application still relies on any of the deprecated methods listed below, it will no longer function as expected. We strongly recommend auditing your codebase and updating to the supported successor methods immediately. These modern alternatives are fully live and supported across all nodes.
Deprecated Methods and Their Successors
The following table lists all RPC methods that will be removed in v2.0 and the new methods that should be used instead.
confirmTransaction
getSignatureStatuses
getSignatureStatus
getSignatureStatuses
getSignatureConfirmation
getSignatureStatuses
getConfirmedSignaturesForAddress
getSignaturesForAddress
getConfirmedSignaturesForAddress2
getSignaturesForAddress
getConfirmedBlock
getBlock
getConfirmedBlocks
getBlocks
getConfirmedBlocksWithLimit
getBlocksWithLimit
getConfirmedTransaction
getTransaction
getRecentBlockhash
getLatestBlockhash
getFees
getFeeForMessage
getFeeCalculatorForBlockhash
isBlockhashValid
or getFeeForMessage
getSnapshotSlot
getHighestSnapshotSlot
getStakeActivation
Use getAccountInfo
. See this guide for the alternative approach.
getTotalSupply
None. This method will be removed completely.
getFeeRateGovernor
None. This method will be removed completely.
Resources
Official Transition Guide: For more technical details, please refer to the Anza Agave v2.0 Transition Guide on GitHub.
If you have any questions or need assistance updating your application, please reach out to our support team.
Last updated
Was this helpful?