~~Function: getRecentPrioritizationFee()~~
Function: getRecentPrioritizationFee()
function getRecentPrioritizationFee(connection, options): Promise<RecentPrioritizationFees[]>;Defined in: general.ts:28
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 | Pick<GetPriorityFeeEstimateOptions, "accountsOrTx"> | The options for the RPC |
Returns
Promise<RecentPrioritizationFees[]>
The priority fee estimate
Deprecated
Not recommended for use because it provides a single number per slot to indicate the minimum priority fee amount.