DocumentationAPICookbookToolkitGet Support
Solana RPC Methods
Data Structures as JSON
HTTP Methods
getAccountInfogetBalancegetBlockgetBlockCommitmentgetBlockHeightgetBlockProductiongetBlocksgetBlocksWithLimitgetBlockTimegetClusterNodesgetEpochInfogetEpochSchedulegetFeeForMessagegetFirstAvailableBlockgetGenesisHashgetHealthgetHighestSnapshotSlotgetIdentitygetInflationGovernorgetInflationRategetInflationRewardgetLargestAccountsgetLatestBlockhashgetLeaderSchedulegetMaxRetransmitSlotgetMaxShredInsertSlotgetMinimumBalanceForRentExemptiongetMultipleAccountsgetProgramAccountsgetRecentPerformanceSamplesgetRecentPrioritizationFeesgetSignaturesForAddressgetSignatureStatusesgetSlotgetSlotLeadergetSlotLeadersgetStakeMinimumDelegationgetSupplygetTokenAccountBalancegetTokenAccountsByDelegategetTokenAccountsByOwnergetTokenLargestAccountsgetTokenSupplygetTransactiongetTransactionCountgetVersiongetVoteAccountsisBlockhashValidminimumLedgerSlotrequestAirdropsendTransactionsimulateTransaction
Websocket Methods
Solana Documentation

getRecentBlockhash RPC Method

Returns a recent block hash from the ledger, and a fee schedule that can be used to compute the cost of submitting a transaction using it.

Deprecated Method

This method is expected to be removed in solana-core v2.0. Please use getLatestBlockhash instead.

Is this page helpful?

Previous

getFees

Next

getSignatureConfirmation

Managed by

© 2025 Solana Foundation. All rights reserved.
Solana
  • Grants
  • Break Solana
  • Media Kit
  • Careers
  • Disclaimer
  • Privacy Policy
Get Connected
  • Blog
  • Newsletter
© 2025 Solana Foundation. All rights reserved.