~~Function: getPriorityFeeEstimate()~~
Function: getPriorityFeeEstimate()
function getPriorityFeeEstimate(connection, options): Promise<{
data: RecentPrioritizationFees[];
median: number;
}>;Defined in: general.ts:15
Fetch the recent prioritization fees from the RPC [getRecentPrioritizationFees] (https://solana.com/docs/rpc/http/getrecentprioritizationfees)
Parameters
| Parameter | Type | Description |
|---|---|---|
connection | Connection | The connection to the RPC |
options | GetPriorityFeeEstimateOptions | The options for the RPC |
Returns
Promise<{
data: RecentPrioritizationFees[];
median: number;
}>
The priority fee estimate
Deprecated
Not recommended for use because it provides a single number per slot to indicate the minimum priority fee amount.