getFeeCalculatorForBlockhash RPC Method
Returns the fee calculator associated with the query blockhash, or null
if the
blockhash has expired
Deprecated Method
This method is expected to be removed in solana-core
v2.0. Please use
isBlockhashValid or
getFeeForMessage instead.
Parameters
string
required
query blockhash, as a base-58 encoded string
object
optional
Configuration object containing the following fields:
commitment string
optional
minContextSlot number
optional
The minimum slot that the request can be evaluated at
Result
The result will be an RpcResponse JSON object with value
equal to:
<null>
- if the query blockhash has expired; or<object>
- otherwise, a JSON object containing:feeCalculator: <object>
-FeeCalculator
object describing the cluster fee rate at the queried blockhash