Parameters
- last_n_blocksstring
(Optional) The number of blocks to look back to calculate averages (the maximum value is 100, and also the default is 100)
- accountstring
(Optional) The program account to use for the prioritization fee calculation
- api_versioninteger
(Optional) Specifies the version of the Solana Priority Fee API to use. Version 2 provides more accurately weighted priority fee data
Returns
- resultobject
The result object which contain the following objects:
- contextobject
The context object which contains the following fields:
- slotinteger
The current slot number
- recommendedinteger
Recommended per commute unit value to maximize chances of landing a transaction based on current network conditions. Sending non-duplicate transactions with recommended priority fees or higher will be routed through Quicknode's staked (SWQoS) connection.
- per_compute_unitobject
It provides estimates for priority fees (in microlamports) based on per-compute-unit metrics
- extremeinteger
Fee estimate for extreme priority per compute unit (90th percentile)
- highinteger
Fee estimate for high priority per compute unit (75th percentile)
- mediuminteger
Fee estimate for medium priority per compute unit (50th percentile)
- lowinteger
Fee estimate for low priority per compute unit (25th percentile)
- percentilesobject
Fee estimates at various percentiles for per-compute-unit metrics
- per_transactionobject
It provides estimates for priority fees based on per-transaction metrics
- extremeinteger
Fee estimate for extreme priority per transaction (90th percentile)
- highinteger
Fee estimate for high priority per transaction (75th percentile)
- mediuminteger
Fee estimate for medium priority per transaction (50th percentile)
- lowinteger
Fee estimate for low priority per transaction (25th percentile)
- percentilesobject
Fee estimates at various percentiles for per-transaction metrics
1{2"id": 1,3"jsonrpc": "2.0",4"result": {5"context": {6"slot": 3355017747},8"per_compute_unit": {9"extreme": 1432990,10"high": 615532,11"low": 36050,12"medium": 89430,13"percentiles": {14"0": 1,15"5": 2402,16"10": 9401,17"15": 12322,18"20": 21923,19"25": 36050,20"30": 38531,21"35": 40000,22"40": 51500,23"45": 66941,24"50": 89430,25"55": 142355,26"60": 277047,27"65": 387306,28"70": 515332,29"75": 615532,30"80": 653795,31"85": 877892,32"90": 1432990,33"95": 2778906,34"100": 1791637135}36},37"per_transaction": {38"extreme": 309996858926,39"high": 78616978104,40"low": 4999945143,41"medium": 19888064000,42"percentiles": {43"0": 120000,44"5": 499874760,45"10": 999958640,46"15": 1548200000,47"20": 3253218636,48"25": 4999945143,49"30": 6999918885,50"35": 8256257445,51"40": 9939500000,52"45": 16000000000,53"50": 19888064000,54"55": 30843970682,55"60": 53838500000,56"65": 75000030666,57"70": 75000149536,58"75": 78616978104,59"80": 96519726324,60"85": 155542584183,61"90": 309996858926,62"95": 500000830995,63"100": 2019500000000064}65},66"recommended": 87789267}68}
1{2"id": 1,3"jsonrpc": "2.0",4"result": {5"context": {6"slot": 3355017747},8"per_compute_unit": {9"extreme": 1432990,10"high": 615532,11"low": 36050,12"medium": 89430,13"percentiles": {14"0": 1,15"5": 2402,16"10": 9401,17"15": 12322,18"20": 21923,19"25": 36050,20"30": 38531,21"35": 40000,22"40": 51500,23"45": 66941,24"50": 89430,25"55": 142355,26"60": 277047,27"65": 387306,28"70": 515332,29"75": 615532,30"80": 653795,31"85": 877892,32"90": 1432990,33"95": 2778906,34"100": 1791637135}36},37"per_transaction": {38"extreme": 309996858926,39"high": 78616978104,40"low": 4999945143,41"medium": 19888064000,42"percentiles": {43"0": 120000,44"5": 499874760,45"10": 999958640,46"15": 1548200000,47"20": 3253218636,48"25": 4999945143,49"30": 6999918885,50"35": 8256257445,51"40": 9939500000,52"45": 16000000000,53"50": 19888064000,54"55": 30843970682,55"60": 53838500000,56"65": 75000030666,57"70": 75000149536,58"75": 78616978104,59"80": 96519726324,60"85": 155542584183,61"90": 309996858926,62"95": 500000830995,63"100": 2019500000000064}65},66"recommended": 87789267}68}