Solana RPC MethodsRemoved Methods

getFeeCalculatorForBlockhash (removed)

getFeeCalculatorForBlockhash combined a blockhash validity check with legacy fee-calculator data.

Removed RPC method

This method was removed in Agave v2.0. Its two purposes now use separate RPC methods.

Migration

  • To check whether a blockhash is still usable, call isBlockhashValid with that blockhash.
  • To calculate the fee for a transaction, compile its message with a recent blockhash and pass the base64-encoded message to getFeeForMessage.

There is no one-to-one replacement that returns a fee from a blockhash alone. Fees depend on the complete transaction message.

Is this page helpful?

Table of Contents

Edit Page
© 2026 Solana Foundation. All rights reserved.