Solana RPC MethodsRemoved Methods

getRecentBlockhash (removed)

getRecentBlockhash returned a recent blockhash together with a legacy fee calculator.

Removed RPC method

This method was removed in Agave v2.0. Its blockhash and fee data now come from separate methods.

Migration

Use getLatestBlockhash for the current blockhash and lastValidBlockHeight. If you also need a fee estimate, compile the transaction message with that blockhash and call getFeeForMessage. The old fee-calculator response does not have a supported equivalent.

Is this page helpful?

Table of Contents

Edit Page
© 2026 Solana Foundation. All rights reserved.