getRecentPrioritizationFees
, then derive the median fee and multiply it by a user-defined factor.getRecentPrioritizationFees
call from a Chainstack Solana node.
getRecentPrioritizationFees
the Chainstack Solana node1.1
will get us a 10% bump over the median; 3
will 3x the median, and so on./swap
Jupiter endpoint with our priority fee.1
will keep the median unchanged and use that as the priority fee.