Interface: PriorityFeesConfigDynamic
Dynamic priority fee: fetch recent prioritization fees from the RPC and use a percentile or strategy. Optional accountAddresses (writable accounts) can be passed for more accurate fees; defaults to SOL + USDC mints.
Properties
| Property | Type | Description |
|---|---|---|
accountAddresses? | readonly Address[] | Writable account addresses for fee estimation (max 128). When not set, RPC is called with none. |
max? | number | Maximum micro-lamports per compute unit. |
min? | number | Minimum micro-lamports per compute unit. Also used as fallback when dynamic fetch is empty or fails. |
percentile? | number | Percentile of recent fees to use (0–100). Default 50 when strategy not set |
strategy? | PriorityFeeStrategy | Strategy preset (low/medium/high). Ignored if percentile is set. |
type | "dynamic" | - |