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

getFees RPC Method

Returns a recent block hash from the ledger, a fee schedule that can be used to compute the cost of submitting a transaction using it, and the last slot in which the blockhash will be valid.

Deprecated Method

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

Is this page helpful?

Previous

getFeeRateGovernor

Next

getRecentBlockhash

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.