Skip to content

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

PropertyTypeDescription
accountAddresses?readonly Address[]Writable account addresses for fee estimation (max 128). When not set, RPC is called with none.
max?numberMaximum micro-lamports per compute unit.
min?numberMinimum micro-lamports per compute unit. Also used as fallback when dynamic fetch is empty or fails.
percentile?numberPercentile of recent fees to use (0–100). Default 50 when strategy not set
strategy?PriorityFeeStrategyStrategy preset (low/medium/high). Ignored if percentile is set.
type"dynamic"-