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.